-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.ts
57 lines (56 loc) · 1.35 KB
/
tailwind.config.ts
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
const px0_10 = { ...Array.from(Array(11)).map((_, i) => `${i}px`) };
const px0_100 = { ...Array.from(Array(101)).map((_, i) => `${i}px`) };
const px0_1000 = { ...Array.from(Array(1001)).map((_, i) => `${i}px`) };
const px0_10000 = { ...Array.from(Array(10001)).map((_, i) => `${i}px`) };
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
top: px0_1000,
right: px0_1000,
left: px0_1000,
bottom: px0_1000,
width: px0_1000,
maxWidth: px0_10000,
minWidth: px0_10000,
maxHeight: px0_10000,
minHeight: px0_10000,
height: px0_1000,
padding: px0_100,
border: px0_10,
borderRadius: px0_100,
spacing: px0_100,
backgroundColor: {
dim: "rgba(0, 0, 0, 0.3)",
},
fontFamily: {
noto: ["Noto Sans KR", "sans-serif"],
},
fontSize: {
xs: "12px",
sm: "14px",
base: "16px",
lg: "18px",
xl: "20px",
"2xl": "22px",
"3xl": "24px",
},
colors: {
primary: "#6366f1",
secondary: "#29303d",
red: "#ff0000",
},
saturate: {
10: ".1",
30: ".3",
50: ".5",
70: ".7",
},
},
},
plugins: [],
};