-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
65 lines (65 loc) · 1.46 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
// tailwind.config.js
module.exports = {
important: true,
purge: ['./src/**/*.{js,ts,jsx,tsx}', '.src/components/**/*.{js,ts,jsx,tsx}'],
darkMode: "class", // or 'media' or 'class'
theme: {
extend: {
screens: {
sm: "600px",
md: "960px",
lg: "1280px",
xl: "1920px",
"sm-max": { max: "600px" },
"md-max": { max: "960px" },
"lg-max": { max: "1280px" },
"xl-max": { max: "1920px" },
},
zIndex: {
"-2": "-2",
},
spacing: {
100: "25rem",
128: "32rem",
160: "40rem",
"2x": "calc(200%)",
"3x": "calc(300%)",
"4x": "calc(400%)",
"5x": "calc(500%)",
"6x": "calc(600%)",
"7x": "calc(700%)",
},
margin: {
"-1/2": "-50%",
},
backgroundSize: {
120: "30rem",
},
backgroundImage: {
"coin-board": "url('/src/assets/img/back/coin-board.jpg')",
},
fontSize: {
xs: [".75rem", "inherit"],
},
colors: {
primary: "#FFA71A",
},
cursor: {
crosshair: "crosshair",
"zoom-in": "zoom-in",
},
},
},
variants: {
extend: {
borderWidth: ["hover", "focus"],
width: ["first"],
height: ["first"],
position: ["first"],
},
// mixBlendMode: ['hover', 'focus'],
blur: ["hover", "focus"],
// scale: ['active', 'group-hover'],
cursor: ["hover", "focus"],
},
};