forked from JhumanJ/super-saas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
64 lines (63 loc) · 1.41 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
const colors = require('tailwindcss/colors')
module.exports = {
important: true,
purge: {
content: [
'./resources/**/*.blade.php',
'./resources/**/*.js',
'./resources/**/*.vue'
],
options: {
safelist: [
/.*bg-(nt-blue|blue|gray|red|yellow|green).*/, // Buttons
...['green', 'red', 'blue', 'yellow'].map((color) => ['bg-' + color + '-100', 'border-' + color + '-500']).flat() // Alerts
]
}
},
darkMode: 'class', // or 'media' or 'class'
theme: {
extend: {
maxHeight: {
42: '10.5rem'
},
minHeight: {
6: '1.5rem',
8: '2rem'
},
maxWidth: {
15: '15rem',
10: '10rem',
8: '2rem'
},
colors: {
gray: colors.blueGray,
'nt-blue': {
lighter: colors.blue['100'],
light: colors.blue['300'],
default: colors.blue['500'],
DEFAULT: colors.blue['500'],
dark: colors.blue['800']
},
'notion-dark': {
DEFAULT: '#2F3437',
light: '#454B4E'
}
},
transitionProperty: {
height: 'height',
width: 'width',
spacing: 'margin, padding'
}
}
},
variants: {
extend: {
animation: ['hover'],
brightness: ['hover', 'focus'],
invert: ['dark'],
maxWidth: ['hover'],
display: ['group-hover']
}
},
plugins: []
}