update theme
This commit is contained in:
@@ -14,6 +14,8 @@ fn hsla(color: Color) -> Hsla {
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct ResolvedAccentRoles {
|
||||
pub primary: Hsla,
|
||||
/// Accent for strokes, icons, and text on the background; meets 3:1 contrast.
|
||||
pub strong: Hsla,
|
||||
pub wash: Hsla,
|
||||
pub on: Hsla,
|
||||
pub selection: Hsla,
|
||||
@@ -32,6 +34,7 @@ impl ResolvedAccentRoles {
|
||||
let wash_background = accent.wash.blend_over(background);
|
||||
Self {
|
||||
primary: hsla(accent.primary),
|
||||
strong: hsla(accent.strong),
|
||||
wash: hsla(accent.wash),
|
||||
on: hsla(accent.on),
|
||||
selection: hsla(accent.selection),
|
||||
|
||||
Reference in New Issue
Block a user