-
Notifications
You must be signed in to change notification settings - Fork 11
/
tailwind.config.js
48 lines (47 loc) · 992 Bytes
/
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: {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
options: {
safelist: [
"bg-red-300",
"bg-yellow-300",
"bg-green-300",
"bg-blue-300",
"bg-purple-300",
"bg-pink-300",
],
},
},
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
primary: "#243E8B",
secondary: {
100: "#FFB81C",
200: "#F8E3B4",
},
},
fontFamily: {
sans: ["Poppins", ...defaultTheme.fontFamily.sans],
},
textColor: {
primary: "#243E8B",
secondary: {
100: "#FFB81C",
200: "#F8E3B4",
},
},
},
},
variants: {
extend: {
display: ["group-hover"],
padding: ["group-hover"],
transform: ["group-hover"],
scale: ["group-hover"],
},
},
plugins: [require("@tailwindcss/forms")],
};