/* * Alloy GTK 4 palette patch * * Applied over adw-gtk3 (or plain libadwaita in GTK 4 apps that use it * directly). Overrides libadwaita's named color tokens with Alloy's * default light theme (Akari Dawn). Chrome stays warm and muted; only * the information colors (success/warning/error) actually pop. * * Palette source of truth: makeover's themes/akari-dawn.toml. * Derivation rules (border-subtle, border-strong): docs/TOKENS.md. * * Dark-mode variant deferred — ship the light patch first, add * @media (prefers-color-scheme: dark) overrides when needed. */ /* ------------------------------------------------------------------- * Palette (approximated hex from OKLCH) * ------------------------------------------------------------------- */ @define-color alloy_surface_sunken #cfc4b6; @define-color alloy_surface #e4ded6; @define-color alloy_surface_raised #ede7de; @define-color alloy_surface_overlay #f0ece4; @define-color alloy_border_subtle #dad2c7; @define-color alloy_border #cabeae; @define-color alloy_border_strong #7f786d; @define-color alloy_text_muted #514b45; @define-color alloy_text_secondary #222d38; @define-color alloy_text_primary #1a1816; @define-color alloy_accent_error #6a2828; @define-color alloy_accent_warn #b07840; @define-color alloy_accent_ok #3a5830; /* ------------------------------------------------------------------- * libadwaita chrome — window, view, dialog, headerbar, sidebar, card * ------------------------------------------------------------------- */ @define-color window_bg_color @alloy_surface; @define-color window_fg_color @alloy_text_primary; @define-color view_bg_color @alloy_surface_raised; @define-color view_fg_color @alloy_text_primary; @define-color headerbar_bg_color @alloy_surface_raised; @define-color headerbar_fg_color @alloy_text_primary; @define-color headerbar_border_color @alloy_border_subtle; @define-color headerbar_backdrop_color @alloy_surface; @define-color headerbar_shade_color rgba(48, 44, 34, 0.06); @define-color headerbar_darker_shade_color rgba(48, 44, 34, 0.09); @define-color sidebar_bg_color @alloy_surface_sunken; @define-color sidebar_fg_color @alloy_text_primary; @define-color sidebar_backdrop_color @alloy_surface; @define-color sidebar_shade_color rgba(48, 44, 34, 0.06); @define-color sidebar_border_color @alloy_border_subtle; @define-color secondary_sidebar_bg_color @alloy_surface; @define-color secondary_sidebar_fg_color @alloy_text_primary; @define-color secondary_sidebar_backdrop_color @alloy_surface_sunken; @define-color secondary_sidebar_shade_color rgba(48, 44, 34, 0.06); @define-color secondary_sidebar_border_color @alloy_border_subtle; @define-color card_bg_color @alloy_surface_raised; @define-color card_fg_color @alloy_text_primary; @define-color card_shade_color rgba(48, 44, 34, 0.06); @define-color popover_bg_color @alloy_surface_overlay; @define-color popover_fg_color @alloy_text_primary; @define-color popover_shade_color rgba(48, 44, 34, 0.06); @define-color dialog_bg_color @alloy_surface; @define-color dialog_fg_color @alloy_text_primary; @define-color thumbnail_bg_color @alloy_surface_raised; @define-color thumbnail_fg_color @alloy_text_primary; @define-color shade_color rgba(48, 44, 34, 0.06); @define-color scrollbar_outline_color @alloy_border_subtle; /* ------------------------------------------------------------------- * Semantic — accent (chrome), destructive, success, warning, error * ------------------------------------------------------------------- */ @define-color accent_bg_color @alloy_accent_warn; @define-color accent_fg_color #ffffff; @define-color accent_color @alloy_accent_warn; @define-color destructive_bg_color @alloy_accent_error; @define-color destructive_fg_color #ffffff; @define-color destructive_color @alloy_accent_error; @define-color success_bg_color @alloy_accent_ok; @define-color success_fg_color #ffffff; @define-color success_color @alloy_accent_ok; @define-color warning_bg_color @alloy_accent_warn; @define-color warning_fg_color @alloy_text_primary; @define-color warning_color @alloy_accent_warn; @define-color error_bg_color @alloy_accent_error; @define-color error_fg_color #ffffff; @define-color error_color @alloy_accent_error; /* ------------------------------------------------------------------- * Borders (libadwaita's borders alpha token) * ------------------------------------------------------------------- */ @define-color borders alpha(@alloy_text_primary, 0.15);