Improve contrast of built-in themes by leveraging Oklch

This commit is contained in:
Héctor Ramón Jiménez 2025-08-05 09:21:57 +02:00
parent 148fc77b8f
commit 0857eb3bde
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
28 changed files with 124 additions and 116 deletions

View file

@ -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),
}
}