misc: tweak user link color
This commit is contained in:
1 parent
e7c7f4baf3
commit
1400779b18
6 files changed
+7
-6
No files matched your search
@@ -12,7 +12,7 @@
|
||||
import RelativeDate from '$lib/components/util/RelativeDate.svelte'
|
||||
import CommentForm from './CommentForm.svelte'
|
||||
import { page } from '$app/stores'
|
||||
import UserLink from '$lib/components/user/UserLink.svelte'
|
||||
import UserLink from '$lib/components/lemmy/user/UserLink.svelte'
|
||||
import Markdown from '$lib/components/markdown/Markdown.svelte'
|
||||
import CommentActions from '$lib/components/lemmy/comment/CommentActions.svelte'
|
||||
import { createEventDispatcher } from 'svelte'
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import CommunityLink from '$lib/components/lemmy/community/CommunityLink.svelte'
|
||||
import Avatar from '$lib/components/ui/Avatar.svelte'
|
||||
import Badge from '$lib/components/ui/Badge.svelte'
|
||||
import UserLink from '$lib/components/user/UserLink.svelte'
|
||||
import UserLink from '$lib/components/lemmy/user/UserLink.svelte'
|
||||
import RelativeDate from '$lib/components/util/RelativeDate.svelte'
|
||||
import type { Community, Person } from 'lemmy-js-client'
|
||||
import { Bookmark, Icon, InformationCircle, Trash } from 'svelte-hero-icons'
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
PencilSquare,
|
||||
} from 'svelte-hero-icons'
|
||||
import FormattedNumber from '$lib/components/util/FormattedNumber.svelte'
|
||||
import UserLink from '$lib/components/user/UserLink.svelte'
|
||||
import UserLink from '$lib/components/lemmy/user/UserLink.svelte'
|
||||
|
||||
export let user: PersonView
|
||||
</script>
|
||||
|
||||
+2
-1
@@ -6,6 +6,7 @@
|
||||
export let user: Person
|
||||
export let avatar: boolean = false
|
||||
export let avatarSize = 24
|
||||
export let badges = true
|
||||
|
||||
function linkFromCommunity(user: Person) {
|
||||
const domain = new URL(user.actor_id).hostname
|
||||
@@ -23,7 +24,7 @@
|
||||
<span class="flex gap-0">
|
||||
{#if !user.local && $userSettings.showInstance}
|
||||
{user.name}
|
||||
<span class="opacity-60 font-normal">
|
||||
<span class="text-slate-500 dark:text-zinc-400 font-normal">
|
||||
@{new URL(user.actor_id).hostname}
|
||||
</span>
|
||||
{:else}
|
||||
Reference in new issue
Block a user