44
55/* Light and dark theme variables */
66: root {
7- --background-primary : 215deg , 100% , 100% ;
8- --background-secondary : 210deg , 29% , 97% ;
9- --background-tertiary : 207deg , 33% , 95% ;
10- --foreground-primary : 0deg , 0% , 9% ;
11- --foreground-secondary : 0deg , 0% , 23% ;
12- --foreground-tertiary : 0deg , 0% , 32% ;
13- --foreground-quaternary : 0deg , 0% , 42% ;
14-
15- --info : 194deg , 76% , 41% ;
16- }
17- html [data-theme = "dark" ]: root {
187 --background-primary : 217deg , 55% , 21% ;
198 --background-secondary : 217deg , 55% , 25% ;
209 --background-tertiary : 216deg , 27.7% , 22% ;
@@ -28,6 +17,17 @@ html[data-theme="dark"]:root {
2817 color : var (--foreground-primary );
2918 background-color : var (--background-primary );
3019}
20+ html [data-theme = "light" ]: root {
21+ --background-primary : 215deg , 100% , 100% ;
22+ --background-secondary : 210deg , 29% , 97% ;
23+ --background-tertiary : 207deg , 33% , 95% ;
24+ --foreground-primary : 217deg , 55% , 21% ;
25+ --foreground-secondary : 217deg , 55% , 25% ;
26+ --foreground-tertiary : 0deg , 0% , 32% ;
27+ --foreground-quaternary : 0deg , 0% , 42% ;
28+
29+ --info : 194deg , 76% , 41% ;
30+ }
3131
3232/* Scrollbar colors that look good on light and dark theme */
3333* {
@@ -114,10 +114,14 @@ html[data-theme="dark"] ::selection {
114114}
115115
116116.wish {
117- background-color : white ;
117+ background-color : hsla ( var ( --foreground-secondary )) ;
118118 position : absolute;
119- background : linear-gradient (-45deg , white, rgba (0 , 0 , 255 , 0 ));
120- filter : drop-shadow (0 0 6px white);
119+ background : linear-gradient (
120+ -45deg ,
121+ hsla (var (--foreground-secondary )),
122+ rgba (0 , 0 , 255 , 0 )
123+ );
124+ filter : drop-shadow (0 0 6px hsla (var (--foreground-secondary )));
121125 overflow : hidden;
122126}
123127
0 commit comments