Skip to content

Commit 77cea87

Browse files
committed
chore: revert overridden starter config changes
1 parent a8e2798 commit 77cea87

File tree

4 files changed

+71
-8
lines changed

4 files changed

+71
-8
lines changed

resources/starter/styles.css

Lines changed: 65 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,67 @@
44
*/
55
@import 'https://www.nerdfonts.com/assets/css/webfont.css';
66

7+
:root {
8+
--text-size: 12px;
9+
--icon-size: 12px;
10+
11+
--text-color-light: rgba(0 0 0 / 95%);
12+
--text-color-dark: rgba(255 255 255 / 95%);
13+
14+
--icon-color-light: LightSteelBlue;
15+
--icon-color-dark: rgba(115 130 175 / 95%);
16+
17+
--background-color-light: rgba(238 238 238 / 90%);
18+
--background-color-dark: linear-gradient(
19+
rgb(0 0 0 / 90%),
20+
rgb(5 2 20 / 85%)
21+
);
22+
}
23+
24+
@media (prefers-color-scheme: light) {
25+
body {
26+
color: var(--text-color-light);
27+
}
28+
29+
i {
30+
color: var(--icon-color-light);
31+
}
32+
33+
#root {
34+
background: var(--background-color-light);
35+
}
36+
}
37+
38+
@media (prefers-color-scheme: dark) {
39+
body {
40+
color: var(--text-color-dark);
41+
}
42+
43+
i {
44+
color: var(--icon-color-dark);
45+
}
46+
47+
#root {
48+
background: var(--background-color-dark);
49+
}
50+
}
51+
752
i {
8-
color: rgb(115 130 175 / 95%);
953
margin-right: 7px;
54+
font-size: var(--icon-size);
1055
}
1156

1257
body {
13-
color: rgb(255 255 255 / 90%);
1458
font-family: ui-monospace, monospace;
15-
font-size: 12px;
59+
font-size: var(--text-size);
60+
overflow: hidden;
61+
}
62+
63+
div,
64+
span,
65+
p {
66+
cursor: default;
67+
user-select: none;
1668
}
1769

1870
html,
@@ -23,7 +75,6 @@ body,
2375

2476
#root {
2577
border-bottom: 1px solid rgb(255 255 255 / 5%);
26-
background: linear-gradient(rgb(0 0 0 / 90%), rgb(5 2 20 / 85%));
2778
}
2879

2980
.app {
@@ -52,6 +103,7 @@ body,
52103
.logo,
53104
.binding-mode,
54105
.tiling-direction,
106+
.paused-button,
55107
.network,
56108
.memory,
57109
.cpu,
@@ -84,7 +136,8 @@ body,
84136
}
85137

86138
.binding-mode,
87-
.tiling-direction {
139+
.tiling-direction,
140+
.paused-button {
88141
background: rgb(255 255 255 / 15%);
89142
color: rgb(255 255 255 / 90%);
90143
border-radius: 2px;
@@ -102,9 +155,13 @@ body,
102155
color: #900029;
103156
}
104157

158+
.battery {
159+
position: relative;
160+
}
161+
105162
.battery .charging-icon {
106163
position: absolute;
107-
font-size: 11px;
108-
left: 7px;
109-
top: 2px;
164+
font-size: 7px;
165+
left: -8px;
166+
top: 3px;
110167
}

resources/starter/vanilla.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
switch (networkOutput.defaultInterface?.type) {
4949
case 'ethernet':
5050
return <i className="nf nf-md-ethernet_cable"></i>;
51+
case 'proprietary_virtual':
52+
return <i className="nf nf-md-shield_lock_outline"></i>;
5153
case 'wifi':
5254
if (networkOutput.defaultGateway?.signalStrength >= 80) {
5355
return <i className="nf nf-md-wifi_strength_4"></i>;

resources/starter/with-glazewm.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
switch (networkOutput.defaultInterface?.type) {
5050
case 'ethernet':
5151
return <i className="nf nf-md-ethernet_cable"></i>;
52+
case 'proprietary_virtual':
53+
return <i className="nf nf-md-shield_lock_outline"></i>;
5254
case 'wifi':
5355
if (networkOutput.defaultGateway?.signalStrength >= 80) {
5456
return <i className="nf nf-md-wifi_strength_4"></i>;

resources/starter/with-komorebi.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
switch (networkOutput.defaultInterface?.type) {
5050
case 'ethernet':
5151
return <i className="nf nf-md-ethernet_cable"></i>;
52+
case 'proprietary_virtual':
53+
return <i className="nf nf-md-shield_lock_outline"></i>;
5254
case 'wifi':
5355
if (networkOutput.defaultGateway?.signalStrength >= 80) {
5456
return <i className="nf nf-md-wifi_strength_4"></i>;

0 commit comments

Comments
 (0)