upgrade to tailwind v3.0

This commit is contained in:
spencerwooo
2021-12-16 13:08:08 +08:00
parent 2b0430f2af
commit 8e127d50e6
4 changed files with 84 additions and 395 deletions
+1 -5
View File
@@ -4,8 +4,7 @@ const siteConfig = require('./config/site.json')
module.exports = {
mode: 'jit',
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
darkMode: 'media',
content: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
theme: {
colors: {
transparent: 'transparent',
@@ -32,8 +31,5 @@ module.exports = {
}
}
},
variants: {
extend: {},
},
plugins: [],
}