-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.js
More file actions
80 lines (80 loc) · 2.78 KB
/
Copy pathtailwind.config.js
File metadata and controls
80 lines (80 loc) · 2.78 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
76
77
78
79
80
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
colors: {
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
card: "hsl(var(--card))",
"card-foreground": "hsl(var(--card-foreground))",
popover: "hsl(var(--popover))",
"popover-foreground": "hsl(var(--popover-foreground))",
primary: "hsl(var(--primary))",
"primary-foreground": "hsl(var(--primary-foreground))",
secondary: "hsl(var(--secondary))",
"secondary-foreground": "hsl(var(--secondary-foreground))",
muted: "hsl(var(--muted))",
"muted-foreground": "hsl(var(--muted-foreground))",
accent: "hsl(var(--accent))",
"accent-foreground": "hsl(var(--accent-foreground))",
destructive: "hsl(var(--destructive))",
"destructive-foreground": "hsl(var(--destructive-foreground))",
border: "hsl(var(--border))",
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
},
borderRadius: {
lg: "1rem",
md: "0.75rem",
sm: "0.5rem",
},
keyframes: {
slideIn: {
"0%": { transform: "translateY(20px)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
pulse: {
"0%, 100%": {
opacity: "1",
boxShadow: "0 0 15px hsl(var(--primary) / 0.5)",
},
"50%": {
opacity: ".7",
boxShadow: "0 0 25px hsl(var(--primary) / 0.7)",
},
},
glitch: {
"0%, 100%": { transform: "translate(0)" },
"20%": { transform: "translate(-2px, 2px)" },
"40%": { transform: "translate(-2px, -2px)" },
"60%": { transform: "translate(2px, 2px)" },
"80%": { transform: "translate(2px, -2px)" },
},
},
animation: {
slideIn: "slideIn 0.6s ease-out forwards",
fadeIn: "fadeIn 0.6s ease-out forwards",
pulse: "pulse 3s infinite",
glitch: "glitch 0.3s ease-in-out infinite",
},
fontSize: {
xs: ["0.75rem", { lineHeight: "1rem" }],
sm: ["0.875rem", { lineHeight: "1.25rem" }],
base: ["1rem", { lineHeight: "1.5rem" }],
lg: ["1.125rem", { lineHeight: "1.75rem" }],
xl: ["1.25rem", { lineHeight: "1.75rem" }],
"2xl": ["1.5rem", { lineHeight: "2rem" }],
"3xl": ["1.875rem", { lineHeight: "2.25rem" }],
"4xl": ["2.25rem", { lineHeight: "2.5rem" }],
"5xl": ["3rem", { lineHeight: "1.2" }],
"6xl": ["3.75rem", { lineHeight: "1.1" }],
},
},
},
plugins: [],
};