design: use adaptive buttons for nav panel

This commit is contained in:
Xylight committed 2024-09-01 13:01:32 -07:00
1 parent ef1d13b06f
commit 4e4c351a9c
5 files changed
+34 -52

No files matched your search

+4 -4
View File
@@ -58,19 +58,19 @@
<Menu {...$$restProps}>
<button
class="w-10 h-10 rounded-full ring-1 ring-slate-200 dark:ring-zinc-700
class="w-10 h-10 rounded-full border-2 border-slate-200 dark:border-zinc-700
transition-all bg-slate-50 dark:bg-zinc-900 relative
hover:dark:brightness-125 hover:brightness {$$props.buttonClass}"
hover:border-primary-900 hover:dark:border-primary-100 active:scale-95 {$$props.buttonClass}"
title={$t('profile.profile')}
slot="target"
>
{#if $profile?.user}
<div
class="w-10 h-10 aspect-square object-cover rounded-full grid place-items-center"
class="w-full h-full aspect-square object-cover rounded-full grid place-items-center"
>
<Avatar
url={$profile.user.local_user_view.person.avatar}
width={38}
width={36}
alt={$profile.user.local_user_view.person.name}
/>
</div>