-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
51 lines (49 loc) · 1.12 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
// Example `tailwind.config.js` file
const { white } = require("tailwindcss/colors");
const colors = require("tailwindcss/colors");
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
theme: {
colors: {
gray: colors.coolGray,
blue: colors.lightBlue,
red: colors.rose,
pink: colors.fuchsia,
},
fontFamily: {
sans: ["Graphik", "sans-serif"],
serif: ["Merriweather", "serif"],
},
extend: {
spacing: {
128: "32rem",
144: "36rem",
},
borderRadius: {
"4xl": "2rem",
},
},
backgroundColor: (theme) => ({
...theme("colors"),
primaryRed: "#f05454",
primaryBlue: "#30475e",
primaryBlack: "#222831",
primaryWhite: "#e8e8e8",
white: "#ffff",
primarySilver: "#ffff",
}),
textColor: {
primaryRed: "#f05454",
primaryBlue: "#30475e",
primaryBlack: "#222831",
primaryWhite: "#e8e8e8",
},
},
variants: {
extend: {
borderColor: ["focus-visible"],
opacity: ["disabled"],
backgroundColor: ["active"],
},
},
};