|
1 | 1 | @layer base { |
2 | 2 | :root { |
3 | | - --color-bg: #f7f3ec; |
4 | | - --color-surface: #ffffff; |
5 | | - --color-surface-muted: #f3efe7; |
6 | | - --color-border: rgba(16, 21, 24, 0.1); |
7 | | - --color-text: #101518; |
8 | | - --color-text-muted: #5c676c; |
9 | | - --color-accent: #f07c4f; |
10 | | - --color-accent-strong: #e86f42; |
| 3 | + /* Dark-first — matches landing page and native app brand */ |
| 4 | + --color-bg: #111113; |
| 5 | + --color-surface: #1c1c1e; |
| 6 | + --color-surface-muted: #161618; |
| 7 | + --color-border: rgba(255, 255, 255, 0.06); |
| 8 | + --color-border-lit: rgba(255, 255, 255, 0.10); |
| 9 | + --color-text: rgba(255, 255, 255, 0.92); |
| 10 | + --color-text-muted: rgba(255, 255, 255, 0.50); |
| 11 | + --color-accent: #33c773; |
| 12 | + --color-accent-strong: #3dd882; |
11 | 13 | --radius-sm: 6px; |
12 | 14 | --radius-md: 10px; |
13 | 15 | --radius-lg: 14px; |
14 | 16 | --sidebar-width: 260px; |
15 | 17 | --toc-width: 220px; |
16 | 18 | --content-max: 760px; |
17 | | - --shadow-soft: 0 12px 30px rgba(16, 21, 24, 0.08); |
| 19 | + --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.35); |
18 | 20 | } |
19 | 21 |
|
20 | | - [data-theme='dark'] { |
21 | | - --color-bg: #0a0c0e; |
22 | | - --color-surface: #101418; |
23 | | - --color-surface-muted: #121820; |
24 | | - --color-border: rgba(255, 255, 255, 0.08); |
25 | | - --color-text: #e5e7eb; |
26 | | - --color-text-muted: #9ca3af; |
27 | | - --color-accent: #f07c4f; |
28 | | - --color-accent-strong: #f07c4f; |
29 | | - --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.35); |
| 22 | + [data-theme='light'] { |
| 23 | + --color-bg: #fafaf9; |
| 24 | + --color-surface: #ffffff; |
| 25 | + --color-surface-muted: #f3f3f1; |
| 26 | + --color-border: rgba(16, 21, 24, 0.10); |
| 27 | + --color-border-lit: rgba(16, 21, 24, 0.15); |
| 28 | + --color-text: #101518; |
| 29 | + --color-text-muted: #5c676c; |
| 30 | + --color-accent: #1a9d52; |
| 31 | + --color-accent-strong: #158a47; |
| 32 | + --shadow-soft: 0 12px 30px rgba(16, 21, 24, 0.08); |
30 | 33 | } |
31 | 34 | } |
0 commit comments