-
Notifications
You must be signed in to change notification settings - Fork 28
/
tailwind.config.js
75 lines (71 loc) · 2.13 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
purge: [
'./vendor/laravel/jetstream/**/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
'./resources/js/**/*.vue',
],
theme: {
extend: {
fontFamily: {
sans: ['Nunito', ...defaultTheme.fontFamily.sans],
},
fontSize: {
'2xs': '.65rem',
},
minWidth: {
'0': '0',
'3': '0.75rem',
'6': '1.5rem',
'12': '3.0rem',
'18': '4.5rem',
'20': '10rem',
'22': '15rem',
'24': '20rem',
'26': '25rem',
'28': '30rem',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
'full': '100%',
'screen': '100vw',
'min': 'min-content',
'max': 'max-content'
},
minHeight: {
'0': '0px',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
'full': '100%',
'screen': '100vh',
'min': 'min-content',
'max': 'max-content'
},
maxHeight: {
'0': '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
'full': '100%',
'screen': '100vh',
'min': 'min-content',
'max': 'max-content',
}
}
},
variants: {
extend: {
opacity: ['disabled'],
textColor: ['hover','active'],
backgroundColor : ['active'],
fontWeight: ['hover', 'active' ,'focus'],
borderWidth: ['first','last','hover'],
borderRadius: ['first','last'],
padding: ['focus'],
zIndex: ['hover'],
},
},
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography'),require('tailwind-scrollbar')],
};