Differentiate secondary color from primary
This commit is contained in:
parent
af3125842d
commit
53c059bf88
26 changed files with 70 additions and 45 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue