-
Notifications
You must be signed in to change notification settings - Fork 9
/
tailwind.config.ts
74 lines (72 loc) · 1.76 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: ["class"],
theme: {
extend: {
screens: {
xl: "1320px",
lg: "900px",
md: "720px",
sm: "350px",
},
colors: {
primary: "var(--background-color)",
secondary: "var(--foreground)",
blue: "var(--blue)",
grass: "var(--grass)",
danger: "red",
"gray-1": "var(--gray-1)",
"gray-2": "var(--gray-2)",
"gray-3": "var(--gray-3)",
"gray-4": "var(--gray-4)",
overlay: "var(--overlay)",
},
spacing: {
"1": "5px",
"2": "10px",
"3": "15px",
"4": "20px",
"4.4": "25px",
"4.5": "30px",
"4.7": "35px",
"5": "40px",
"6": "50px",
"7": "60px",
},
keyframes: {
slideDownAndFade: {
from: {
opacity: "0",
transform: "translateY(-10px)",
},
to: {
opacity: "1",
transform: "translateY(0)",
},
},
slideUpAndFade: {
from: {
opacity: "0",
transform: "translateY(10px)",
},
to: {
opacity: "1",
transform: "translateY(0)",
},
},
},
animation: {
slideDownAndFade:
"slideDownAndFade 300ms cubic-bezier(0.16, 1, 0.3, 1)",
slideUpAndFade: "slideUpAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)",
},
},
},
plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")],
};
export default config;