-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
111 lines (108 loc) · 3.35 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
const { fontFamily } = require("tailwindcss/defaultTheme");
module.exports = {
darkMode: "class",
mode: "jit",
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./stories/*"],
important: true,
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
keyframes: {
showModalBg: {
from: { opacity: "0" },
to: { opacity: "1" },
},
showModalBox: {
from: { opacity: "0", marginTop: "-30px" },
to: { opacity: "1", marginTop: "0" },
},
wiggle: {
"0%, 100%": { transform: "rotate(-3deg)" },
"50%": { transform: "rotate(3deg)" },
},
loading: {
"0%": {
transform: " translateX(0)",
},
"50%": {},
"100%": {
transform: "translateX(400px)",
},
},
},
animation: {
"spin-slow": "spin 5s ease infinite",
"showmodal-bg": "showModalBg 0.3s ",
"showmodal-box": "showModalBox 0.3s ",
wiggle: "wiggle 1s ease-in-out infinite",
shimmer: "loading 2s cubic-bezier(0.5, 0, 0.25, 1) infinite",
},
colors: {
//primary
"primary-tint": "rgba(227, 250, 252, 0.35)",
"primary-light": "#e3fafc",
"primary-default": "#15aabf", //rgb(21, 170, 191)
"primary-dark": "#1098ad", //rgb(16, 152, 173)
//Grayscale
"gray-light": "#f9f9fb",
"gray-default": "rgb(237, 240, 243)",
"gray-dark": "rgb(145 161 180)", //#91a1b4
"gray-hover": "rgba(0, 0, 0, 0.05)",
"black-light": "#475569",
"black-default": "#334155",
"black-dark": "#1e293b",
//tag&badge 와 같은 point color
//*red
"point-red-light": "rgb(253 164 175)",
"point-red": "rgb(244 63 94)",
"point-red-dark": "rgb(225 29 72)",
//*yellow
"point-yel-light": "rgb(253 230 138)",
"point-yel": "rgb(252 211 77)",
"point-yel-dark": "rgb(251 191 36)",
//*green
"point-gr-light": "#6ed8cd",
"point-gr": "#47c6b9",
"point-gr-dark": "#1eb7a7",
//*blue
"point-blue-light": "#7abef5",
"point-blue": "#2b96ed",
"point-blue-dark": "#1683db",
//*indigo
"point-indigo-light": "rgb(199 210 254)",
"point-indigo": "rgb(165 180 252)",
"point-indigo-dark": "rgb(99 102 241)",
//shadow
"primary-shadow": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
"secondary-shadow": "rgb(0 0 0 / 20%) 0px 0px 0px 0.5px",
},
fontFamily: {
Roboto: ["Roboto", "serif"],
RobotoThin: ["Roboto Regular"],
RobotoBold: ["Roboto Bold"],
NotoSansKR: ["Noto Sans KR", "sans-serif"],
rubik: ["var(--rubik)"],
},
screens: {
desktop: "1120px",
xl: { max: "1279px" },
lg: { max: "1023px" },
md: { max: "767px" },
sm: { max: "639px" },
},
gridTemplateColumns: {
"listpage-desktop": "269px minmax(1fr, 835px)",
},
backgroundImage: {
shimmerGradient: "linear-gradient(to right, #e1e9ee, #f2f8fc, #e1e9ee)",
colorpickerDefaultGradient:
"linear-gradient(transparent, black), linear-gradient(to right, white, transparent)",
},
},
},
plugins: [],
};