|
1 | 1 | :root { |
2 | | - /* Layout */ |
3 | | - --sl-content-width: 55rem; /* default: 45rem */ |
4 | | - |
5 | | - /* Default Font (English, Russian, etc.) */ |
6 | | - --sl-font: 'Roboto', system-ui, -apple-system, sans-serif; |
| 2 | + /* Layout */ |
| 3 | + --sl-content-width: 55rem; /* default: 45rem */ |
| 4 | + |
| 5 | + /* Default Font (English, Russian, etc.) */ |
| 6 | + --sl-font: "Roboto", system-ui, -apple-system, sans-serif; |
7 | 7 | } |
8 | 8 |
|
9 | 9 | /* CJK Languages (Korean, Japanese, Chinese) */ |
10 | 10 | :root:lang(ko), |
11 | 11 | :root:lang(ja), |
12 | 12 | :root:lang(zh) { |
13 | | - --sl-font: 'Noto Sans', 'Roboto', system-ui, -apple-system, sans-serif; |
| 13 | + --sl-font: "Noto Sans", "Roboto", system-ui, -apple-system, sans-serif; |
14 | 14 | } |
15 | 15 |
|
16 | 16 | :root, |
17 | | -:root[data-theme='dark'] { |
18 | | - --sl-color-accent-low: #001026; |
19 | | - --sl-color-accent: #3193ff; |
20 | | - --sl-color-accent-high: #b8dcff; |
21 | | - --sl-color-white: #ffffff; |
22 | | - --sl-color-gray-1: #f8fafc; |
23 | | - --sl-color-gray-2: #e2e8f0; |
24 | | - --sl-color-gray-3: #94a3b8; |
25 | | - --sl-color-gray-4: #475569; |
26 | | - --sl-color-gray-5: #1e293b; |
27 | | - --sl-color-gray-6: #0f172a; |
28 | | - --sl-color-black: #020617; |
| 17 | +:root[data-theme="dark"] { |
| 18 | + --sl-color-accent-low: #001026; |
| 19 | + --sl-color-accent: #3193ff; |
| 20 | + --sl-color-accent-high: #b8dcff; |
| 21 | + --sl-color-white: #ffffff; |
| 22 | + --sl-color-gray-1: #f8fafc; |
| 23 | + --sl-color-gray-2: #e2e8f0; |
| 24 | + --sl-color-gray-3: #94a3b8; |
| 25 | + --sl-color-gray-4: #475569; |
| 26 | + --sl-color-gray-5: #1e293b; |
| 27 | + --sl-color-gray-6: #0f172a; |
| 28 | + --sl-color-black: #020617; |
29 | 29 | } |
30 | 30 |
|
31 | | -:root[data-theme='light'] { |
32 | | - --sl-color-accent-low: #dbeafe; |
33 | | - --sl-color-accent: #3193ff; |
34 | | - --sl-color-accent-high: #004080; |
35 | | - --sl-color-white: #0f172a; |
36 | | - --sl-color-gray-1: #334155; |
37 | | - --sl-color-gray-2: #475569; |
38 | | - --sl-color-gray-3: #64748b; |
39 | | - --sl-color-gray-4: #94a3b8; |
40 | | - --sl-color-gray-5: #cbd5e1; |
41 | | - --sl-color-gray-6: #e2e8f0; |
42 | | - --sl-color-gray-7: #f1f5f9; |
43 | | - --sl-color-black: #ffffff; |
| 31 | +:root[data-theme="light"] { |
| 32 | + --sl-color-accent-low: #dbeafe; |
| 33 | + --sl-color-accent: #3193ff; |
| 34 | + --sl-color-accent-high: #004080; |
| 35 | + --sl-color-white: #0f172a; |
| 36 | + --sl-color-gray-1: #334155; |
| 37 | + --sl-color-gray-2: #475569; |
| 38 | + --sl-color-gray-3: #64748b; |
| 39 | + --sl-color-gray-4: #94a3b8; |
| 40 | + --sl-color-gray-5: #cbd5e1; |
| 41 | + --sl-color-gray-6: #e2e8f0; |
| 42 | + --sl-color-gray-7: #f1f5f9; |
| 43 | + --sl-color-black: #ffffff; |
44 | 44 | } |
45 | 45 |
|
46 | 46 | :root[data-theme="dark"] [data-theme-only="light"], |
47 | 47 | :root[data-theme="light"] [data-theme-only="dark"] { |
48 | | - display: none; |
| 48 | + display: none; |
49 | 49 | } |
0 commit comments