style: 暗色主题定义变量

This commit is contained in:
chenlong
2024-12-23 18:13:56 +08:00
parent 390a8e9c41
commit 46d93eb24a
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -5,6 +5,7 @@ import Antd from "ant-design-vue";
import "ant-design-vue/dist/reset.css";
import VChart from "vue-echarts";
import "echarts";
import './style.css'
const app = createApp(App);
app.use(router);
+6
View File
@@ -22,6 +22,12 @@
--box-shadow-light: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.dark{
--component-background: #141414;
--text-color: rgba(255, 255, 255, 0.85);
}
/* 基础样式重置 */
* {
margin: 0;