-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
39 lines (38 loc) · 1005 Bytes
/
tailwind.config.js
File metadata and controls
39 lines (38 loc) · 1005 Bytes
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
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
darkMode: 'class',
content: ['./resources/assets/**/*.js', './resources/views/**/*.blade.php', './resources/views/**/**/*.blade.php'],
safelist: [
{
pattern: /justify-(start|between|end)/,
variants: ['sm', 'md', 'lg'],
},
{
pattern: /items-(start|center|end)/,
variants: ['sm', 'md', 'lg'],
},
{
pattern: /flex-(1|auto|initial|none)/,
variants: ['sm', 'md', 'lg'],
},
{
pattern: /hidden/,
variants: ['sm', 'md', 'lg'],
},
],
theme: {
extend: {
fontFamily: {
sans: ['Nunito', ...defaultTheme.fontFamily.sans],
},
zIndex: {
75: 75,
},
},
},
plugins: [
require('@tailwindcss/forms')({
strategy: 'class',
}),
],
};