Differentiate secondary color from primary

This commit is contained in:
Héctor Ramón Jiménez 2025-08-06 19:37:14 +02:00
parent af3125842d
commit 53c059bf88
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
26 changed files with 70 additions and 45 deletions

View file

@ -571,7 +571,7 @@ pub fn primary(theme: &Theme, status: Status) -> Style {
),
Status::Disabled { is_checked } => styled(
palette.background.weak.color,
palette.background.weak,
palette.background.weaker,
palette.primary.base.text,
palette.background.strong,
is_checked,

View file

@ -580,7 +580,7 @@ pub fn default(theme: &Theme, status: Status) -> Style {
palette.background.weak.color
}
}
Status::Disabled => palette.background.base.color,
Status::Disabled => palette.background.weakest.color,
};
Style {