Skip to content

Commit 852d3b8

Browse files
Update tailwind.config.js
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 41570df commit 852d3b8

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

tailwind.config.js

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
module.exports = {
33
darkMode: ['class'],
44
content: ['./src/**/*.{js,ts,jsx,tsx}'],
5+
theme: {
56
theme: {
67
extend: {
78
animation: {
@@ -12,6 +13,53 @@ module.exports = {
1213
robotoMono: ['Roboto Mono', 'monospace'],
1314
dmSans: ['DM Sans', 'sans-serif'],
1415
},
16+
borderRadius: {
17+
lg: 'var(--radius)',
18+
md: 'calc(var(--radius) - 2px)',
19+
sm: 'calc(var(--radius) - 4px)',
20+
},
21+
colors: {
22+
background: 'hsl(var(--background))',
23+
foreground: 'hsl(var(--foreground))',
24+
card: {
25+
DEFAULT: 'hsl(var(--card))',
26+
foreground: 'hsl(var(--card-foreground))',
27+
},
28+
popover: {
29+
DEFAULT: 'hsl(var(--popover))',
30+
foreground: 'hsl(var(--popover-foreground))',
31+
},
32+
primary: {
33+
DEFAULT: 'hsl(var(--primary))',
34+
foreground: 'hsl(var(--primary-foreground))',
35+
},
36+
secondary: {
37+
DEFAULT: 'hsl(var(--secondary))',
38+
foreground: 'hsl(var(--secondary-foreground))',
39+
},
40+
muted: {
41+
DEFAULT: 'hsl(var(--muted))',
42+
foreground: 'hsl(var(--muted-foreground))',
43+
},
44+
accent: {
45+
DEFAULT: 'hsl(var(--accent))',
46+
foreground: 'hsl(var(--accent-foreground))',
47+
},
48+
destructive: {
49+
DEFAULT: 'hsl(var(--destructive))',
50+
foreground: 'hsl(var(--destructive-foreground))',
51+
},
52+
border: 'hsl(var(--border))',
53+
input: 'hsl(var(--input))',
54+
ring: 'hsl(var(--ring))',
55+
chart: {
56+
1: 'hsl(var(--chart-1))',
57+
2: 'hsl(var(--chart-2))',
58+
3: 'hsl(var(--chart-3))',
59+
4: 'hsl(var(--chart-4))',
60+
5: 'hsl(var(--chart-5))',
61+
},
62+
},
1563
},
1664
extend: {
1765
animation: {

0 commit comments

Comments
 (0)