-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
40 lines (39 loc) · 1.26 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss'
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: 'class',
theme: {
extend: {
keyframes: {
fadeIn: {
'0%': { opacity: '0', transform: 'translateY(25px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
spin_words: {
'6%': { transform: 'translateY(-112%)' },
'16%': { transform: 'translateY(-100%)' },
'23%': { transform: 'translateY(-212%)' },
'33%': { transform: 'translateY(-200%)' },
'40%': { transform: 'translateY(-312%)' },
'50%': { transform: 'translateY(-300%)' },
'57%': { transform: 'translateY(-412%)' },
'67%': { transform: 'translateY(-400%)' },
'74%': { transform: 'translateY(-512%)' },
'84%': { transform: 'translateY(-500%)' },
'91%': { transform: 'translateY(-612%)' },
'100%': { transform: 'translateY(-600%)' }
},
},
animation: {
'fadeIn': 'fadeIn 0.5s ease-in-out',
'spin-words': 'spin_words 20s infinite',
},
},
},
plugins: [],
}
export default config