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
|
|
@ -1423,7 +1423,7 @@ pub fn default(theme: &Theme, status: Status) -> Style {
|
|||
color: palette.background.strong.color,
|
||||
},
|
||||
icon: palette.background.weak.text,
|
||||
placeholder: palette.background.strong.color,
|
||||
placeholder: palette.secondary.base.color,
|
||||
value: palette.background.base.text,
|
||||
selection: palette.primary.weak.color,
|
||||
};
|
||||
|
|
@ -1447,6 +1447,7 @@ pub fn default(theme: &Theme, status: Status) -> Style {
|
|||
Status::Disabled => Style {
|
||||
background: Background::Color(palette.background.weak.color),
|
||||
value: active.placeholder,
|
||||
placeholder: palette.background.strongest.color,
|
||||
..active
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue