-
Notifications
You must be signed in to change notification settings - Fork 5
/
tailwind.config.js
42 lines (40 loc) · 1.04 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
const colors = require('tailwindcss/colors');
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
theme: {
colors: {
black: '#000',
white: '#fff',
blue: colors.blue,
gray: colors.blueGray,
green: colors.green,
red: colors.rose,
yellow: colors.yellow,
cyan: colors.cyan,
indigo: colors.indigo,
},
borderColor: theme => ({
...theme('colors'),
transparent: 'transparent',
}),
extend: {
spacing: {
15: '60px',
},
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
},
},
variants: {
extend: {
opacity: ['disabled'],
backgroundColor: ['disabled'],
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/typography'),
],
};