-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
103 lines (100 loc) · 2.49 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
92
93
94
95
96
97
98
99
100
101
102
103
/** @type {import('tailwindcss').Config} */
const { colors: tailwindColors } = require("tailwindcss/defaultTheme")
const colors = {
gold: {
100: "#DDC289",
300: "#D1AE62",
500: "#C69A3B",
700: "#B88F37",
900: "#B88F37",
},
blue: {
...tailwindColors.blue,
100: "#74CBF9",
300: "#46B9F7",
500: "#18A8F5",
700: "#1697DD",
900: "#1176AC",
},
orange: {
...tailwindColors.orange,
300: "#edc5b2",
400: "#e29979",
500: "#d77044",
},
primary: {
background: "#FEECC9",
light: "#FED891",
base: "#FBB83A",
dark: "#DCA132",
},
secondary: {
background: "#E6EEFD",
light: "#82ABF7",
base: "#2A70F1",
dark: "#205BC7",
// deprecated names
100: "#E6EEFD",
200: "#82ABF7",
400: "#205BC7",
},
tertiary: {
background: "#FBD5C3",
light: "#F49264",
base: "#F06B2C",
dark: "#C45521",
},
navy: {
700: "#30405E",
900: "#0B1E42",
},
gray: {
...tailwindColors.gray,
100: "#F7FAFC",
200: "#EDF2F7",
300: "#E2E8F0",
400: "#CBD5E0",
500: "#A0AEC0",
600: "#718096",
700: "#4A5568",
800: "#2D3748",
900: "#1A202C",
},
black: "#15181a",
success: "#44A748",
warning: "#FBB83A",
danger: "#E03330",
warning_refresh: {
background: "#FDD3D2",
light: "#F6625F",
base: "#E03330",
dark: "#B72A27",
},
}
module.exports = {
content: [
"./templates/**/*.html", "./theme/**/*.html"
],
theme: {
extend: {
colors,
boxShadow: {
outline: `0 0 0 3px ${colors.orange[300]}`,
banner: `0px 1px 8px rgba(0, 0, 0, 0.25)`,
},
},
},
variants: {
backgroundColor: ["responsive", "hover", "focus", "group-hover"],
borderColor: ["responsive", "hover", "focus", "group-hover", "focus-within"],
textColor: ["responsive", "hover", "group-hover", "focus"],
scale: ["responsive", "hover", "focus", "group-hover"],
visibility: ["responsive", "group-hover", "group-focus"],
fill: ["hover"],
display: ({ variants }) => [...variants("display"), "last"],
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
],
}