-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
46 lines (45 loc) · 1.07 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
const colors = require("tailwindcss/colors");
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
darkMode: "class", // or 'media' or 'class'
theme: {
variables: {
".th-blue": {
primary: colors.blue,
secondary: colors.green,
},
".th-red": {
primary: colors.red,
secondary: colors.orange,
},
".th-yellow": {
primary: colors.yellow,
secondary: colors.gray,
},
},
extend: {
colors: {
primary: {
100: "var(--primary-100)",
500: "var(--primary-500)",
},
secondary: {
100: "var(--secondary-100)",
500: "var(--secondary-500)",
},
"dark-primary": {
100: "var(--dark-primary-100)",
500: "var(--dark-primary-500)",
},
"dark-secondary": {
100: "var(--dark-secondary-100)",
500: "var(--dark-secondary-500)",
},
},
},
},
variants: {
extend: {},
},
plugins: [require("@mertasan/tailwindcss-variables")],
};