fix(web): theme header differences (#1085)

* feat(theme): add default header colors for theme differences

* refactor(theme): update UserProfile component colors to use theme variables

* fix(theme): safely handle default header colors for themes
This commit is contained in:
Zack Spear
2025-01-30 11:14:30 -08:00
committed by GitHub
parent e7d15ee5ec
commit 1ecac5ee4e
3 changed files with 50 additions and 5 deletions
+2 -2
View File
@@ -120,7 +120,7 @@ onMounted(() => {
<span class="text-right text-12px sm:text-18px hidden 2xs:block" v-html="description" />
<span class="text-header-text-secondary hidden md:inline-block px-8px">&bull;</span>
</template>
<button :title="t('Click to Copy LAN IP {0}', [lanIp])" class="opacity-100 hover:opacity-75 focus:opacity-75 transition-opacity" @click="copyLanIp()">
<button :title="t('Click to Copy LAN IP {0}', [lanIp])" class="text-header-text-primary opacity-100 hover:opacity-75 focus:opacity-75 transition-opacity" @click="copyLanIp()">
{{ name }}
</button>
<span
@@ -132,7 +132,7 @@ onMounted(() => {
</span>
</h1>
<div class="block w-2px h-24px bg-popover" />
<div class="block w-2px h-24px bg-header-text-secondary" />
<!-- Keep the sidebar out of staging/prod builds, but easily accessible for development -->
<NotificationsSidebar />
+1 -1
View File
@@ -21,7 +21,7 @@ const upgradeAction = computed((): ServerStateDataAction | undefined => {
<span class="flex flex-row items-center gap-x-8px">
<template v-if="upgradeAction">
<UpcServerStateBuy
class="text-white"
class="text-header-text-secondary"
:title="t('Upgrade Key')"
@click="upgradeAction.click?.()"
>