Skip to main content

max / alloy_tui

2.7 KB · 68 lines History Blame Raw
1 /*
2 * Alloy GTK 3 palette patch — layered over adw-gtk3
3 *
4 * Same @define-color set as gtk-4.0/gtk.css. adw-gtk3 exposes the
5 * libadwaita-named tokens even in GTK 3, so this file mirrors the
6 * GTK 4 patch verbatim. Keep them in sync — do not diverge.
7 */
8
9 @define-color alloy_surface_sunken #cfc4b6;
10 @define-color alloy_surface #e4ded6;
11 @define-color alloy_surface_raised #ede7de;
12 @define-color alloy_surface_overlay #f0ece4;
13 @define-color alloy_border_subtle #dad2c7;
14 @define-color alloy_border #cabeae;
15 @define-color alloy_border_strong #7f786d;
16 @define-color alloy_text_muted #514b45;
17 @define-color alloy_text_secondary #222d38;
18 @define-color alloy_text_primary #1a1816;
19 @define-color alloy_accent_error #6a2828;
20 @define-color alloy_accent_warn #b07840;
21 @define-color alloy_accent_ok #3a5830;
22
23 @define-color window_bg_color @alloy_surface;
24 @define-color window_fg_color @alloy_text_primary;
25
26 @define-color view_bg_color @alloy_surface_raised;
27 @define-color view_fg_color @alloy_text_primary;
28
29 @define-color headerbar_bg_color @alloy_surface_raised;
30 @define-color headerbar_fg_color @alloy_text_primary;
31 @define-color headerbar_border_color @alloy_border_subtle;
32 @define-color headerbar_backdrop_color @alloy_surface;
33 @define-color headerbar_shade_color rgba(48, 44, 34, 0.06);
34
35 @define-color sidebar_bg_color @alloy_surface_sunken;
36 @define-color sidebar_fg_color @alloy_text_primary;
37 @define-color sidebar_backdrop_color @alloy_surface;
38 @define-color sidebar_shade_color rgba(48, 44, 34, 0.06);
39
40 @define-color card_bg_color @alloy_surface_raised;
41 @define-color card_fg_color @alloy_text_primary;
42 @define-color card_shade_color rgba(48, 44, 34, 0.06);
43
44 @define-color popover_bg_color @alloy_surface_overlay;
45 @define-color popover_fg_color @alloy_text_primary;
46
47 @define-color accent_bg_color @alloy_accent_warn;
48 @define-color accent_fg_color #ffffff;
49 @define-color accent_color @alloy_accent_warn;
50
51 @define-color destructive_bg_color @alloy_accent_error;
52 @define-color destructive_fg_color #ffffff;
53 @define-color destructive_color @alloy_accent_error;
54
55 @define-color success_bg_color @alloy_accent_ok;
56 @define-color success_fg_color #ffffff;
57 @define-color success_color @alloy_accent_ok;
58
59 @define-color warning_bg_color @alloy_accent_warn;
60 @define-color warning_fg_color @alloy_text_primary;
61 @define-color warning_color @alloy_accent_warn;
62
63 @define-color error_bg_color @alloy_accent_error;
64 @define-color error_fg_color #ffffff;
65 @define-color error_color @alloy_accent_error;
66
67 @define-color borders alpha(@alloy_text_primary, 0.15);
68