2022-08-07 23:55:36 +03:00
|
|
|
const colors = require('tailwindcss/colors');
|
2022-08-08 00:07:47 +03:00
|
|
|
const defaultConfig = require('tailwindcss/defaultConfig');
|
2021-05-21 04:28:02 +03:00
|
|
|
|
2021-02-15 12:59:00 +03:00
|
|
|
module.exports = {
|
2022-08-07 23:55:36 +03:00
|
|
|
mode: 'jit',
|
|
|
|
purge: ['./pages/**/*.tsx', './components/**/*.tsx'],
|
|
|
|
darkMode: 'class',
|
|
|
|
theme: {
|
|
|
|
colors: {
|
|
|
|
gray: colors.gray,
|
|
|
|
blue: colors.blue,
|
2022-11-07 05:02:00 +03:00
|
|
|
red: colors.red,
|
|
|
|
yellow: colors.yellow,
|
2022-08-07 23:55:36 +03:00
|
|
|
transparent: 'transparent',
|
|
|
|
current: 'currentColor',
|
|
|
|
},
|
|
|
|
screens: {
|
|
|
|
md: '768px',
|
|
|
|
},
|
|
|
|
extend: {
|
|
|
|
cursor: {
|
|
|
|
'col-resize': 'col-resize',
|
|
|
|
},
|
|
|
|
nightwind: {
|
|
|
|
typography: true,
|
|
|
|
colorClasses: ['divide', 'placeholder'],
|
|
|
|
},
|
|
|
|
},
|
2022-08-08 00:07:47 +03:00
|
|
|
fontFamily: {
|
2022-09-04 02:25:31 +03:00
|
|
|
sans: ['Noto Sans'].concat(defaultConfig.theme.fontFamily['sans']),
|
2022-11-07 05:02:00 +03:00
|
|
|
mono: defaultConfig.theme.fontFamily['mono']
|
2022-09-04 02:25:31 +03:00
|
|
|
},
|
2021-05-21 04:28:02 +03:00
|
|
|
},
|
2022-08-07 23:55:36 +03:00
|
|
|
variants: {
|
|
|
|
extend: {
|
|
|
|
display: ['group-hover'],
|
|
|
|
visibility: ['group-hover'],
|
|
|
|
backgroundColor: ['active'],
|
|
|
|
borderWidth: ['last'],
|
|
|
|
},
|
2021-05-21 04:28:02 +03:00
|
|
|
},
|
2022-08-07 23:55:36 +03:00
|
|
|
plugins: [require('@tailwindcss/typography'), require('nightwind')],
|
|
|
|
};
|