@@ -32,42 +32,7 @@ color-scheme: light;
3232--clipboard-image : var (--clipboard-image-normal )
3333}
3434
35- [data-theme = "dark" ] {
36- color-scheme : dark;
37- --primary-background : # 171921 ;
38- --secondary-background : # 1e202a ;
39- --third-background : # 2b2e3b ;
40- --info-background : # 008000 ;
41- --warning-background : # 807000 ;
42- --error-background : # c03000 ;
43- --border : # 0e1014 ;
44- --text : # fff ;
45- --anchor : # 8be9fd ;
46- --anchor-focus : # 8be9fd ;
47- --input-focus : # 8be9fd ;
48- --strong : # bd93f9 ;
49- --hint : # 7A7C85 ;
50-
51- --keyword : # f8f8f2 ;
52- --identifier : # f8f8f2 ;
53- --comment : # ff79c6 ;
54- --operator : # f8f8f2 ;
55- --punctuation : # f8f8f2 ;
56- --other : # f8f8f2 ;
57- --escapeSequence : # bd93f9 ;
58- --number : # f1fa8c ;
59- --literal : # f1fa8c ;
60- --program : # 9090c0 ;
61- --option : # 90b010 ;
62- --raw-data : # 8be9fd ;
63-
64- --clipboard-image-normal : url ("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='color: lightgray' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E %3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2' /%3E %3C/svg%3E" );
65- --clipboard-image-selected : url ("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='color: lightgray' viewBox='0 0 20 20' fill='currentColor'%3E %3Cpath d='M8 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z' /%3E %3Cpath d='M6 3a2 2 0 00-2 2v11a2 2 0 002 2h8a2 2 0 002-2V5a2 2 0 00-2-2 3 3 0 01-3 3H9a3 3 0 01-3-3z' /%3E %3C/svg%3E" );
66- --clipboard-image : var (--clipboard-image-normal );
67- }
68-
6935@media (prefers-color-scheme : dark) {
70- [data-theme = "auto" ] {
7136 color-scheme : dark;
7237 --primary-background : # 171921 ;
7338 --secondary-background : # 1e202a ;
@@ -100,8 +65,6 @@ color-scheme: dark;
10065 --clipboard-image-selected : url ("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='color: lightgray' viewBox='0 0 20 20' fill='currentColor'%3E %3Cpath d='M8 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z' /%3E %3Cpath d='M6 3a2 2 0 00-2 2v11a2 2 0 002 2h8a2 2 0 002-2V5a2 2 0 00-2-2 3 3 0 01-3 3H9a3 3 0 01-3-3z' /%3E %3C/svg%3E" );
10166 --clipboard-image : var (--clipboard-image-normal );
10267}
103- }
104-
10568
10669span .DecNumber {
10770color : var (--number ); }
@@ -200,20 +163,22 @@ color: var(--other); }
200163}
201164
202165/* Dark theme color scheme */
203- [data-theme = "dark" ] {
204- --bg-primary : # 002451 ; /* Dark blue background */
205- --bg-secondary : # 00346e ; /* Slightly lighter blue */
206- --third-background : transparent; /* Third level background */
207- --text-primary : # ffffff ; /* White text */
208- --text-secondary : # ffff00 ; /* Yellow for captions and highlights */
209- --text-muted : # b4b4b4 ; /* Light gray for secondary text */
210- --border-color : # 1d3f53 ; /* Darker blue border */
211- --code-bg : var (--bg-primary ); /* Darker blue for code blocks */
212- --code-border : # 1d3f53 ; /* Darker blue for code borders */
213- --accent-color : # ffff00 ; /* Soft red for accents */
214- --string-color : # d1f1a9 ; /* Light green for strings */
215- --keyword-color : # ff9da4 ; /* Soft red for keywords */
216- --comment-color : # 7285b7 ; /* Muted blue for comments */
166+ @media (prefers-color-scheme : dark) {
167+ : root {
168+ --bg-primary : # 002451 ; /* Dark blue background */
169+ --bg-secondary : # 00346e ; /* Slightly lighter blue */
170+ --third-background : transparent; /* Third level background */
171+ --text-primary : # ffffff ; /* White text */
172+ --text-secondary : # ffff00 ; /* Yellow for captions and highlights */
173+ --text-muted : # b4b4b4 ; /* Light gray for secondary text */
174+ --border-color : # 1d3f53 ; /* Darker blue border */
175+ --code-bg : var (--bg-primary ); /* Darker blue for code blocks */
176+ --code-border : # 1d3f53 ; /* Darker blue for code borders */
177+ --accent-color : # ffff00 ; /* Soft red for accents */
178+ --string-color : # d1f1a9 ; /* Light green for strings */
179+ --keyword-color : # ff9da4 ; /* Soft red for keywords */
180+ --comment-color : # 7285b7 ; /* Muted blue for comments */
181+ }
217182}
218183
219184* {
0 commit comments