Fix tiny Tailwind config details (#82)
* Fix Tailwind darkMode CSS pref See https://tailwindcss.com/docs/upgrade-guide#remove-dark-mode-configuration. * Fix Tailwind 'purge' -> 'content' See https://tailwindcss.com/docs/upgrade-guide#configure-content-sources. * Remove additional cruft from Tailwind config These literally weren't hurting anything but the upgrade guide suggests toasting them, so might as well do it while I'm in here.
This commit is contained in:
parent
abf9d30ad2
commit
bf408d9bf0
|
@ -1,9 +1,10 @@
|
||||||
const defaultTheme = require('tailwindcss/defaultTheme')
|
const defaultTheme = require('tailwindcss/defaultTheme')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
mode: 'jit',
|
content: [
|
||||||
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
|
'./pages/**/*.{js,ts,jsx,tsx}',
|
||||||
darkMode: false, // or 'media' or 'class'
|
'./components/**/*.{js,ts,jsx,tsx}',
|
||||||
|
],
|
||||||
theme: {
|
theme: {
|
||||||
fontFamily: Object.assign(
|
fontFamily: Object.assign(
|
||||||
{ ...defaultTheme.fontFamily },
|
{ ...defaultTheme.fontFamily },
|
||||||
|
@ -18,9 +19,6 @@ module.exports = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
variants: {
|
|
||||||
extend: {},
|
|
||||||
},
|
|
||||||
plugins: [
|
plugins: [
|
||||||
require('@tailwindcss/forms'),
|
require('@tailwindcss/forms'),
|
||||||
require('@tailwindcss/typography'),
|
require('@tailwindcss/typography'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user