-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
44 lines (44 loc) · 946 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
const { fontFamily } = require("tailwindcss/defaultTheme")
const colors = require("tailwindcss/colors")
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}"],
darkMode: "class", // or 'media' or 'class'
theme: {
extend: {
width: {
"2.8/12": "23%",
},
margin: {
sidebar: "23%",
},
colors: {
gray: {
...colors.gray,
100: "#f7f7f7",
},
yellow: {
...colors.yellow,
link: "rgba(250, 208, 0, 0.2)",
},
},
fontSize: {
"7xl": "8rem",
},
},
fontFamily: {
sans: ["Karla", ...fontFamily.sans],
display: ["Rubik", "Arial"],
},
},
variants: {
extend: {
borderColor: ["dark"],
borderOpacity: ["dark"],
borderRadius: ["dark"],
borderStyle: ["dark"],
borderWidth: ["dark"],
backgroundColor: ["odd", "dark"],
},
},
plugins: [],
}