-
Notifications
You must be signed in to change notification settings - Fork 12
/
gtk.css
84 lines (69 loc) · 2.06 KB
/
gtk.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/*
Dracula theme for libadwaita
and adw-gtk3 - https://github.com/lassekongo83/adw-gtk3
Colors from - https://draculatheme.com
1. If ~/.config/gtk-4.0/gtk.css and/or ~/.config/gtk-3.0/gtk.css exists, make backups
2. Enable the adw-gtk3-dark theme
3. Save this file to ~/.config/gtk-4.0/gtk.css
4. Make the file a symbolic link to ~/.config/gtk-3.0/gtk.css (or copy it to that location)
5. Close and re-open any open apps or log out and in again
*/
/* Global color definitions */
@define-color window_bg_color #1e1f29;
@define-color window_fg_color #f8f8f2;
@define-color view_bg_color #282a36;
@define-color view_fg_color @window_fg_color;
@define-color accent_bg_color #bd93f9;
@define-color accent_color @accent_bg_color;
@define-color headerbar_bg_color @window_bg_color;
@define-color headerbar_fg_color @window_fg_color;
@define-color popover_bg_color #44475a;
@define-color popover_fg_color @view_fg_color;
@define-color dialog_bg_color @popover_bg_color;
@define-color dialog_fg_color @popover_fg_color;
@define-color card_bg_color rgba(255, 255, 255, 0.08);
@define-color card_fg_color @window_fg_color;
/* More customizations */
button.titlebutton { /* GTK3 */
color: transparent;
min-width: 18px;
min-height: 18px;
}
button.titlebutton:backdrop {
opacity: 0.5;
}
windowcontrols > button { /* GTK4 */
color: transparent;
min-width: 18px;
min-height: 18px;
border-radius: 100%;
padding: 0;
margin: 0 5px;
}
windowcontrols > button > image {
padding: 0;
}
button.titlebutton.close,
windowcontrols > button.close {
background-color: #ff5555;
}
button.titlebutton.close:hover,
windowcontrols > button.close:hover {
background-color: #ffa2a2;
}
button.titlebutton.maximize,
windowcontrols > button.maximize {
background-color: #50fa7b;
}
button.titlebutton.maximize:hover,
windowcontrols > button.maximize:hover {
background-color: #9afcb3;
}
button.titlebutton.minimize,
windowcontrols > button.minimize {
background-color: #ffb86c;
}
button.titlebutton.minimize:hover,
windowcontrols > button.minimize:hover {
background-color: #ffddb9;
}