-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
46 lines (45 loc) · 1.08 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
const { boxShadow } = require('tailwindcss/defaultTheme');
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
purge: [
'./src/components/**/*.{js,ts,jsx,tsx}',
'./src/pages/**/*.{js,ts,jsx,tsx}',
],
important: true,
theme: {
extend: {
spacing: {
'2/3': '66.66666667%',
},
animation: {
enter: 'enter 200ms ease-out',
},
keyframes: {
enter: {
'0%': { transform: 'scale(0.9)', opacity: 0 },
'100%': { transform: 'scale(1)', opacity: 1 },
},
},
},
container: {
padding: '1rem',
center: true,
},
boxShadow: {
...boxShadow,
xs: '0 2px 2px rgba(0,0,0,0.02)',
sm: '0 4px 4px rgba(0,0,0,0.02)',
},
},
variants: {
textColor: ['responsive', 'hover', 'focus', 'group-hover'],
backgroundColor: ['responsive', 'hover', 'focus', 'group-hover'],
translate: ['hover', 'focus', 'group-hover'],
opacity: ['hover', 'group-hover'],
scale: ['hover', 'group-hover'],
},
plugins: [],
};