Upgrade tailwindcss to v3 and dependencies; migrate config file
This commit is contained in:
parent
2fca205106
commit
42f03fc557
2178
package-lock.json
generated
2178
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -75,10 +75,10 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-react": "^2.0.0",
|
||||
"autoprefixer": "^9.8.8",
|
||||
"postcss": "^7.0.39",
|
||||
"autoprefixer": "^10.4.8",
|
||||
"postcss": "^8.4.16",
|
||||
"source-map-explorer": "^2.5.2",
|
||||
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.6",
|
||||
"tailwindcss": "^3.1.8",
|
||||
"vite": "^3.0.4",
|
||||
"vite-plugin-compression": "^0.5.1"
|
||||
}
|
||||
|
@ -10,8 +10,7 @@ function withOpacity(variableName) {
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./index.html"],
|
||||
darkMode: false, // or 'media' or 'class'
|
||||
content: ["./src/**/*.{js,jsx,ts,tsx}", "./index.html"],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
@ -53,12 +52,5 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
},
|
||||
variants: {
|
||||
extend: {
|
||||
cursor: ["disabled"],
|
||||
backgroundColor: ["disabled"],
|
||||
textColor: ["disabled"],
|
||||
},
|
||||
},
|
||||
plugins: [],
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user