-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
72 lines (71 loc) · 2.86 KB
/
tailwind.config.ts
File metadata and controls
72 lines (71 loc) · 2.86 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import type { Config } from 'tailwindcss'
export default {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./packages/ui/components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}'
],
theme: {
extend: {
colors: {
'background': 'var(--background)',
'background-rgb': 'rgb(var(--background-rgb))',
'foreground': 'var(--foreground)',
'foreground-rgb': 'rgb(var(--foreground-rgb))',
'primary': 'var(--primary)',
'primary-rgb': 'rgb(var(--primary-rgb))',
'primary-foreground': 'var(--primary-foreground)',
'secondary': 'var(--secondary)',
'secondary-foreground': 'var(--secondary-foreground)',
'accent': 'var(--accent)',
'accent-rgb': 'rgb(var(--accent-rgb))',
'accent-foreground': 'var(--accent-foreground)',
'muted': 'var(--muted)',
'muted-foreground': 'var(--muted-foreground)',
'card': 'var(--card)',
'card-rgb': 'rgb(var(--card-rgb))',
'card-foreground': 'var(--card-foreground)',
'border': 'var(--border)',
'input': 'var(--input)'
},
borderRadius: {
lg: '0.5rem',
md: 'calc(0.5rem - 2px)',
sm: 'calc(0.5rem - 4px)'
},
animation: {
'blob-slow': 'blob 20s infinite ease-in-out',
'wave': 'wave 6s ease-in-out infinite',
'drawer': 'drawer 0.3s ease-in-out',
'theme-transition': 'theme-transition 0.3s ease-in-out',
'color-shift': 'color-shift 0.5s ease-in-out'
},
keyframes: {
'blob': {
'0%, 100%': { transform: 'scale(1) translate(0, 0)' },
'50%': { transform: 'scale(1.1) translate(10px, -10px)' }
},
'wave': {
'0%': { transform: 'translateX(0)' },
'50%': { transform: 'translateX(-2%)' },
'100%': { transform: 'translateX(0)' }
},
'drawer': {
'0%': { transform: 'translateY(100%)' },
'100%': { transform: 'translateY(0)' }
},
'theme-transition': {
'0%': { opacity: '0', transform: 'scale(0.95)' },
'100%': { opacity: '1', transform: 'scale(1)' }
},
'color-shift': {
'0%': { opacity: '0.8' },
'50%': { opacity: '1' },
'100%': { opacity: '0.8' }
}
}
}
},
plugins: []
} satisfies Config