misc: Add setting

This commit is contained in:
Xyphyn committed 2023-07-10 09:49:05 -07:00
1 parent fab41a6784
commit ae07e8b14b
5 files changed
+76 -5

No files matched your search

@@ -17,6 +17,7 @@
import UserLink from '$lib/components/user/UserLink.svelte'
import Markdown from '$lib/components/markdown/Markdown.svelte'
import CommentVote from '$lib/components/lemmy/comment/CommentVote.svelte'
import { userSettings } from '$lib/settings.js'
export let node: CommentNodeI
export let postId: number
@@ -86,7 +87,9 @@
commentId={node.comment_view.comment.id}
/>
<button
class="{Color.borderDark} h-full px-2 flex flex-row items-center gap-1
class="{$userSettings.newComments
? Color.borderDark
: 'hover:bg-slate-200 hover:dark:bg-zinc-800'} h-full px-2 flex flex-row items-center gap-1
rounded-md transition-colors"
on:click={() => (replying = !replying)}
>