|
14 | 14 | --card-foreground: oklch(0.145 0 0); |
15 | 15 | --popover: oklch(1 0 0); |
16 | 16 | --popover-foreground: oklch(0.145 0 0); |
17 | | - --primary: oklch(0.205 0 0); |
| 17 | + --primary: oklch(0.54 0.2 283); |
18 | 18 | --primary-foreground: oklch(0.985 0 0); |
19 | 19 | --secondary: oklch(0.97 0 0); |
20 | 20 | --secondary-foreground: oklch(0.205 0 0); |
21 | 21 | --muted: oklch(0.97 0 0); |
22 | 22 | --muted-foreground: oklch(0.556 0 0); |
23 | | - --accent: oklch(0.97 0 0); |
| 23 | + --accent: oklch(0.96 0.012 283); |
24 | 24 | --accent-foreground: oklch(0.205 0 0); |
25 | 25 | --destructive: oklch(0.577 0.245 27.325); |
26 | 26 | --border: oklch(0.922 0 0); |
27 | 27 | --input: oklch(0.922 0 0); |
28 | | - --ring: oklch(0.708 0 0); |
| 28 | + --ring: oklch(0.54 0.2 283); |
29 | 29 | --success: oklch(0.6 0.13 160); |
30 | 30 | --warning: oklch(0.75 0.15 80); |
31 | 31 | } |
|
37 | 37 | --card-foreground: oklch(0.985 0 0); |
38 | 38 | --popover: oklch(0.205 0 0); |
39 | 39 | --popover-foreground: oklch(0.985 0 0); |
40 | | - --primary: oklch(0.922 0 0); |
41 | | - --primary-foreground: oklch(0.205 0 0); |
| 40 | + --primary: oklch(0.72 0.16 285); |
| 41 | + --primary-foreground: oklch(0.18 0.03 285); |
42 | 42 | --secondary: oklch(0.269 0 0); |
43 | 43 | --secondary-foreground: oklch(0.985 0 0); |
44 | 44 | --muted: oklch(0.269 0 0); |
45 | 45 | --muted-foreground: oklch(0.708 0 0); |
46 | | - --accent: oklch(0.269 0 0); |
| 46 | + --accent: oklch(0.27 0.018 285); |
47 | 47 | --accent-foreground: oklch(0.985 0 0); |
48 | 48 | --destructive: oklch(0.704 0.191 22.216); |
49 | 49 | --border: oklch(1 0 0 / 10%); |
50 | 50 | --input: oklch(1 0 0 / 15%); |
51 | | - --ring: oklch(0.556 0 0); |
| 51 | + --ring: oklch(0.62 0.17 285); |
52 | 52 | --success: oklch(0.7 0.14 160); |
53 | 53 | --warning: oklch(0.8 0.15 80); |
54 | 54 | } |
|
93 | 93 | font-family: system-ui, -apple-system, "Segoe UI", sans-serif; |
94 | 94 | -webkit-font-smoothing: antialiased; |
95 | 95 | } |
| 96 | + |
| 97 | + ::selection { |
| 98 | + background-color: color-mix(in oklab, var(--color-primary) 30%, transparent); |
| 99 | + } |
| 100 | +} |
| 101 | + |
| 102 | +/* Slim, theme-aware scrollbars for native overflow regions (the commit log, |
| 103 | + commit-details patch, etc.) so dense panels read like a real devtool. */ |
| 104 | +@utility scrollbar-slim { |
| 105 | + scrollbar-width: thin; |
| 106 | + scrollbar-color: color-mix(in oklab, var(--color-foreground) 22%, transparent) transparent; |
| 107 | + |
| 108 | + &::-webkit-scrollbar { |
| 109 | + width: 8px; |
| 110 | + height: 8px; |
| 111 | + } |
| 112 | + |
| 113 | + &::-webkit-scrollbar-thumb { |
| 114 | + border-radius: 9999px; |
| 115 | + background-color: color-mix(in oklab, var(--color-foreground) 22%, transparent); |
| 116 | + } |
| 117 | + |
| 118 | + &::-webkit-scrollbar-thumb:hover { |
| 119 | + background-color: color-mix(in oklab, var(--color-foreground) 36%, transparent); |
| 120 | + } |
96 | 121 | } |
0 commit comments