Skip to content

Commit f564f18

Browse files
Copilothotlong
andcommitted
Remove chaotic chart colors from playground, restore standard Shadcn theme
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 85ebd42 commit f564f18

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

apps/playground/src/index.css

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,56 +6,63 @@
66
:root {
77
--background: 0 0% 100%;
88
--foreground: 222.2 84% 4.9%;
9+
910
--card: 0 0% 100%;
1011
--card-foreground: 222.2 84% 4.9%;
12+
1113
--popover: 0 0% 100%;
1214
--popover-foreground: 222.2 84% 4.9%;
15+
1316
--primary: 222.2 47.4% 11.2%;
1417
--primary-foreground: 210 40% 98%;
18+
1519
--secondary: 210 40% 96.1%;
1620
--secondary-foreground: 222.2 47.4% 11.2%;
21+
1722
--muted: 210 40% 96.1%;
1823
--muted-foreground: 215.4 16.3% 46.9%;
24+
1925
--accent: 210 40% 96.1%;
2026
--accent-foreground: 222.2 47.4% 11.2%;
27+
2128
--destructive: 0 84.2% 60.2%;
2229
--destructive-foreground: 210 40% 98%;
30+
2331
--border: 214.3 31.8% 91.4%;
2432
--input: 214.3 31.8% 91.4%;
2533
--ring: 222.2 84% 4.9%;
34+
2635
--radius: 0.5rem;
27-
--chart-1: 12 76% 61%;
28-
--chart-2: 173 58% 39%;
29-
--chart-3: 197 37% 24%;
30-
--chart-4: 43 74% 66%;
31-
--chart-5: 27 87% 67%;
3236
}
3337

3438
.dark {
3539
--background: 222.2 84% 4.9%;
3640
--foreground: 210 40% 98%;
41+
3742
--card: 222.2 84% 4.9%;
3843
--card-foreground: 210 40% 98%;
44+
3945
--popover: 222.2 84% 4.9%;
4046
--popover-foreground: 210 40% 98%;
47+
4148
--primary: 210 40% 98%;
4249
--primary-foreground: 222.2 47.4% 11.2%;
50+
4351
--secondary: 217.2 32.6% 17.5%;
4452
--secondary-foreground: 210 40% 98%;
53+
4554
--muted: 217.2 32.6% 17.5%;
4655
--muted-foreground: 215 20.2% 65.1%;
56+
4757
--accent: 217.2 32.6% 17.5%;
4858
--accent-foreground: 210 40% 98%;
59+
4960
--destructive: 0 62.8% 30.6%;
5061
--destructive-foreground: 210 40% 98%;
62+
5163
--border: 217.2 32.6% 17.5%;
5264
--input: 217.2 32.6% 17.5%;
5365
--ring: 212.7 26.8% 83.9%;
54-
--chart-1: 220 70% 50%;
55-
--chart-2: 160 60% 45%;
56-
--chart-3: 30 80% 55%;
57-
--chart-4: 280 65% 60%;
58-
--chart-5: 340 75% 55%;
5966
}
6067
}
6168

apps/playground/tailwind.config.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,7 @@ export default {
4848
},
4949
border: 'hsl(var(--border))',
5050
input: 'hsl(var(--input))',
51-
ring: 'hsl(var(--ring))',
52-
chart: {
53-
'1': 'hsl(var(--chart-1))',
54-
'2': 'hsl(var(--chart-2))',
55-
'3': 'hsl(var(--chart-3))',
56-
'4': 'hsl(var(--chart-4))',
57-
'5': 'hsl(var(--chart-5))'
58-
}
51+
ring: 'hsl(var(--ring))'
5952
}
6053
}
6154
},

0 commit comments

Comments
 (0)