登录注册页面支持 dark 主题模式

This commit is contained in:
GeekMaster
2025-08-15 18:51:33 +08:00
parent c0832a24b9
commit 6242f648f1
4 changed files with 31 additions and 34 deletions

View File

@@ -1,10 +1,17 @@
@use 'font.scss' as *;
:root[data-theme="dark"] {
:root[data-theme='dark'] {
--text-fb: #fff;
--text-color: rgba(255, 255, 255, 1) !important; // 主要的文本颜色
--normal-color: rgba(163, 174, 208, 1); // 普通颜色
--el-text-color-primary: #fff;
p, h1, h2, h3, h4, h5, h6, article {
p,
h1,
h2,
h3,
h4,
h5,
h6,
article {
// color: var(--text-color) !important;
font-family: $font-regular;
}
@@ -107,4 +114,4 @@
--login-text-color: #a3aed0;
--login-link-color: #d1c7ff;
--login-link-hover-bg: rgba(209, 199, 255, 0.1);
}
}