-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
43 lines (43 loc) · 1.17 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
/** @type {import('tailwindcss').Config} */
module.exports = {
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: {
dark: {},
light: {},
width: {
'128': '32rem',
},
keyframes: {
slideRight: {
'from': { transform: 'translateX(-20px)' },
'to': { transform: 'translateX(0)' }
},
slideTop: {
'from': { transform: 'translateY(-20px)' },
'to': { transform: 'translateY(0)' }
},
slideBottom: {
'from': { transform: 'translateY(40px)' },
'to': { transform: 'translateY(0)' }
},
lineLoading: {
'from': { transform: 'translateX(-100%)' },
'to': { transform: 'translateX(200%)' }
}
},
animation: {
slideRight: 'slideRight 0.3s ease-in-out forwards',
slideTop: 'slideTop 0.3s ease-in-out forwards',
slideBottom: 'slideBottom 0.3s ease-in-out forwards',
lineLoading: 'lineLoading 2s ease-in-out infinite'
}
},
},
plugins: [],
};