-
Notifications
You must be signed in to change notification settings - Fork 116
/
tailwind.config.js
77 lines (77 loc) · 1.49 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
future: {
// removeDeprecatedGapUtilities: true,
// purgeLayersByDefault: true,
},
content: ["./templates/**/*.html"],
theme: {
screens: {
sm: "480px",
md: "768px",
lg: "976px",
xl: "1440px",
},
fontFamily: {
sans: ["Lato", "Noto Sans SC", "-apple-system", "sans-serif"],
},
extend: {
spacing: {
128: "32rem",
144: "36rem",
},
borderRadius: {
"4xl": "2rem",
},
animation: {
search: "searchShow .2s both",
},
zIndex: {
999: "999",
"-1": "-1",
},
transformOrigin: {
50: "50% 50%",
full: "100%",
},
filter: {
60: "brightness(0.6)",
},
boxShadow: {
lx: "0 1px 40px -8px rgb(0 0 0 / 50%)",
none: "none",
},
maxWidth: {
16: "16rem",
},
margin: {
card: "68px auto 0",
avatar: "-52px 8px 4px",
},
},
rotate: {
"-45": "-45deg",
"-90": "-90deg",
90: "90deg",
},
minHeight: {
100: "100px",
},
maxHeight: {
200: "200px",
},
transform: {
"-half": "translate(-50%,-50%)",
},
},
variants: {
// textColor: ['dark'],
// textOpacity: ['dark'],
// backgroundColor: ['dark'],
},
plugins: [
require("@tailwindcss/line-clamp"),
// require('tailwindcss-dark-mode')()
],
};