|
1 | | -:root { |
| 1 | +:root, |
| 2 | +.theme-preview.light { |
| 3 | + color-scheme: light; |
2 | 4 | --background: 0 0% 100%; |
3 | 5 | --foreground: 222.2 84% 4.9%; |
4 | 6 | --card: 0 0% 100%; |
|
10 | 12 | --secondary: 210 40% 96.1%; |
11 | 13 | --secondary-foreground: 222.2 47.4% 11.2%; |
12 | 14 | --muted: 210 40% 96.1%; |
13 | | - --muted-foreground: 215.4 16.3% 46.9%; |
| 15 | + --muted-foreground: 213.33 16.82% 41.96%; |
14 | 16 | --accent: 210 40% 96.1%; |
15 | 17 | --accent-foreground: 222.2 47.4% 11.2%; |
16 | | - --destructive: 0 84.2% 60.2%; |
17 | | - --destructive-foreground: 210 40% 98%; |
18 | | - --success: 142.1 70.6% 35.5%; |
19 | | - --success-foreground: 0 0% 100%; |
20 | | - --success-muted: 138 76% 95%; |
21 | | - --success-border: 140 58% 85%; |
| 18 | + --destructive: 0.00 73.71% 41.76%; |
| 19 | + --destructive-foreground: 0.00 0.00% 100.00%; |
| 20 | + --success: 142.43 71.81% 29.22%; |
| 21 | + --success-foreground: 0.00 0.00% 100.00%; |
| 22 | + --success-muted: 138.46 76.47% 96.67%; |
| 23 | + --success-border: 141.00 78.95% 85.10%; |
22 | 24 | --border: 214.3 31.8% 91.4%; |
23 | | - --input: 214.3 31.8% 80%; |
24 | | - --ring: 220 13% 60%; |
| 25 | + --input: 213.75 13.91% 54.90%; |
| 26 | + --ring: 215.38 16.32% 46.86%; |
25 | 27 | --radius: 0.5rem; |
26 | 28 | --chart-1: 12 76% 61%; |
27 | 29 | --chart-2: 173 58% 39%; |
28 | 30 | --chart-3: 197 37% 24%; |
29 | 31 | --chart-4: 43 74% 66%; |
30 | 32 | --chart-5: 27 87% 67%; |
| 33 | + --chrome: 210.00 40.00% 98.04%; |
| 34 | + --primary-text: 224.28 76.33% 48.04%; |
| 35 | + --selection: 220.00 100.00% 95.29%; |
| 36 | + --destructive-text: 0.00 73.71% 41.76%; |
| 37 | + --destructive-muted: 0.00 85.71% 97.25%; |
| 38 | + --destructive-border: 0.00 96.30% 89.41%; |
| 39 | + --warning: 35.65 100.00% 27.06%; |
| 40 | + --warning-foreground: 0.00 0.00% 100.00%; |
| 41 | + --warning-muted: 39.00 100.00% 96.08%; |
| 42 | + --warning-border: 39.10 67.94% 74.31%; |
| 43 | + --syntax-keyword: 224.28 76.33% 48.04%; |
| 44 | + --syntax-string: 23.16 60.64% 36.86%; |
| 45 | + --syntax-number: 270.65 39.66% 45.49%; |
| 46 | + --syntax-comment: 98.18 12.09% 35.69%; |
31 | 47 | } |
32 | 48 |
|
33 | 49 | .dark { |
34 | | - --background: 222.2 84% 4.9%; |
35 | | - --foreground: 210 40% 98%; |
36 | | - --card: 222.2 47% 8%; |
37 | | - --card-foreground: 210 40% 98%; |
38 | | - --popover: 222.2 47% 8%; |
39 | | - --popover-foreground: 210 40% 98%; |
40 | | - --primary: 217.2 91.2% 45%; |
41 | | - --primary-foreground: 0 0% 100%; |
42 | | - --secondary: 217.2 32.6% 16%; |
43 | | - --secondary-foreground: 210 40% 98%; |
44 | | - --muted: 217.2 32.6% 16%; |
45 | | - --muted-foreground: 215 20.2% 65.1%; |
46 | | - --accent: 217.2 32.6% 17.5%; |
47 | | - --accent-foreground: 210 40% 98%; |
48 | | - --destructive: 0 62.8% 30.6%; |
49 | | - --destructive-foreground: 210 40% 98%; |
50 | | - --success: 142.1 70% 45%; |
51 | | - --success-foreground: 0 0% 100%; |
52 | | - --success-muted: 142 35% 16%; |
53 | | - --success-border: 142 30% 25%; |
54 | | - --border: 217.2 32.6% 17.5%; |
55 | | - --input: 217.2 32.6% 28%; |
56 | | - --ring: 212.7 26.8% 68%; |
| 50 | + color-scheme: dark; |
| 51 | + --background: 220.00 12.00% 9.80%; |
| 52 | + --foreground: 217.50 17.39% 90.98%; |
| 53 | + --card: 220.00 11.39% 15.49%; |
| 54 | + --card-foreground: 217.50 17.39% 90.98%; |
| 55 | + --popover: 220.00 11.39% 15.49%; |
| 56 | + --popover-foreground: 217.50 17.39% 90.98%; |
| 57 | + --primary: 221.21 83.19% 53.33%; |
| 58 | + --primary-foreground: 0.00 0.00% 100.00%; |
| 59 | + --secondary: 220.00 11.39% 15.49%; |
| 60 | + --secondary-foreground: 217.50 17.39% 90.98%; |
| 61 | + --muted: 220.00 11.39% 15.49%; |
| 62 | + --muted-foreground: 217.89 11.80% 68.43%; |
| 63 | + --accent: 216.92 13.13% 19.41%; |
| 64 | + --accent-foreground: 217.50 17.39% 90.98%; |
| 65 | + --destructive: 0.00 53.53% 47.25%; |
| 66 | + --destructive-foreground: 0.00 0.00% 100.00%; |
| 67 | + --success: 143.02 47.25% 64.31%; |
| 68 | + --success-foreground: 220.00 12.00% 9.80%; |
| 69 | + --success-muted: 148.42 22.89% 16.27%; |
| 70 | + --success-border: 141.67 23.08% 30.59%; |
| 71 | + --border: 217.50 13.33% 23.53%; |
| 72 | + --input: 215.56 11.79% 44.90%; |
| 73 | + --ring: 217.89 11.80% 68.43%; |
57 | 74 | --chart-1: 220 70% 50%; |
58 | 75 | --chart-2: 160 60% 45%; |
59 | 76 | --chart-3: 30 80% 55%; |
60 | 77 | --chart-4: 280 65% 60%; |
61 | 78 | --chart-5: 340 75% 55%; |
| 79 | + --chrome: 217.50 12.50% 12.55%; |
| 80 | + --primary-text: 218.46 100.00% 77.06%; |
| 81 | + --selection: 215.71 35.59% 23.14%; |
| 82 | + --destructive-text: 4.82 81.16% 72.94%; |
| 83 | + --destructive-muted: 352.94 19.10% 17.45%; |
| 84 | + --destructive-border: 3.40 29.61% 35.10%; |
| 85 | + --warning: 36.61 79.73% 70.98%; |
| 86 | + --warning-foreground: 220.00 12.00% 9.80%; |
| 87 | + --warning-muted: 36.67 20.45% 17.25%; |
| 88 | + --warning-border: 37.36 32.12% 32.35%; |
| 89 | + --syntax-keyword: 218.46 100.00% 77.06%; |
| 90 | + --syntax-string: 26.40 47.77% 69.22%; |
| 91 | + --syntax-number: 264.49 51.58% 81.37%; |
| 92 | + --syntax-comment: 112.50 7.55% 58.43%; |
62 | 93 | } |
63 | 94 |
|
64 | 95 | * { |
@@ -99,7 +130,6 @@ button:not(:disabled), |
99 | 130 | @supports not (border-width: 0.5px) { |
100 | 131 | .border { |
101 | 132 | border-width: 1px !important; |
102 | | - opacity: 0.6; |
103 | 133 | } |
104 | 134 | } |
105 | 135 |
|
@@ -127,3 +157,8 @@ button:not(:disabled), |
127 | 157 | scrollbar-width: thin; |
128 | 158 | scrollbar-color: hsl(var(--muted-foreground) / 0.25) transparent; |
129 | 159 | } |
| 160 | + |
| 161 | +::selection { |
| 162 | + background-color: hsl(var(--selection)); |
| 163 | + color: hsl(var(--foreground)); |
| 164 | +} |
0 commit comments