generated from viatora/viatora-template-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
47 lines (47 loc) · 1.26 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {
colors: {
"clarks-orange": "#FEBC12",
"clarks-red": "#C14627",
},
fontFamily: {
jost: ["Jost", "sans-serif"],
blanch: ["Blanch-Caps"],
damion: ["Damion", "serif"],
goudy: ["GoudyStd-Heavyface"],
},
animation: {
"spin-pulse": "spin-pulse 10s linear infinite",
"flicker-1": "flicker 1.5s steps(2) infinite",
"flicker-2": "flicker 2.1s steps(2) infinite 0.3s",
"flicker-3": "flicker 1.8s steps(2) infinite 0.7s",
},
keyframes: {
"spin-pulse": {
"0%": { transform: "rotateY(0deg) scale(1)" },
"50%": { transform: "rotateY(180deg) scale(0.95)" },
"100%": { transform: "rotateY(360deg) scale(1)" },
},
flicker: {
"0%, 100%": { opacity: "0" },
"50%": { opacity: "1" },
},
},
},
},
plugins: [
function ({ addUtilities }) {
addUtilities({
".transform-style-3d": {
"transform-style": "preserve-3d",
},
".backface-hidden": {
"backface-visibility": "hidden",
},
});
},
],
};