@@ -31,6 +31,113 @@ body {
3131 }
3232}
3333
34+ :root {
35+ color-scheme : dark ;
36+ }
37+
38+ html [data-theme = " light" ] {
39+ color-scheme : light ;
40+ }
41+
42+ html [data-theme = " light" ],
43+ html [data-theme = " light" ] body {
44+ background-color : #ffffff !important ;
45+ color : #111827 !important ;
46+ }
47+
48+ html [data-theme = " light" ] .bg-black ,
49+ html [data-theme = " light" ] .bg-\[\# 111111\] {
50+ background-color : #ffffff !important ;
51+ }
52+
53+ html [data-theme = " light" ] [class *= " bg-black" ] {
54+ background-color : #ffffff !important ;
55+ }
56+
57+ html [data-theme = " light" ] [class *= " bg-\\ [\\ #" ] {
58+ background-color : #ffffff !important ;
59+ }
60+
61+ html [data-theme = " light" ] [class *= " bg-white/" ] {
62+ background-color : #f3f4f6 !important ;
63+ }
64+
65+ html [data-theme = " light" ] .text-white ,
66+ html [data-theme = " light" ] .text-white\/ 80 ,
67+ html [data-theme = " light" ] .text-white\/ 70 ,
68+ html [data-theme = " light" ] .text-white\/ 60 {
69+ color : #111827 !important ;
70+ }
71+
72+ html [data-theme = " light" ] [class *= " text-white" ] {
73+ color : #111827 !important ;
74+ }
75+
76+ html [data-theme = " light" ] [class *= " !text-white" ] {
77+ color : #111827 !important ;
78+ }
79+
80+ html [data-theme = " light" ] .border-light-primary ,
81+ html [data-theme = " light" ] .border-t-light-primary ,
82+ html [data-theme = " light" ] .\! border-light-primary {
83+ border-color : #d1d5db !important ;
84+ }
85+
86+ html [data-theme = " light" ] [class *= " border-white" ],
87+ html [data-theme = " light" ] [class *= " border-\\ [\\ #222" ],
88+ html [data-theme = " light" ] [class *= " border-black" ] {
89+ border-color : #d1d5db !important ;
90+ }
91+
92+ html [data-theme = " light" ] .tab-gradient ,
93+ html [data-theme = " light" ] .grey-gradient ,
94+ html [data-theme = " light" ] .feature-gradient ,
95+ html [data-theme = " light" ] .cardGradient ,
96+ html [data-theme = " light" ] .boxGradient {
97+ background : #f3f4f6 !important ;
98+ }
99+
100+ html [data-theme = " light" ] section ,
101+ html [data-theme = " light" ] main ,
102+ html [data-theme = " light" ] article ,
103+ html [data-theme = " light" ] aside ,
104+ html [data-theme = " light" ] header ,
105+ html [data-theme = " light" ] footer ,
106+ html [data-theme = " light" ] nav ,
107+ html [data-theme = " light" ] div {
108+ color : #111827 ;
109+ }
110+
111+ html [data-theme = " light" ] input ,
112+ html [data-theme = " light" ] textarea ,
113+ html [data-theme = " light" ] select {
114+ color : #111827 !important ;
115+ border-color : #d1d5db !important ;
116+ }
117+
118+ .global-theme-toggle {
119+ align-items : center ;
120+ background : rgba (255 , 255 , 255 , 0.1 );
121+ border : 1px solid rgba (255 , 255 , 255 , 0.2 );
122+ border-radius : 999px ;
123+ bottom : 24px ;
124+ color : #ffffff ;
125+ cursor : pointer ;
126+ display : inline-flex ;
127+ height : 42px ;
128+ justify-content : center ;
129+ position : fixed ;
130+ right : 24px ;
131+ width : 42px ;
132+ z-index : 120 ;
133+ }
134+
135+ html [data-theme = " light" ] .global-theme-toggle {
136+ background : rgba (17 , 24 , 39 , 0.06 );
137+ border-color : rgba (17 , 24 , 39 , 0.2 );
138+ color : #111827 ;
139+ }
140+
34141h1 ,
35142h2 ,
36143h3 ,
0 commit comments