-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
113 lines (112 loc) · 2.55 KB
/
tailwind.config.js
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/** @type {import('tailwindcss').Config} */
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}"],
content: [
"./src/**/*.{js,jsx,ts,tsx}"
],
theme: {
screens: {
"md": { "max": "768px" },
},
colors: {
black: "#000000",
white: "#ffffff",
gray: "#A9A7A1",
blackTint: "rgba(0, 0, 0, 0.2)",
emailBg: "#F5F6FB",
focus: "#657Ef8",
},
fontFamily: {
sans: ["Linlegrey", "Roboto"],
serif: ["Destine", "Helvetica Neue"],
genshin: ["Genshin", "Roboto"],
notoRegular: ["Noto Sans KR Regular", "Roboto"],
notoMedium: ["Noto Sans KR Medium", "Roboto"],
},
extend: {
fontSize: {
"240": "10vw",
},
zIndex: {
"999": 999,
"1000": 1000,
"1001": 1001,
},
margin: {
"auto": "0 auto",
},
spacing: {
"64": "64rem",
"px-2": "2px",
"0.5": "0.5rem",
"1vw": "1vw",
"2vw": "2vw",
"3vw": "3vw",
"4vw": "4vw",
"5vw": "5vw",
"10vw": "10vw",
"20vw": "20vw",
"40vh": "40vh",
"80vh": "80vh",
"2vmax": "2vmax",
"10vmax": "10vmax",
"20vmax": "20vmax",
"full-4": "calc(100% + 4px)",
},
maxWidth: {
"70": "70%",
"contents": "1294px",
},
maxHeight: {
"px-712": "712px",
},
flex: {
"5": 5,
"8": "8 1 400px",
},
borderRadius: {
"upperCircle": "calc(10vmax + 1px)",
},
borderWidth: {
"1": "1px",
},
scale: {
"200": "2",
},
transitionDuration: {
"540": "540ms",
"1200": "1200ms"
},
animation: {
'sound': 'soundScale 1.5s infinite ease',
'scroll': "scroll 1.2s infinite ease-in-out",
'slideIn': "slideIn 0.54s ease",
"slideOut": "slideOut 1.2s ease",
},
keyframes: {
soundScale: {
'0% 100%': { transform: 'scaleY(2)' },
'50%': { transform: 'scaleY(15)' },
},
scroll: {
'0%': { top: '1.5rem' },
'100%': { top: '4rem' },
},
slideIn: {
'0%': { transform: "translateX(100%)" },
'100%': { transform: "translateX(0)" },
},
slideOut: {
'0%': { transform: "translateX(0)" },
'100%': { transform: "translateX(100%)" },
},
}
},
},
variants: {
animationDelay: ["responsive", "hover"],
},
plugins: [
require("tailwindcss-animation-delay"),
],
}