-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
47 lines (45 loc) · 1.58 KB
/
Copy pathtailwind.config.ts
File metadata and controls
47 lines (45 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import type { Config } from 'tailwindcss';
const config: Config = {
darkMode: 'class',
content: [
'./app/**/*.{ts,tsx}',
'./components/**/*.{ts,tsx}',
],
theme: {
extend: {
colors: {
background: 'hsl(var(--background) / <alpha-value>)',
foreground: 'hsl(var(--foreground) / <alpha-value>)',
card: 'hsl(var(--card) / <alpha-value>)',
'card-foreground': 'hsl(var(--card-foreground) / <alpha-value>)',
muted: 'hsl(var(--muted) / <alpha-value>)',
'muted-foreground': 'hsl(var(--muted-foreground) / <alpha-value>)',
accent: 'hsl(var(--accent) / <alpha-value>)',
'accent-foreground': 'hsl(var(--accent-foreground) / <alpha-value>)',
border: 'hsl(var(--border) / <alpha-value>)',
input: 'hsl(var(--input) / <alpha-value>)',
ring: 'hsl(var(--ring) / <alpha-value>)',
primary: 'hsl(var(--primary) / <alpha-value>)',
'primary-foreground': 'hsl(var(--primary-foreground) / <alpha-value>)',
destructive: 'hsl(var(--destructive) / <alpha-value>)',
'destructive-foreground': 'hsl(var(--destructive-foreground) / <alpha-value>)',
},
borderRadius: {
lg: '0.5rem',
md: 'calc(0.5rem - 2px)',
sm: 'calc(0.5rem - 4px)',
},
keyframes: {
shimmer: {
'0%': { backgroundPosition: '-200% 0' },
'100%': { backgroundPosition: '200% 0' },
},
},
animation: {
shimmer: 'shimmer 2s ease-in-out infinite',
},
},
},
plugins: [require('tailwindcss-animate')],
};
export default config;