-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathtailwind.config.js
More file actions
47 lines (47 loc) · 1.86 KB
/
tailwind.config.js
File metadata and controls
47 lines (47 loc) · 1.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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}", "./src/app/globals.css"],
darkMode: "class",
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>)",
popover: "hsl(var(--popover) / <alpha-value>)",
"popover-foreground": "hsl(var(--popover-foreground) / <alpha-value>)",
primary: "hsl(var(--primary) / <alpha-value>)",
"primary-foreground": "hsl(var(--primary-foreground) / <alpha-value>)",
secondary: "hsl(var(--secondary) / <alpha-value>)",
"secondary-foreground":
"hsl(var(--secondary-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>)",
destructive: "hsl(var(--destructive) / <alpha-value>)",
"destructive-foreground":
"hsl(var(--destructive-foreground) / <alpha-value>)",
border: "hsl(var(--border) / <alpha-value>)",
input: "hsl(var(--input) / <alpha-value>)",
ring: "hsl(var(--ring) / <alpha-value>)",
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
keyframes: {
"slide-in": {
"0%": { transform: "translateX(16px)", opacity: "0" },
"100%": { transform: "translateX(0)", opacity: "1" },
},
},
animation: {
"slide-in": "slide-in 200ms ease-out forwards",
},
},
},
plugins: [],
};