-
-
Notifications
You must be signed in to change notification settings - Fork 382
/
tailwind.config.js
43 lines (42 loc) · 1.2 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
const colors = require('tailwindcss/colors');
const defaultConfig = require('tailwindcss/defaultConfig');
module.exports = {
mode: 'jit',
purge: ['./pages/**/*.tsx', './components/**/*.tsx'],
darkMode: 'class',
theme: {
colors: {
gray: colors.gray,
blue: colors.blue,
red: colors.red,
yellow: colors.yellow,
transparent: 'transparent',
current: 'currentColor',
},
screens: {
md: '768px',
},
extend: {
cursor: {
'col-resize': 'col-resize',
},
nightwind: {
typography: true,
colorClasses: ['divide', 'placeholder'],
},
},
fontFamily: {
sans: ['Noto Sans'].concat(defaultConfig.theme.fontFamily['sans']),
mono: defaultConfig.theme.fontFamily['mono']
},
},
variants: {
extend: {
display: ['group-hover'],
visibility: ['group-hover'],
backgroundColor: ['active'],
borderWidth: ['last'],
},
},
plugins: [require('@tailwindcss/typography'), require('nightwind')],
};