66@source "./*.tsx";
77
88:root {
9- --background: oklch(0.13 0.02 260);
10- --foreground: oklch(0.95 0.01 260);
11- --card: oklch(0.16 0.02 260);
12- --card-foreground: oklch(0.95 0.01 260);
13- --popover: oklch(0.18 0.025 260);
14- --popover-foreground: oklch(0.95 0.01 260);
9+ --background: oklch(0.15 0.02 260);
10+ --foreground: oklch(0.90 0.01 260);
11+ --card: oklch(0.22 0.02 260);
12+ --card-foreground: oklch(0.90 0.01 260);
13+ --popover: oklch(0.28 0.025 260);
14+ --popover-foreground: oklch(0.90 0.01 260);
1515 --primary: oklch(0.75 0.18 280);
16- --primary-foreground: oklch(0.13 0.02 260);
16+ --primary-foreground: oklch(0.15 0.02 260);
1717 --secondary: oklch(0.65 0.15 180);
18- --secondary-foreground: oklch(0.13 0.02 260);
19- --muted: oklch(0.22 0.02 260);
20- --muted-foreground: oklch(0.65 0.02 260);
18+ --secondary-foreground: oklch(0.15 0.02 260);
19+ --muted: oklch(0.26 0.02 260);
20+ --muted-foreground: oklch(0.72 0.02 260);
2121 --accent: oklch(0.70 0.20 60);
22- --accent-foreground: oklch(0.13 0.02 260);
23- --destructive: oklch(0.65 0.22 25);
22+ --accent-foreground: oklch(0.15 0.02 260);
23+ --destructive: oklch(0.65 0.20 25);
2424 --destructive-foreground: oklch(0.98 0 0);
25- --border: oklch(0.28 0.02 260);
26- --input: oklch(0.22 0.02 260);
25+ --border: oklch(0.35 0.02 260);
26+ --input: oklch(0.26 0.02 260);
2727 --ring: oklch(0.75 0.18 280);
28+ --success: oklch(0.72 0.17 150);
29+ --success-foreground: oklch(0.15 0.02 260);
30+ --warning: oklch(0.75 0.15 85);
31+ --warning-foreground: oklch(0.20 0.02 260);
2832
2933 --font-sans: 'Inter', system-ui, sans-serif;
3034 --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
5155 --border: oklch(0.88 0.01 260);
5256 --input: oklch(0.92 0.01 260);
5357 --ring: oklch(0.50 0.25 280);
58+ --success: oklch(0.45 0.20 150);
59+ --success-foreground: oklch(1 0 0);
60+ --warning: oklch(0.55 0.18 85);
61+ --warning-foreground: oklch(0.18 0.02 260);
5462}
5563
5664@theme inline {
7078 --color-accent-foreground: var(--accent-foreground);
7179 --color-destructive: var(--destructive);
7280 --color-destructive-foreground: var(--destructive-foreground);
81+ --color-success: var(--success);
82+ --color-success-foreground: var(--success-foreground);
83+ --color-warning: var(--warning);
84+ --color-warning-foreground: var(--warning-foreground);
7385 --color-border: var(--border);
7486 --color-input: var(--input);
7587 --color-ring: var(--ring);
@@ -95,8 +107,8 @@ body {
95107/* Subtle grid background */
96108.bg-grid {
97109 background-image :
98- linear-gradient (to right, oklch (0.25 0.02 260 / 0.5 ) 1px , transparent 1px ),
99- linear-gradient (to bottom, oklch (0.25 0.02 260 / 0.5 ) 1px , transparent 1px );
110+ linear-gradient (to right, oklch (0.32 0.02 260 / 0.5 ) 1px , transparent 1px ),
111+ linear-gradient (to bottom, oklch (0.32 0.02 260 / 0.5 ) 1px , transparent 1px );
100112 background-size : 24px 24px ;
101113}
102114
@@ -201,17 +213,26 @@ pre code.hljs {
201213}
202214
203215.annotation-highlight .deletion {
204- background : oklch (0.65 0.22 25 / 0.25 );
216+ background : oklch (0.65 0.20 25 / 0.35 );
205217 text-decoration : line-through;
206218 text-decoration-color : var (--destructive );
207219 text-decoration-thickness : 2px ;
208220}
209221
210222.annotation-highlight .comment {
211- background : oklch (0.70 0.20 60 / 0.2 );
223+ background : oklch (0.70 0.18 60 / 0.3 );
212224 border-bottom : 2px solid var (--accent );
213225}
214226
227+ /* Light mode: softer highlights */
228+ .light .annotation-highlight .deletion {
229+ background : oklch (0.65 0.22 25 / 0.2 );
230+ }
231+
232+ .light .annotation-highlight .comment {
233+ background : oklch (0.70 0.20 60 / 0.15 );
234+ }
235+
215236.annotation-highlight : hover {
216237 filter : brightness (1.2 );
217238 cursor : pointer;
0 commit comments