22@import "zig-theme.css" ;
33
44: root {
5- --background : hsl (0 , 0% , 10% );
65 --button-background : hsl (40 , 75% , 40% );
76 --output-background : hsl (0 , 0% , 90% );
87 --footer-background : hsl (0 , 0% , 95% );
98 --footer-text : black;
109 --output-text : black;
11- --resizer-color : hsl (0 , 0% , 80% );
10+ --resizer-color : hsl (0 , 0% , 20% );
11+ --resizer-pivot-color : hsl (0 , 0% , 100% );
1212
13- --output-zig-background : hsl (37 , 20% , 25% );
13+ --output-zig-outdated- background : hsl (37 , 20% , 25% );
1414 --output-zig-latest-background : hsl (37 , 40% , 80% );
15- --output-runner-background : hsl (200 , 15% , 25% );
15+ --output-runner-outdated- background : hsl (200 , 15% , 25% );
1616 --output-runner-latest-background : hsl (200 , 30% , 80% );
17+ --output-outdated-text : hsl (0 , 0% , 60% );
18+ --output-latest-text : hsl (0 , 0% , 0% );
1719
1820 --tooltip-background : hsl (0 , 0% , 100% );
1921 --tooltip-text : hsl (0 , 0% , 0% );
2426
2527@media (prefers-color-scheme : dark) {
2628 : root {
27- --output-background : hsl (0 , 0% , 5% );
2829 --button-background : hsl (40 , 75% , 25% );
30+ --output-background : hsl (0 , 0% , 8% );
2931 --footer-background : hsl (0 , 0% , 10% );
3032 --footer-text : hsl (0 , 0% , 80% );
3133 --output-text : hsl (0 , 0% , 90% );
32- --resizer-color : hsl (0 , 0% , 50% );
34+ --resizer-color : hsl (0 , 0% , 18% );
35+ --resizer-pivot-color : hsl (0 , 0% , 70% );
3336
34- --output-zig-background : hsl (37 , 93% , 5% );
37+ --output-zig-outdated- background : hsl (37 , 93% , 5% );
3538 --output-zig-latest-background : hsl (37 , 93% , 10% );
36- --output-runner-background : hsl (200 , 93% , 5% );
39+ --output-runner-outdated- background : hsl (200 , 93% , 5% );
3740 --output-runner-latest-background : hsl (200 , 93% , 10% );
41+ --output-outdated-text : hsl (0 , 0% , 60% );
42+ --output-latest-text : hsl (0 , 0% , 100% );
3843
3944 --tooltip-background : hsl (0 , 0% , 0% );
4045 --tooltip-text : hsl (0 , 0% , 100% );
@@ -53,7 +58,6 @@ html, body {
5358 margin : 0 ;
5459 padding : 0 ;
5560
56- background-color : var (--background );
5761 font-size : 13pt ;
5862}
5963
143147 position : relative;
144148 width : 100% ;
145149 cursor : row-resize;
146- background-color : hsl ( 0 , 0 % , 15 % );
150+ background-color : var ( --resizer-color );
147151}
148152
149153# resize-bar ::before {
160164 top : 50% ;
161165 left : 50% ;
162166 width : 5rem ;
163- border : 2px dashed var (--resizer-color );
167+ border : 2px dashed var (--resizer-pivot- color );
164168 border-radius : 100px ;
165169 transform : translate (-50% , -50% );
166170}
@@ -215,19 +219,29 @@ ul {
215219
216220 & > .zig-output {
217221 padding : 1rem ;
218- background-color : var (--output-zig-background );
219222
220223 & .latest {
221224 background-color : var (--output-zig-latest-background );
225+ color : var (--output-latest-text );
226+ }
227+
228+ & : not (.latest ) {
229+ background-color : var (--output-zig-outdated-background );
230+ color : var (--output-outdated-text );
222231 }
223232 }
224233
225234 & > .runner-output {
226235 padding : 1rem ;
227- background-color : var (--output-runner-background );
228236
229237 & .latest {
230238 background-color : var (--output-runner-latest-background );
239+ color : var (--output-latest-text );
240+ }
241+
242+ & : not (.latest ) {
243+ background-color : var (--output-runner-outdated-background );
244+ color : var (--output-outdated-text );
231245 }
232246 }
233247
0 commit comments