-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
91 lines (89 loc) · 1.93 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
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
// purge: [],
purge: {
content: ["./src/**/*.html"],
safelist: [
// Classes that appear in cart once there are items in it
// Note: some of these are also on the page elsewhere, I'm just being overly careful...
"bg-orange",
"flex",
"flex-col",
"flex-shrink",
"font-bold",
"gap-4",
"h-4",
"h-auto",
"items-center",
"justify-between",
"justify-center",
"p-5",
"rounded-lg",
"text-black",
"text-center",
"text-gray-dark",
"text-white",
"truncate",
"w-4",
"w-14",
"w-48",
"w-full",
],
},
mode: "jit",
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
orange: {
light: "#ffeee2",
DEFAULT: "#ff731b",
active: "#ffab6a",
},
gray: {
"very-light": "#e4e9f2",
light: "#f6f8fd",
DEFAULT: "#b6bcc8",
dark: "#69707d",
},
black: {
DEFAULT: "#1d2026",
},
},
boxShadow: {
"bottom-orange": "0px 20px 50px -20px #FF7E1B",
gray: "0px 20px 50px -20px rgba(29, 32, 38, 0.503143)",
},
spacing: {
0.25: "3px",
18: "72px",
},
fontSize: {
xxs: ["10px", "10px"],
},
fill: (theme) => ({
orange: theme("colors.orange.active"),
black: theme("colors.black"),
}),
flex: {
100: "0 0 100%",
"one-third": "0 0 30%",
"two-thirds": "0 0 66%",
},
},
fontFamily: {
"kumbh-sans": ['"Kumbh Sans"'],
},
screens: {
xs: "475px",
...defaultTheme.screens,
},
},
variants: {
extend: {
backgroundColor: ["active"],
borderColor: ["active"],
},
},
plugins: [require("tailwindcss"), require("autoprefixer")],
};