update theme

This commit is contained in:
2026-10-08 13:55:23 +07:00
parent f54f5f35a8
commit 16cd0ae903
14 changed files with 49 additions and 64 deletions
+3
View File
@@ -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),