-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
43 lines (41 loc) · 976 Bytes
/
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
/** @type {import('tailwindcss').Config} */
const { theme } = require('./src/styles/theme');
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
darkMode: 'class',
theme: {
container: {
center: true,
padding: '1.5rem',
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
},
},
extend: {
colors: theme.colors,
spacing: theme.spacing,
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideUp: {
'0%': { transform: 'translateY(10px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
},
animation: {
fadeIn: 'fadeIn 0.3s ease-in-out',
slideUp: 'slideUp 0.4s ease-out',
...theme.animation
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
],
};