feat: 优化 UI 样式

This commit is contained in:
mofeng-git
2026-07-17 22:07:25 +08:00
parent 8bd16df6f8
commit 79b6683817
4 changed files with 11 additions and 17 deletions

View File

@@ -2712,7 +2712,7 @@ watch(isWindows, () => {
<SidebarMenuButton
:is-active="activeSection === item.id"
:tooltip="item.label"
class="h-10 px-3 text-foreground"
class="h-10 px-3 text-foreground data-[active=true]:bg-primary data-[active=true]:text-primary-foreground data-[active=true]:shadow-sm data-[active=true]:hover:bg-primary data-[active=true]:hover:text-primary-foreground"
@click="selectSection(item.id)"
>
<component :is="item.icon" />
@@ -3269,7 +3269,6 @@ watch(isWindows, () => {
<div class="flex items-center justify-between gap-4">
<div>
<Label>{{ t('settings.otgFunctionKeyboard') }}</Label>
<p class="text-xs text-muted-foreground">{{ t('settings.otgFunctionKeyboardDesc') }}</p>
</div>
<Switch v-model="config.hid_otg_functions.keyboard" />
</div>