feat: 整合tailwindcss
This commit is contained in:
parent
61eb5efdd1
commit
9f7aa82451
|
|
@ -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: [],
|
||||
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue