Commit 4b1a051e by xinla

开启自动暗黑模式

1 parent cb70f395
......@@ -87,7 +87,7 @@
--bg-black-10: var(--bg-black-1-1);
--bg-black-11: var(--bg-black-1-2);
--bg-white: #000;
--bg-white: #030303;
}
/* 项目定制原子类 */
......
......@@ -14,9 +14,9 @@ import ElementPlus, { ElNotification } from 'element-plus'
import 'element-plus/dist/index.css'
app.use(ElementPlus, {})
// import 'element-plus/theme-chalk/dark/css-vars.css'
// import { useDark, useToggle } from '@vueuse/core'
// useDark()
import 'element-plus/theme-chalk/dark/css-vars.css'
import { useDark, useToggle } from '@vueuse/core'
useDark()
import '@/styles/index.scss'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!