Style project shared notifications

This commit is contained in:
Antonio Scandurra
2022-10-10 14:37:51 +02:00
parent 9d990ae329
commit 7cfe435e62
4 changed files with 98 additions and 30 deletions
+6
View File
@@ -471,8 +471,14 @@ pub struct UpdateNotification {
#[derive(Deserialize, Default)]
pub struct ProjectSharedNotification {
#[serde(default)]
pub background: Color,
pub owner_container: ContainerStyle,
pub owner_avatar: ImageStyle,
pub owner_metadata: ContainerStyle,
pub owner_username: ContainedText,
pub message: ContainedText,
pub button_width: f32,
pub join_button: ContainedText,
pub dismiss_button: ContainedText,
}