-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
61 lines (59 loc) · 1.95 KB
/
Copy pathtailwind.config.ts
File metadata and controls
61 lines (59 loc) · 1.95 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
import type { Config } from "tailwindcss";
import tailwindcssAnimate from "tailwindcss-animate";
const config: Config = {
content: [
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
background: "hsl(210 20% 98%)",
foreground: "hsl(222.2 84% 4.9%)",
card: "hsl(0 0% 100%)",
"card-foreground": "hsl(222.2 84% 4.9%)",
popover: "hsl(0 0% 100%)",
"popover-foreground": "hsl(222.2 84% 4.9%)",
muted: "hsl(210 40% 96.1%)",
"muted-foreground": "hsl(215.4 16.3% 46.9%)",
accent: "hsl(210 40% 96.1%)",
"accent-foreground": "hsl(222.2 47.6% 11.2%)",
destructive: "hsl(0 84.2% 60.2%)",
"destructive-foreground": "hsl(210 40% 98%)",
border: "hsl(214.3 31.8% 91.4%)",
input: "hsl(214.3 31.8% 91.4%)",
ring: "hsl(221.2 83.2% 53.3%)",
primary: "hsl(221.2 83.2% 53.3%)",
"primary-foreground": "hsl(210 40% 98%)",
secondary: "hsl(210 40% 96.1%)",
"secondary-foreground": "hsl(222.2 47.6% 11.2%)",
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
keyframes: {
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
"fade-in-up": {
from: { opacity: "0", transform: "translateY(10px)" },
to: { opacity: "1", transform: "translateY(0)" },
}
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
"fade-in-up": "fade-in-up 0.4s ease-out forwards",
},
},
},
plugins: [tailwindcssAnimate],
};
export default config;