File tree Expand file tree Collapse file tree 1 file changed +8
-24
lines changed Expand file tree Collapse file tree 1 file changed +8
-24
lines changed Original file line number Diff line number Diff line change 1- :root {
2- --background-color : #f6f6f6 ;
3- --card-background : #ffffff ;
4- --text-color : black ;
5- --link-color : #039 ;
6- --separator-color : #373648 ;
7-
8- color-scheme : light dark ;
9- }
10-
111.highcharts-light {
122 color-scheme : light ;
133}
144
15- /* Dark mode */
165.highcharts-dark {
17- --background-color : #333333 ;
18- --card-background : #141414 ;
19- --text-color : #eee ;
20- --link-color : #bbe5ff ;
21- --separator-color : #999 ;
22-
236 color-scheme : dark ;
247}
258
26-
279@media (prefers- color - scheme: dark ) {
2810 :root {
29- --background-color : #333333 ;
30- --card-background : #141414 ;
31- --text-color : #eee ;
32- --link-color : #bbe5ff ;
33- --separator-color : #999 ;
34-
3511 color-scheme : dark ;
3612 }
3713}
3814
15+ :root {
16+ --background-color : light- dark(#f6f6f6 , #333333 );
17+ --card-background : light- dark(#ffffff , #141414 );
18+ --text-color : light- dark(black , #eee );
19+ --link-color : light- dark(#039 , #bbe5ff );
20+ --separator-color : light- dark(#373648 , #999 );
21+ }
22+
3923body {
4024 margin : 0 ;
4125 background : var (--background-color );
You can’t perform that action at this time.
0 commit comments