feat: 暗黑模式自定义样式统一调整

Former-commit-id: 7af83db7f0e80c03e78db388b802168847ded436
This commit is contained in:
haoxr
2023-01-17 23:20:29 +08:00
parent 50cc85bad3
commit f7df411480
21 changed files with 256 additions and 243 deletions

View File

@@ -1,11 +1,19 @@
// only scss variables
$--colors: (
"primary": (
"base": #589ef8,
),
"primary": ("base": red),
);
@forward "element-plus/theme-chalk/src/dark/var.scss" with (
$colors: $--colors
);
@forward "element-plus/theme-chalk/src/dark/var.scss" with ($colors: $--colors);
html.dark {
.navbar {
background-color: var(--el-bg-color);
color: var(--el-text-color-regular);
}
.hamburger {
fill: var(--el-text-color-regular);
}
}