-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
76 lines (75 loc) · 2.22 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
const plugin = require("tailwindcss/plugin")
module.exports = {
content: [
"./src/**/*.{ts,tsx}",
],
darkMode: "class",
theme: {
extend: {
flex: {
content: "0 1 content",
},
aspectRatio: {
"hex": "1/1.1547005",
"2/3": "2/3",
"5/6": "5/6",
},
minWidth: {
"4": "1rem",
"16": "4rem",
},
maxWidth: {
"screen": "100vw"
},
width: {
"6/8": "75%",
"7/8": "87.5%",
},
height: {
"6/8": "75%",
"1/8": "12.5%",
},
rotate: {
"120": "120deg",
"60": "60deg",
},
boxShadow: {
"inner-lg": "inset 0 2px 4px 0 rgb(0 0 0 / 0.1)",
},
transitionProperty: {
"flex-grow": "flex-grow",
},
transitionDelay: {
"0": "0ms",
},
keyframes: {
"roll": {
"0%, 100%": {transform: "rotateX(0deg) rotateY(0deg)"},
"16.66%": {transform: "rotateX(-90deg) rotateY(0deg)"},
"33.33%": {transform: "rotateX(0deg) rotateY(90deg)"},
"50%": {transform: "rotateX(0deg) rotateY(-90deg)"},
"66.66%": {transform: "rotateX(90deg) rotateY(0deg)"},
"83.33%": {transform: "rotateX(0deg) rotateY(180deg)"},
}
},
animation: {
"roll": "roll 2.1s linear infinite",
},
screens: {
"sm-h-and-aspect-4/3": {
"raw": "(min-height: 480px) and (min-aspect-ratio: 4/3)"
}
}
},
},
plugins: [
require("@tailwindcss/forms"),
plugin(function({ addBase, theme }) {
addBase({
"h1": { fontSize: theme("fontSize.2xl") },
"h2": { fontSize: theme("fontSize.xl") },
"h3": { fontSize: theme("fontSize.lg") },
})
})
],
}