🎈 perf: 优化登录界面样式

This commit is contained in:
IGCrystal
2025-06-12 23:26:01 +08:00
parent b84e22e41f
commit b4fa08c4e2
4 changed files with 219 additions and 12 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
<img width="110" src="@/assets/images/astrbot_logo_mini.webp" alt="AstrBot Logo">
</div>
<div class="logo-text">
<h2 class="text-secondary">{{ title }}</h2>
<h2 :style="{color: useCustomizerStore().uiTheme === 'PurpleTheme' ? '#5e35b1' : '#d7c5fa'}">{{ title }}</h2>
<!-- 父子组件传递css变量可能会出错暂时使用十六进制颜色值 -->
<h4 :style="{color: useCustomizerStore().uiTheme === 'PurpleTheme' ? '#000000aa' : '#ffffffcc'}"
class="hint-text">{{ subtitle }}</h4>