feat: 整合tailwindcss
Former-commit-id: 9f7aa8245149c0e45790277d4780dc93dbe1c495
This commit is contained in:
1 parent
ea3da5a586
commit
6749c10cfc
3 files changed
+25
No files matched your search
@@ -0,0 +1,6 @@
|
|||||||
|
module.exports = {
|
||||||
|
plugins: {
|
||||||
|
tailwindcss: {},
|
||||||
|
autoprefixer: {},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
@tailwind base;
|
||||||
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
||||||
@@ -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: [],
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
Reference in new issue
Block a user