mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-04-24 03:54:26 +08:00
登录注册页面支持 dark 主题模式
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user