Improve contrast of built-in themes by leveraging Oklch
This commit is contained in:
parent
148fc77b8f
commit
0857eb3bde
28 changed files with 124 additions and 116 deletions
|
|
@ -718,13 +718,13 @@ pub fn subtle(theme: &Theme, status: Status) -> Style {
|
|||
Status::Active => base,
|
||||
Status::Pressed => Style {
|
||||
background: Some(Background::Color(
|
||||
palette.background.strongest.color,
|
||||
palette.background.strong.color,
|
||||
)),
|
||||
..base
|
||||
},
|
||||
Status::Hovered => Style {
|
||||
background: Some(Background::Color(
|
||||
palette.background.strong.color,
|
||||
palette.background.weaker.color,
|
||||
)),
|
||||
..base
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue