mirror of
https://github.com/QingWei-Li/notea.git
synced 2024-11-25 15:12:51 +03:00
615041a927
/debug: Added a /debug page that's only accessible if a fatal error in configuration has occurred. settings: The settings page now includes a debugging section with similar content to the debug page. This still needs styling but is otherwise OK.
44 lines
1.2 KiB
JavaScript
44 lines
1.2 KiB
JavaScript
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')],
|
|
};
|