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
|
|
@ -441,7 +441,7 @@ pub fn primary(theme: &Theme) -> Style {
|
|||
/// Text conveying some secondary information, like a footnote.
|
||||
pub fn secondary(theme: &Theme) -> Style {
|
||||
Style {
|
||||
color: Some(theme.extended_palette().secondary.strong.color),
|
||||
color: Some(theme.extended_palette().secondary.base.color),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue