-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
41 lines (40 loc) · 955 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
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: ['**.{html,js,css}'],
darkMode: "class",
theme: {
...defaultTheme,
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
serif: ['Merriweather', 'serif'],
},
extend: {
screens: {
'xs': '321px',
'ms': '400px',
'xxl': '1440px',
},
spacing: {
'8xl': '96rem',
'9xl': '128rem',
},
borderRadius: {
'4xl': '2rem',
}
}
},
variants: {
cursor: ['disabled', 'focus'],
pointerEvents: ['disabled', 'focus'],
backgroundColor: ['disabled', 'focus'],
color: ['disabled', 'focus'],
text: ['disabled', 'focus'],
'box-shadow': ['disabled', 'focus'],
opacity: ['disabled', 'focus'],
border: ['disabled', 'focus'],
'border-color': ['disabled', 'focus'],
},
Plugins: [
require('@tailwindcss/forms'),
],
}