-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
44 lines (43 loc) · 1.11 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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
purge: {
content: ['./src/**/*.js', './public/index.html'],
css: ['./src/**/*.css']
},
theme: {
extend: {
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans]
},
zIndex: {
'-10': '-10'
},
colors: {
'brand-red': '#ff002b',
'brand-dark-red': '#cc0022'
},
flex: {
inherit: 'inherit',
2: '2 2 0%'
}
}
},
variants: {
float: ['responsive', 'direction'],
margin: ['responsive', 'direction'],
padding: ['responsive', 'direction'],
textAlign: ['responsive', 'direction'],
transformOrigin: ['responsive', 'direction'],
inset: ['responsive', 'direction'],
borderWidth: ['responsive', 'direction'],
borderRadius: ['responsive', 'direction'],
justifyContent: ['responsive', 'direction'],
translate: ['responsive', 'direction'],
},
plugins: [
require('@tailwindcss/ui')({
layout: 'sidebar'
}),
require('tailwindcss-dir')()
]
}