feat: 整合tailwindcss

Former-commit-id: 9f7aa8245149c0e45790277d4780dc93dbe1c495
This commit is contained in:
haoxr committed 2022-12-31 22:04:00 +08:00
1 parent ea3da5a586
commit 6749c10cfc
3 files changed
+25

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
+4
View File
@@ -0,0 +1,4 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
+15
View File
@@ -0,0 +1,15 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
purge: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
backgroundColor: theme => ({
...theme('colors'),
"sidebar-logo":'#2b2f3a'
})
},
plugins: [],
}