-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
75 lines (75 loc) · 2.11 KB
/
tailwind.config.js
File metadata and controls
75 lines (75 loc) · 2.11 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
73
74
75
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
border: 'oklch(var(--border))',
input: 'oklch(var(--input))',
ring: 'oklch(var(--ring))',
background: 'oklch(var(--background))',
foreground: 'oklch(var(--foreground))',
primary: {
DEFAULT: 'oklch(var(--primary))',
foreground: 'oklch(var(--primary-foreground))',
},
secondary: {
DEFAULT: 'oklch(var(--secondary))',
foreground: 'oklch(var(--secondary-foreground))',
},
destructive: {
DEFAULT: 'oklch(var(--destructive))',
foreground: 'oklch(var(--destructive-foreground))',
},
muted: {
DEFAULT: 'oklch(var(--muted))',
foreground: 'oklch(var(--muted-foreground))',
},
accent: {
DEFAULT: 'oklch(var(--accent))',
foreground: 'oklch(var(--accent-foreground))',
},
popover: {
DEFAULT: 'oklch(var(--popover))',
foreground: 'oklch(var(--popover-foreground))',
},
card: {
DEFAULT: 'oklch(var(--card))',
foreground: 'oklch(var(--card-foreground))',
},
'old-primary': {
500: '#3b82f6',
600: '#2563eb',
700: '#1d4ed8',
},
'error': '#ef4444',
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
fontFamily: {
sans: ['var(--font-inter)', 'system-ui', 'sans-serif'],
poppins: ['var(--font-poppins)', 'system-ui', 'sans-serif'],
},
animation: {
fadeIn: 'fadeIn 0.5s ease-out',
spin: 'spin 1s linear infinite',
},
keyframes: {
fadeIn: {
from: { opacity: '0', transform: 'translateY(20px)' },
to: { opacity: '1', transform: 'translateY(0)' },
},
spin: {
to: { transform: 'rotate(360deg)' },
},
},
},
},
plugins: [],
}