From 6242f648f1c4fb37eef97c71f16e921b7e421b38 Mon Sep 17 00:00:00 2001 From: GeekMaster Date: Fri, 15 Aug 2025 18:51:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=B3=A8=E5=86=8C=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=94=AF=E6=8C=81=20dark=20=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/assets/css/theme-dark.scss | 13 ++++++++++--- web/src/components/LoginDialog.vue | 12 +++++++----- web/src/views/Login.vue | 20 +++++++------------- web/src/views/Register.vue | 20 +++++++------------- 4 files changed, 31 insertions(+), 34 deletions(-) diff --git a/web/src/assets/css/theme-dark.scss b/web/src/assets/css/theme-dark.scss index 283720e6..ebdd86c9 100644 --- a/web/src/assets/css/theme-dark.scss +++ b/web/src/assets/css/theme-dark.scss @@ -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); -} \ No newline at end of file +} diff --git a/web/src/components/LoginDialog.vue b/web/src/components/LoginDialog.vue index 1926f9b0..ba41f8b9 100644 --- a/web/src/components/LoginDialog.vue +++ b/web/src/components/LoginDialog.vue @@ -43,13 +43,13 @@
还没有账号? 已有账号? 登录
diff --git a/web/src/views/Login.vue b/web/src/views/Login.vue index 536a6497..7489d504 100644 --- a/web/src/views/Login.vue +++ b/web/src/views/Login.vue @@ -1,12 +1,12 @@