notea/tailwind.config.js

37 lines
779 B
JavaScript
Raw Normal View History

const colors = require('tailwindcss/colors')
2021-02-15 12:59:00 +03:00
module.exports = {
mode: 'jit',
purge: ['./pages/**/*.tsx', './components/**/*.tsx'],
2021-02-21 10:26:01 +03:00
darkMode: 'class',
2021-02-15 12:59:00 +03:00
theme: {
colors: {
gray: colors.gray,
blue: colors.blue,
2021-05-21 04:46:02 +03:00
transparent: 'transparent',
current: 'currentColor',
},
screens: {
md: '768px',
},
2021-02-20 15:11:53 +03:00
extend: {
cursor: {
'col-resize': 'col-resize',
},
2021-02-21 14:02:46 +03:00
nightwind: {
typography: true,
2021-03-08 15:07:50 +03:00
colorClasses: ['divide', 'placeholder'],
2021-02-21 14:02:46 +03:00
},
2021-02-20 15:11:53 +03:00
},
},
variants: {
extend: {
display: ['group-hover'],
2021-05-26 04:37:11 +03:00
visibility: ['group-hover'],
2021-02-21 09:34:22 +03:00
backgroundColor: ['active'],
2021-03-03 16:27:14 +03:00
borderWidth: ['last'],
2021-02-20 15:11:53 +03:00
},
2021-02-15 12:59:00 +03:00
},
2021-02-21 14:02:46 +03:00
plugins: [require('@tailwindcss/typography'), require('nightwind')],
2021-02-15 12:59:00 +03:00
}