-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
108 lines (82 loc) · 2.07 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
97
98
99
100
101
102
103
104
105
106
107
108
import * as kit from "@fission-suite/kit"
import defaultTheme from "tailwindcss/defaultTheme.js"
export default {
purge: {
content: [ "dist/*.js" ],
safelist: [
"animate-loading-bugfix-placeholder-rotate",
"animate-loading-bugfix-placeholder-line-1",
"animate-loading-bugfix-placeholder-line-2",
"animate-loading-bugfix-placeholder-line-3",
"animate-loading-bugfix-placeholder-line-4",
]
},
/////////////////////////////////////////
// THEME ////////////////////////////////
/////////////////////////////////////////
theme: {
// Colors
// ------
colors: {
...kit.dasherizeObjectKeys(kit.colors),
"current-color": "currentColor",
"inherit": "inherit",
"transparent": "transparent"
},
// Fonts
// -----
fontFamily: kit.fonts,
// Inset
// -----
inset: {
"auto": "auto",
"0": 0,
"1/2": "50%",
"full": "100%"
},
// Opacity
// -------
opacity: {
"0": "0",
"025": ".025",
"05": ".05",
"075": ".075",
"10": ".1",
"20": ".2",
"25": ".25",
"30": ".3",
"40": ".4",
"50": ".5",
"60": ".6",
"70": ".7",
"75": ".75",
"80": ".8",
"90": ".9",
"100": "1",
},
// Extensions
// ==========
extend: {
keyframes: kit.keyframes,
animation: kit.animations,
fontSize: kit.fontSizes,
screens: {
dark: { raw: "(prefers-color-scheme: dark)" }
},
},
},
/////////////////////////////////////////
// VARIANTS /////////////////////////////
/////////////////////////////////////////
variants: {
borderColor: [ "first", "last", "responsive" ],
borderRadius: [ "first", "last", "responsive" ],
borderWidth: [ "first", "last", "responsive" ],
margin: [ "first", "last", "responsive" ],
padding: [ "first", "last", "responsive" ]
},
/////////////////////////////////////////
// PLUGINS //////////////////////////////
/////////////////////////////////////////
plugins: []
}