-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
63 lines (61 loc) · 1.5 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
/* eslint-disable @typescript-eslint/no-var-requires */
const colors = require("tailwindcss/colors");
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
purge: {
content: ["./src/**/*.html", "./src/**/*.vue", "./src/**/*.jsx"],
options: {
safelist: [
"hover:bg-gray-500",
"bg-gray-600",
"focus:border-gray-700",
"active:bg-gray-700",
"focus:ring-gray-700",
"hover:bg-brand-secondary-light",
"bg-brand-secondary",
"focus:border-brand-secondary-dark",
"active:bg-brand-secondary-dark",
"focus:ring-brand-secondary-dark",
],
},
},
theme: {
extend: {
colors: {
gray: colors.coolGray,
brand: "#F24C27",
"brand-light": "#F56F52",
"brand-dark": "#D8320D",
"brand-secondary": "#030140",
"brand-secondary-light": "#0F0D5D",
"brand-secondary-dark": "#03022D",
},
gridTemplateRows: {
layout: "250px 1fr 80px",
},
animation: {
"slide-in-up": "slide-in-up 0.1s ease-in",
},
keyframes: {
"slide-in-up": {
"0%": {
transform: "translate3d(0, 100%, 0)",
visibility: "visible",
},
"100%": {
transform: "translate3d(0, 0, 0)",
},
},
},
},
},
variants: {
extend: {
borderColor: ["group-focus"],
},
},
plugins: [require("@tailwindcss/forms")],
};