feat: 暗色模式全站适配
- CSS变量体系 + dark class切换 - 全局Element Plus暗色覆盖 - 前台Home/后台AdminLayout/Login/404全部适配 - 日月图标切换按钮+localStorage持久化 - 手机端隐藏暗色开关
This commit is contained in:
@@ -5,6 +5,7 @@ import router from './router'
|
||||
import ElementPlus from 'element-plus'
|
||||
import 'element-plus/dist/index.css'
|
||||
import './assets/styles/index.scss'
|
||||
import './assets/styles/dark.scss'
|
||||
|
||||
const app = createApp(App)
|
||||
app.use(createPinia())
|
||||
|
||||
Reference in New Issue
Block a user