feat: tweak color

This commit is contained in:
Xyphyn committed 2023-07-29 12:40:06 -07:00
1 parent a72ce72f7f
commit e2c08d1806
4 files changed
+44 -20

No files matched your search

@@ -1,4 +1,5 @@
<script lang="ts">
import ShieldIcon from '$lib/components/lemmy/moderation/ShieldIcon.svelte'
import Avatar from '$lib/components/ui/Avatar.svelte'
import { userSettings } from '$lib/settings.js'
import type { Person } from 'lemmy-js-client'
@@ -30,4 +31,11 @@
{user.name}
{/if}
</span>
{#if user.admin}
<span>
<div class="text-red-500" title="Admin">
<ShieldIcon width={12} filled />
</div>
</span>
{/if}
</a>