登录注册页面支持 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

@@ -43,13 +43,13 @@
<div class="w-full">
<div
class="text flex justify-center items-center pt-3 text-sm"
style="color: var(--login-text-color);"
style="color: var(--login-text-color)"
>
还没有账号
<el-button
size="small"
class="ml-2 rounded-md px-2 py-1 transition-colors duration-200"
style="color: var(--login-link-color);"
style="color: var(--login-link-color)"
@click="login = false"
@mouseenter="$event.target.style.background = 'var(--login-link-hover-bg)'"
@mouseleave="$event.target.style.background = 'transparent'"
@@ -217,14 +217,16 @@
<div
class="text text-sm flex justify-center items-center w-full pt-3"
style="color: var(--login-text-color);"
style="color: var(--login-text-color)"
>
已有账号
<el-button
size="small"
class="ml-2 rounded-md px-2 py-1"
style="color: var(--login-link-color);"
class="ml-2 rounded-md px-2 py-1 transition-colors duration-200"
style="color: var(--login-link-color)"
@click="login = true"
@mouseenter="$event.target.style.background = 'var(--login-link-hover-bg)'"
@mouseleave="$event.target.style.background = 'transparent'"
>登录</el-button
>
</div>