-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
56 lines (49 loc) · 1.37 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
const colors = require("tailwindcss/colors");
module.exports = {
purge: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
darkMode: "class",
theme: {
colors: {
nightPrimary: colors.amber[800],
darkPrimary: colors.amber[700],
primary: colors.amber[600],
lightPrimary: colors.amber[300],
darkSecondary: colors.gray[700],
secondary: colors.gray[600],
lightSecondary: colors.gray[300],
darkSuccess: colors.green[700],
success: colors.green[600],
lightSuccess: colors.green[300],
darkInfo: colors.blue[700],
info: colors.blue[600],
lightInfo: colors.blue[300],
darkDanger: colors.red[700],
danger: colors.red[600],
lightDanger: colors.red[300],
light: colors.white,
light1: colors.gray[50],
light2: colors.gray[100],
darkText: colors.gray[200],
dark1: colors.gray[700],
dark2: colors.gray[800],
dark3: colors.gray[900],
// Default
transparent: "transparent",
current: "currentColor",
black: colors.black,
white: colors.white,
},
borderColor: (theme) => ({
...theme("colors"),
DEFAULT: theme("colors.lightSecondary", "currentColor"),
}),
},
variants: {
extend: {
backgroundColor: ["checked"],
borderColor: ["checked"],
ringWidth: ["hover"],
},
},
plugins: [],
};