-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
48 lines (47 loc) · 1.06 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
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
purge: {
enabled: false,
},
future: {
purgeLayersByDefault: true,
removeDeprecatedGapUtilities: true,
},
variants: {
animation: ["motion-safe"]
},
theme: {
extend: {
fontSize: {
"2xs": ".6rem",
},
screens: {
"light-mode": { raw: "(prefers-color-scheme: light)" },
"dark-mode": { raw: "(prefers-color-scheme: dark)" },
},
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
},
animation: {
"spin-slow": "spin 3s linear infinite",
fadeIn: "fadeIn 0.8s ease forwards"
},
keyframes: {
fadeIn: {
"0%": { opacity: 0, position: 'relative', top: 20 },
"100%": { opacity: 1, position: 'relative', top: 0 }
}
},
transitionDuration: {
0: "0ms",
2000: "2000ms",
},
},
},
plugins: [
require("@tailwindcss/ui")({
layout: "sidebar",
}),
require("@tailwindcss/forms"),
],
};