Skip to content

Commit 91aac01

Browse files
author
GitHub-Actions
committed
Update gtk4 theme
1 parent 7be28ee commit 91aac01

File tree

5 files changed

+771
-811
lines changed

5 files changed

+771
-811
lines changed
+18-19
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
/* 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;
52
@define-color destructive_bg_color @red_4;
63
@define-color destructive_fg_color white;
7-
@define-color destructive_color #ff7b63;
84
@define-color success_bg_color @green_5;
95
@define-color success_fg_color white;
10-
@define-color success_color @green_1;
116
@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%);
148
@define-color error_bg_color @red_4;
159
@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);
1715
@define-color window_bg_color #242424;
1816
@define-color window_fg_color white;
1917
@define-color view_bg_color #1e1e1e;
@@ -22,29 +20,30 @@
2220
@define-color headerbar_fg_color white;
2321
@define-color headerbar_border_color white;
2422
@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%);
2725
@define-color sidebar_bg_color #303030;
2826
@define-color sidebar_fg_color white;
2927
@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%);
3230
@define-color secondary_sidebar_bg_color #2a2a2a;
3331
@define-color secondary_sidebar_fg_color white;
3432
@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%);
3836
@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%);
4038
@define-color dialog_bg_color #383838;
4139
@define-color dialog_fg_color white;
4240
@define-color popover_bg_color #383838;
4341
@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%);
4543
@define-color thumbnail_bg_color #383838;
4644
@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)); }
4948
@import '../gtk-3.0/libadwaita.css';
5049
@import '../gtk-3.0/libadwaita-tweaks.css';

gtk/src/adw-gtk3-dark/gtk-4.0/gtk.css

+18-19
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
/* 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;
52
@define-color destructive_bg_color @red_4;
63
@define-color destructive_fg_color white;
7-
@define-color destructive_color #ff7b63;
84
@define-color success_bg_color @green_5;
95
@define-color success_fg_color white;
10-
@define-color success_color @green_1;
116
@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%);
148
@define-color error_bg_color @red_4;
159
@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);
1715
@define-color window_bg_color #242424;
1816
@define-color window_fg_color white;
1917
@define-color view_bg_color #1e1e1e;
@@ -22,29 +20,30 @@
2220
@define-color headerbar_fg_color white;
2321
@define-color headerbar_border_color white;
2422
@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%);
2725
@define-color sidebar_bg_color #303030;
2826
@define-color sidebar_fg_color white;
2927
@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%);
3230
@define-color secondary_sidebar_bg_color #2a2a2a;
3331
@define-color secondary_sidebar_fg_color white;
3432
@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%);
3836
@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%);
4038
@define-color dialog_bg_color #383838;
4139
@define-color dialog_fg_color white;
4240
@define-color popover_bg_color #383838;
4341
@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%);
4543
@define-color thumbnail_bg_color #383838;
4644
@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)); }
4948
@import '../gtk-3.0/libadwaita.css';
5049
@import '../gtk-3.0/libadwaita-tweaks.css';

0 commit comments

Comments
 (0)