-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtailwind.config.js
More file actions
38 lines (35 loc) · 838 Bytes
/
tailwind.config.js
File metadata and controls
38 lines (35 loc) · 838 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
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
theme: {
extend: {
colors: {
gray: {
...defaultTheme.colors.gray,
750: '#424c5c',
850: '#232b38',
},
},
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
inset: {
'full': '100%',
'1/2': '50%',
},
minWidth: {
48: '12rem',
},
},
},
variants: {
fontWeight: ['active'],
backgroundColor: ['hover', 'dark', 'dark-hover', 'dark-focus'],
textColor: ['hover', 'dark', 'dark-hover', 'dark-focus'],
borderColor: ['dark'],
borderWidth: ['last'],
boxShadow: ['active'],
placeholderColor: ['dark'],
opacity: ['disabled'],
},
plugins: [require('tailwindcss-dark-mode')()],
};