diff --git a/src/lib/components/lemmy/community/CommunityHeader.svelte b/src/lib/components/lemmy/community/CommunityHeader.svelte index e4f8a78e..6dda5914 100644 --- a/src/lib/components/lemmy/community/CommunityHeader.svelte +++ b/src/lib/components/lemmy/community/CommunityHeader.svelte @@ -41,6 +41,7 @@ import { amMod, isAdmin } from '../moderation/moderation' import { block, blockInstance, purgeCommunity } from './CommunityCard.svelte' import CommunityFlair from './CommunityFlair.svelte' + import { client } from '$lib/client/lemmy.svelte' interface Props { community: Community @@ -176,15 +177,17 @@ {/snippet} - + {#if client().setFlair} + + {/if} {/if} {#if profile.current?.user && profile.current.user.moderates diff --git a/src/lib/components/markdown/renderers/MdParagraph.svelte b/src/lib/components/markdown/renderers/MdParagraph.svelte index 7b2c32f3..f50c8dbb 100644 --- a/src/lib/components/markdown/renderers/MdParagraph.svelte +++ b/src/lib/components/markdown/renderers/MdParagraph.svelte @@ -4,8 +4,6 @@ let { children } = $props() const options = getContext('options') - - console.log(options.noStyle)

diff --git a/src/lib/components/ui/sidebar/ProfileSelection.svelte b/src/lib/components/ui/sidebar/ProfileSelection.svelte index 8eef8879..f4e8e4cb 100644 --- a/src/lib/components/ui/sidebar/ProfileSelection.svelte +++ b/src/lib/components/ui/sidebar/ProfileSelection.svelte @@ -34,7 +34,7 @@ alignment="left" size="md" rounding="xl" - class="flex flex-row gap-2 items-center" + class="flex flex-row gap-2! items-center" aria-label={$t('aria.sidebar.accounts')} > {#snippet prefix()} @@ -48,9 +48,9 @@

{profile.current.username}
{#if !LINKED_INSTANCE_URL}
- {profile.current.client?.name ?? DEFAULT_CLIENT_TYPE.name} + + {profile.current.client?.name ?? DEFAULT_CLIENT_TYPE.name} + • {profile.current.instance}
{/if} @@ -69,7 +69,7 @@ {@const selected = profile.meta.profile == p.id} switchTo(p.id)} - class={[selected && 'bg-slate-100! dark:bg-zinc-800!']} + class={[selected && 'bg-slate-100! dark:bg-zinc-800!', 'gap-2!']} > {#snippet prefix()} @@ -78,9 +78,9 @@
{p.username}
{#if !LINKED_INSTANCE_URL}
- {p.client?.name ?? DEFAULT_CLIENT_TYPE.name} + + {p.client?.name ?? DEFAULT_CLIENT_TYPE.name} + • {p.instance}
{/if} diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json index d9a1d1b9..2e4e7cb2 100644 --- a/src/lib/i18n/en.json +++ b/src/lib/i18n/en.json @@ -265,6 +265,11 @@ }, "translators": "Translators", "accounts": "Accounts", + "accounts.placeholder": { + "title": "Not logged in", + "description": "You aren't logged in. You can sign up or log in here.", + "descriptionWithGuest": "You aren't logged in. You can log in, sign up, or add a new guest account here." + }, "explore": { "title": "Explore", "feeds": "Feeds", diff --git a/src/lib/mono/button/Button.svelte b/src/lib/mono/button/Button.svelte index d03d9e79..bbd6eafb 100644 --- a/src/lib/mono/button/Button.svelte +++ b/src/lib/mono/button/Button.svelte @@ -318,6 +318,10 @@ pointer-events: none; filter: brightness(90%); cursor: normal; + + @variant dark { + filter: brightness(70%); + } } } diff --git a/src/routes/accounts/+page.svelte b/src/routes/accounts/+page.svelte index 52dfc393..ef43ebfe 100644 --- a/src/routes/accounts/+page.svelte +++ b/src/routes/accounts/+page.svelte @@ -1,11 +1,15 @@