Add dark mode support (#16)

This commit is contained in:
AceDataCloud committed 2024-04-04 18:12:31 +00:00
1 parent ddef4cec2a
commit b8970e1373
46 files changed
+247 -166

No files matched your search

+12
View File
@@ -7,6 +7,18 @@ body {
overflow: hidden;
}
html,
html.dark,
:root {
--el-color-primary: #277186;
--el-color-primary-light-3: #689caa;
--el-color-primary-light-5: #93b8c3;
--el-color-primary-light-7: #bed4db;
--el-color-primary-light-8: #d4e3e7;
--el-color-primary-light-9: #e9f1f3;
--el-color-primary-dark-2: #1f5a6b;
}
* {
box-sizing: border-box;
}
+1 -11
View File
@@ -1,14 +1,4 @@
@forward 'element-plus/theme-chalk/src/common/var.scss' with (
$colors: (
'primary': (
'base': #277186
),
'danger': (
'base': #ec4450
)
)
);
$--font-path: 'element-plus/theme-chalk/src/fonts';
@import 'element-plus/theme-chalk/src/index.scss';
@import 'element-plus/theme-chalk/dark/css-vars.css';