design: use primary color for photon logo

This commit is contained in:
James Xylight committed 2025-08-23 15:36:42 -07:00
1 parent 2a57902ebf
commit ff1c8f50b2
3 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@
}}
href="/"
label={$t('nav.home')}
class="ml-2 lg:ml-2 logo border-0 lg:rounded-full! lg:w-10! lg:h-10 lg:px-0!"
class="ml-2 lg:ml-2 logo border-0 lg:rounded-full! lg:w-10! lg:h-10 lg:px-0! text-primary-900! dark:text-primary-100!"
adaptive={false}
>
{#snippet customIcon()}
@@ -8,11 +8,13 @@
UserGroup,
} from 'svelte-hero-icons'
import Avatar from '../Avatar.svelte'
import { profile } from '$lib/auth.svelte'
import { profile, type ProfileInfo } from '$lib/auth.svelte'
import { goto } from '$app/navigation'
import { page } from '$app/state'
import { t } from '$lib/i18n/translations'
let { profiles }: { profiles: ProfileInfo[] } = $props()
function switchTo(id: number) {
profile.meta.profile = id
@@ -54,7 +56,7 @@
{/snippet}
</Button>
{/snippet}
{#each profile.meta.profiles as p}
{#each profiles as p}
{@const selected = profile.meta.profile == p.id}
<MenuButton
onclick={() => switchTo(p.id)}
+1 -1
View File
@@ -36,7 +36,7 @@
</script>
<nav class={['flex flex-col overflow-auto gap-1', clazz]} {style}>
<ProfileSelection />
<ProfileSelection profiles={profile.meta.profiles} />
<EndPlaceholder size="xs">{$t('profile.profile')}</EndPlaceholder>
{#if profile.current?.jwt}
<SidebarButton