-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
78 lines (77 loc) · 1.91 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
screens: {
// 1280 ~ : none
// 768 ~ 1279 : laptop
laptop: { max: "1279px" },
// 768 ~ 1024 : middle
middle: { max: "1024px" },
// ~ 767 : mobile
mobile: { max: "767px" },
// ~ 1150 : item column 2
twocol: { max: "1150px" },
// ~ 705 : item column 1
onecol: { max: "705px" },
},
extend: {
colors: {
mainBlue: "#185ADB",
lightBlue: "#B1CCFF",
vibrantBlue: "#27A3FF",
darkBlue: "#292D32",
whiteBlue: "#E4EDFF",
blueGray: "#CEDAF3",
darkGray: "#7C7C7C",
lightGray: "#E1E1E1",
warningRed: "#F96353",
slateBlack: "#404040",
},
fontFamily: {
bold: ["LINESeedKR-Bd", "sans"],
regular: ["LINESeedKR-Rg", "sans"],
thin: ["LINESeedKR-Th", "sans"],
},
fontSize: {
lgTitle: "38px",
mdTitle: "22px",
smTitle: "18px",
md: "16px",
p: "14px",
sm: "12px",
},
keyframes: {
customShake: {
"0%": {
transform: "translate(1px, 0px)",
},
"20%": {
transform: "translate(-1px, 0px)",
},
"40%": {
transform: "translate(1px, 0px)",
},
"60%": {
transform: "translate(-2px, 0px)",
},
"80%": {
transform: "translate(-1px, 0px)",
},
"100%": {
transform: "translate(1px, 0px)",
},
},
modalBgShow: {
from: { opacity: 0 },
to: { opacity: 1 },
},
modalBlockShow: {
from: { opacity: 0, marginTop: "-20px" },
to: { opacity: 1, marginTop: 0 },
},
},
},
},
plugins: [require("@tailwindcss/line-clamp")],
};