-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
45 lines (44 loc) · 1.1 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
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
purge: ["./pages/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}"],
darkMode: false, // or 'media' or 'class'
theme: {
screens: {
xs: "475px",
...defaultTheme.screens,
},
extend: {
fontFamily: {
sans: ["Poppins", ...defaultTheme.fontFamily.sans],
},
gridTemplateColumns: {
label: "auto 1fr",
},
flex: {
2: "2 2 0%",
3: "3 3 0%",
},
spacing: {
108: "28rem",
},
colors: {
"theme-fg": "#97D700",
"theme-dark": "#092700",
"theme-bg": "#161616",
},
},
},
variants: {
extend: {
dropShadow: ["hover", "focus"],
translate: ["group-hover"],
rotate: ["group-hover"],
borderWidth: ["hover", "focus"],
display: ["group-hover", "hover", "focus"],
visibility: ["group-hover", "hover", "focus"],
pointerEvents: ["group-hover", "hover", "focus"],
ringWidth: ["hover", "active"],
},
},
plugins: [require("@tailwindcss/forms")],
};