-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
56 lines (56 loc) · 1.72 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
module.exports = {
mode: "jit",
purge: ["./src/**/*.html", "./src/**/*.vue"],
darkMode: "class", // or 'media' or 'class'
theme: {
fontFamily: {
"sans": "Helvetica Neue"
},
extend: {
colors: {
// primary: "#5311DF",
// primary: "#BC2649",
primary: "#fe3769",
// secondary: "#015950",
secondary: "#01c896",
tertiary: "#F8E3AF",
yellow_primary: "#EDFCC2",
yellow_secondary: "#D3A400",
dark: "#151515"
},
zIndex: {
"-10": "-10",
},
keyframes: {
"wiggle": {
"0%, 100%": {
transform: "rotate(5deg)", "transform-origin": "right bottom"
},
"50%": {
transform: "rotate(30deg)", "transform-origin": "right bottom"
},
},
},
animation: {
"wiggle": "wiggle 1s ease-in-out infinite",
"spin-vinyl": "spin 2s linear infinite",
},
},
},
variants: {
extend: {},
},
content: ["./src/**/*.{html,js}', './node_modules/tw-elements/dist/js/**/*.js"],
corePlugins: {
fill: true,
},
plugins: [require("tw-elements/dist/plugin"),
function ({ addUtilities }) {
const newUtilities = {
".fill-secondary": {
fill: "#01c896",
},
};
addUtilities(newUtilities, ["responsive", "hover"]);
}],
};