-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
48 lines (48 loc) · 1.35 KB
/
tailwind.config.js
File metadata and controls
48 lines (48 loc) · 1.35 KB
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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
fontFamily: {
gelion: ["gelion"],
poppins: ["Poppins"],
inter: ["Inter", "sans-serif"],
"dm-sans": ["DM Sans"],
},
extend: {
keyframes: {
"slide-in": {
"0%": { transform: "translateX(-100%)" },
"100%": { transform: "translateX(0)" },
},
floatAnimation: {
"0%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-20px)" },
"100%": { transform: "translateY(0)" },
},
headShake: {
"0%, 100%": {
transform: "rotate(0)",
},
"25%": {
transform: "rotate(30deg)",
},
"75%": { transform: "rotate(-30deg)" },
},
},
animation: {
"spin-slow": "spin 6s linear infinite",
"spin-shake": "headShake 3s cubic-bezier(0.4, 0, 0.2, 1) infinite",
"slide-in": "slide-in 1s ease-out",
float: "floatAnimation 3s infinite ease-in-out;",
headShake: "headShake 3s cubic-bezier(0.4, 0, 0.2, 1) infinite",
},
screens: {
wideScreen: "1400px",
smallest: "376px",
xmd: "920px",
// => @media (min-width: 1400px) { ... }
},
},
},
plugins: [],
};