|
1 | 1 | /* GTK NAMED COLORS ---------------- use responsibly! */
|
2 |
| -@define-color accent_bg_color @blue_3; |
3 |
| -@define-color accent_fg_color white; |
4 |
| -@define-color accent_color #78aeed; |
5 | 2 | @define-color destructive_bg_color @red_4;
|
6 | 3 | @define-color destructive_fg_color white;
|
7 |
| -@define-color destructive_color #ff7b63; |
8 | 4 | @define-color success_bg_color @green_5;
|
9 | 5 | @define-color success_fg_color white;
|
10 |
| -@define-color success_color @green_1; |
11 | 6 | @define-color warning_bg_color #cd9309;
|
12 |
| -@define-color warning_fg_color rgba(0, 0, 0, 0.8); |
13 |
| -@define-color warning_color @yellow_2; |
| 7 | +@define-color warning_fg_color RGB(0 0 0 / 80%); |
14 | 8 | @define-color error_bg_color @red_4;
|
15 | 9 | @define-color error_fg_color white;
|
16 |
| -@define-color error_color #ff7b63; |
| 10 | +@define-color accent_color oklab(from @accent_bg_color max(l, 0.85) a b); |
| 11 | +@define-color destructive_color oklab(from @destructive_bg_color max(l, 0.85) a b); |
| 12 | +@define-color success_color oklab(from @success_bg_color max(l, 0.85) a b); |
| 13 | +@define-color warning_color oklab(from @warning_bg_color max(l, 0.85) a b); |
| 14 | +@define-color error_color oklab(from @error_bg_color max(l, 0.85) a b); |
17 | 15 | @define-color window_bg_color #242424;
|
18 | 16 | @define-color window_fg_color white;
|
19 | 17 | @define-color view_bg_color #1e1e1e;
|
|
22 | 20 | @define-color headerbar_fg_color white;
|
23 | 21 | @define-color headerbar_border_color white;
|
24 | 22 | @define-color headerbar_backdrop_color @window_bg_color;
|
25 |
| -@define-color headerbar_shade_color rgba(0, 0, 0, 0.36); |
26 |
| -@define-color headerbar_darker_shade_color rgba(0, 0, 0, 0.9); |
| 23 | +@define-color headerbar_shade_color RGB(0 0 0/36%); |
| 24 | +@define-color headerbar_darker_shade_color RGB(0 0 0/90%); |
27 | 25 | @define-color sidebar_bg_color #303030;
|
28 | 26 | @define-color sidebar_fg_color white;
|
29 | 27 | @define-color sidebar_backdrop_color #2a2a2a;
|
30 |
| -@define-color sidebar_shade_color rgba(0, 0, 0, 0.25); |
31 |
| -@define-color sidebar_border_color rgba(0, 0, 0, 0.36); |
| 28 | +@define-color sidebar_shade_color RGB(0 0 0/25%); |
| 29 | +@define-color sidebar_border_color RGB(0 0 0/36%); |
32 | 30 | @define-color secondary_sidebar_bg_color #2a2a2a;
|
33 | 31 | @define-color secondary_sidebar_fg_color white;
|
34 | 32 | @define-color secondary_sidebar_backdrop_color #272727;
|
35 |
| -@define-color secondary_sidebar_shade_color rgba(0, 0, 0, 0.25); |
36 |
| -@define-color secondary_sidebar_border_color rgba(0, 0, 0, 0.36); |
37 |
| -@define-color card_bg_color rgba(255, 255, 255, 0.08); |
| 33 | +@define-color secondary_sidebar_shade_color RGB(0 0 0/25%); |
| 34 | +@define-color secondary_sidebar_border_color RGB(0 0 0/36%); |
| 35 | +@define-color card_bg_color RGB(255 255 255/8%); |
38 | 36 | @define-color card_fg_color white;
|
39 |
| -@define-color card_shade_color rgba(0, 0, 0, 0.36); |
| 37 | +@define-color card_shade_color RGB(0 0 0/36%); |
40 | 38 | @define-color dialog_bg_color #383838;
|
41 | 39 | @define-color dialog_fg_color white;
|
42 | 40 | @define-color popover_bg_color #383838;
|
43 | 41 | @define-color popover_fg_color white;
|
44 |
| -@define-color popover_shade_color rgba(0, 0, 0, 0.25); |
| 42 | +@define-color popover_shade_color RGB(0 0 0/25%); |
45 | 43 | @define-color thumbnail_bg_color #383838;
|
46 | 44 | @define-color thumbnail_fg_color white;
|
47 |
| -@define-color shade_color rgba(0, 0, 0, 0.25); |
48 |
| -@define-color scrollbar_outline_color rgba(0, 0, 0, 0.5); |
| 45 | +@define-color shade_color RGB(0 0 0/25%); |
| 46 | +@define-color scrollbar_outline_color RGB(0 0 0/95%); |
| 47 | +:root { --standalone-color-oklab: max(l, 0.85) a b; --accent-color: oklab(from var(--accent-bg-color) var(--standalone-color-oklab)); --destructive-color: oklab(from var(--destructive-bg-color) var(--standalone-color-oklab)); --success-color: oklab(from var(--success-bg-color) var(--standalone-color-oklab)); --warning-color: oklab(from var(--warning-bg-color) var(--standalone-color-oklab)); --error-color: oklab(from var(--error-bg-color) var(--standalone-color-oklab)); } |
49 | 48 | @import '../gtk-3.0/libadwaita.css';
|
50 | 49 | @import '../gtk-3.0/libadwaita-tweaks.css';
|
0 commit comments