-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheww.scss
115 lines (95 loc) · 2.84 KB
/
eww.scss
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
* { all: unset }
@import "themes/base16.scss";
// global vars -----------------------------------------------------------------
$text-font: "Hack Nerd Font",
"Source Han Sans JP",
"Font Awesome 6 Free Solid",
"FontAwesome",
"Roboto";
$icon-font: "Font Awesome 6 Free Solid";
$accent-color: $base0A;
$accent-line-width: 2px;
$indicator-line-width: 3px;
$toggle-width: 30px;
$toggle-gap: 3px;
$transition-duration: .35s;
// global styles ===============================================================
.main-bar,
.second-bar,
.powermenu-panel {
background-color: rgba($base00, 0.2);
}
.icon,
.workspaces button { font: 12pt $icon-font }
.black { color: $base00; }
.gray { color: $base04; }
.white { color: $base07; }
.red, .state-urgent { color: $base08; }
.orange { color: $base09; }
.yellow, .state-warning { color: $base0A; }
.green, .state-good { color: $base0B; }
.cyan { color: $base0C; }
.blue { color: $base0D; }
.purple { color: $base0E; }
.special { color: $base0F; }
.shutdown { color: $base08; }
.reboot { color: $base0A; }
.suspend { color: $base0D; }
.lock-screen { color: $base0C; }
.log-out { color: $base0B; }
.shutdown,
.reboot,
.suspend,
.lock-screen,
.log-out {
font-size: 14pt;
}
// button ----------------------------------------------------------------------
button.string {
font-family: $text-font;
font-size: 12pt;
padding: 7px 20px;
border-radius: 1.5rem;
}
button.fill {
color: $base02;
background-color: rgba($accent-color, 0.8);
}
button.outline {
color: $accent-color;
border: 2px solid rgba($accent-color, 0.8);
}
button:hover {
transition-duration: $transition-duration;
}
// checkbox --------------------------------------------------------------------
checkbutton {
background-color: rgba($base04, 0.5);
border-radius: 1.5rem;
transition-duration: $transition-duration;
check {
color: transparent;
background-color: rgba($base02, 0.8);
padding: 5px;
border-radius: 1.5rem;
margin: $toggle-gap $toggle-width $toggle-gap $toggle-gap;
transition-duration: $transition-duration;
}
}
checkbutton:indeterminate {
check {
margin: $toggle-gap $toggle-width/2 $toggle-gap $toggle-width/2;
}
}
checkbutton:checked {
background-color: rgba($accent-color, 0.8);
check {
background-color: shade($accent-color, 0.5);
margin: $toggle-gap $toggle-gap $toggle-gap $toggle-width;
}
}
// imports ---------------------------------------------------------------------
@import "modules/_style.scss";
@import "modules/templates/_style.scss";
@import "panels/_style.scss";
@import "panels/status-bars/_style.scss";