-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
96 lines (90 loc) · 2.18 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
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
chelsea: ["var(--font-chelsea)"],
poppins: ['"Poppins"', "sans-serif"],
},
aspectRatio: {
"3/2": "3 / 2",
},
screens: {
xs: "440px",
sm: "640px",
// => @media (min-width: 640px) { ... }
ml: "768px",
// => @media (min-width: 768px) { ... }
lg: "1080px",
// => @media (min-width: 1024px) { ... }
xl: "1280px",
// => @media (min-width: 1280px) { ... }
"2xl": "1536px",
// => @media (min-width: 1536px) { ... }
},
spacing: {
"1/2": "50%",
"1/2vw": "50vw",
"1/2vh": "50vh",
"1/3": "33.333333%",
"1/3vw": "33.333333vw",
"2/3": "66.666667%",
"2/3vh": "66.66667vh",
"1/4": "25%",
"1/4vw": "25vw",
"2/4": "50%",
"3/4": "75%",
"1/5": "20%",
"1/5vw": "20vw",
"2/5": "40%",
"3/5": "60%",
"4/5": "80%",
"1/6": "16.666667%",
"1/6vw": "17vw",
"2/6": "33.333333%",
"3/6": "50%",
"4/6": "66.666667%",
"5/6": "83.333333%",
"1/7": "14.28571428571429%",
"1/8": "12.5%",
"1/12": "8.333333%",
"2/12": "16.666667%",
"3/12": "25%",
"4/12": "33.333333%",
"5/12": "41.666667%",
"6/12": "50%",
"7/12": "58.333333%",
"8/12": "66.666667%",
"9/12": "75%",
"10/12": "83.333333%",
"11/12": "91.666667%",
"2xs": "512px",
xs: "576px",
sm: "640px",
md: "768px",
ml: "900px",
lg: "1024px",
xl: "1280px",
full: "100%",
auto: "auto",
"screen-minus-navbar": "calc(100vh - 68px)",
},
maxWidth: (theme) => ({
...theme("spacing"),
}),
minWidth: (theme) => ({
...theme("spacing"),
}),
minHeight: (theme) => ({
...theme("spacing"),
}),
maxHeight: (theme) => ({
...theme("spacing"),
}),
},
},
plugins: [],
};