-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
40 lines (39 loc) · 951 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
const defaultTheme = require('tailwindcss/defaultTheme');
const colors = require('tailwindcss/colors');
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
mode: 'jit',
purge: ['./src/**/*.ts', './src/**/*.tsx', './public/index.html'],
theme: {
extend: {
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
colors: {
teal: colors.teal,
},
minWidth: (theme) => ({
'0': '0',
...theme('spacing'),
'full': '100%',
'min-content': 'min-content',
'max-content': 'max-content',
}),
minHeight: (theme) => ({
0: '0',
full: '100%',
...theme('spacing'),
screen: '100vh',
}),
},
},
variants: {},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
],
};