-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathtailwind.config.js
50 lines (50 loc) · 1.22 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
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {
keyframes: {
slide: {
"0%": {
transform: "translateY(-30px)",
opacity: "0.1",
},
"70%": {
transform: "translateY(10px)",
},
"100%": {
transform: "translateY(0px)",
opacity: "1",
},
},
circle: {
"50%": {
transform: "scale(0.99)",
opacity: "0.9",
// filter: "blur(0px)",
},
},
fadeIn: {
"0%": {
opacity: "0.1",
},
"100%": {
opacity: "1",
},
},
},
fontFamily: {
spectral: ["Spectral SC", ...defaultTheme.fontFamily.serif],
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
},
animation: {
slide: "slide 0.2s ease-in-out 1",
fadeIn: "fadeIn 1s ease-in-out 1",
fadeInFast: "fadeIn 0.5s ease-out 1",
circle: "circle 5s cubic-bezier(0.4, 0, 0.6, 1) infinite",
},
},
},
plugins: [],
};