-
Notifications
You must be signed in to change notification settings - Fork 6
/
tailwind.config.js
73 lines (72 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
const px0_100 = { ...Array.from(Array(101)).map((_, i) => `${i}px`) };
const px0_1000 = { ...Array.from(Array(1001)).map((_, i) => `${i}px`) };
/** @type {import('tailwindcss').Config} */
export default {
mode: "jit", // css calc()
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
screens: {
sm: { max: "360px" },
md: { max: "640px" },
mdMaxMin: { max: "640px", min: "360px" },
lg: { max: "1024px" },
smMaxLg: { max: "1024px", min: "360px" },
mdMaxLg: { max: "1279px", min: "1025px" },
lgMaxMin: { max: "1279px", min: "640px" },
xl: { min: "1025px" },
},
fontSize: {
h14: ["14px", "20px"],
h15: ["15px", "22px"],
h16: ["16px", "24px"],
h18: ["18px", "24px"],
h20: ["20px", "26px"],
h24: ["24px", "36px"],
h26: ["26px", "36px"],
h32: ["32px", "40px"],
h36: ["36px", "48px"],
h40: ["40px", "52px"],
},
extend: {
aspectRatio: {
storeImg: "10 / 7",
},
minWidth: px0_1000,
minHeight: px0_1000,
maxWidth: px0_1000,
maxHeight: px0_1000,
width: px0_1000,
height: px0_1000,
borderRadius: px0_1000,
fontSize: px0_100,
lineHeight: px0_100,
padding: px0_1000,
margin: px0_1000,
colors: {
"primary-700": "#E05938",
"primary-600": "#E86546",
"primary-500": "#E86F52",
"primary-400": "#FCE7E3",
"primary-300": "#FCEDEA",
"primary-200": "#FEF4F2",
"primary-100": "#FFFCFC",
black: "#111111",
"gray-700": "#333333",
"gray-600": "#666666",
"gray-500": "#999999",
"gray-400": "#CCCCCC",
"gray-300": "#DDDDDD",
"gray-200": "#EEEEEE",
"gray-100": "#F8F8FA",
red: "#FF0000",
white: "#FFFFFF",
kakao: "#FEE500",
kakaoblack: "#000000",
},
backgroundImage: {
basic: "url('/src/assets/basicbackground.png')",
},
},
},
plugins: [],
};