-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
87 lines (82 loc) · 1.99 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
keyframes: {
skeleton: {
"0%": { transform: "translateX(-150%)" },
"50%": { transform: "translateX(-60%)" },
"100%": { transform: "translateX(150%)" },
},
loading: {
"0%": { transform: "rotate(0deg)" },
"12.5%": { transform: "rotate(15deg)" },
"25%": { transform: "rotate(45deg)" },
"37.5%": { transform: "rotate(90deg)" },
"50%": { transform: "rotate(165deg)" },
"62.5%": { transform: "rotate(255deg)" },
"75%": { transform: "rotate(315deg)" },
"87.5%": { transform: "rotate(345deg)" },
"100%": { transform: "rotate(360deg)" },
},
},
animation: {
skeleton: "skeleton 2.5s linear infinite",
loading: "loading 1s linear infinite",
},
boxShadow: {
elevaiton: "0px 4px 20px 0px rgba(112, 144, 176, 0.15);",
},
textColor: {
skyBlue: "#2492F4",
subBlue: "#237BC9",
lightBlue: "#135C9D",
primaryBlue03: "#002C53",
},
fontSize: {
h1: "40px",
h2: "36px",
h3: "32px",
h4: "28px",
h5: "24px",
h6: "20px",
b1: "18px",
b2: "16px",
b3: "14px",
caption: "12px",
},
lineHeight: {
h1: "60px",
h2: "54px",
h3: "48px",
h4: "40px",
h5: "36px",
h6: "28px",
b1: "26px",
b2: "24px",
b3: "20px",
caption: "18px",
},
fontWeight: {
b: "700",
m: "500",
r: "300",
},
},
screens: {
ow: "0px",
sm: "320px",
// sm: "640px",
// sm: "768px",
// md: "768px",
md: "1024px",
// lg: "1024px",
lg: "1280px",
// xl: "1280px",
xl: "1536px",
"2xl": "1536px",
},
},
plugins: [],
};