Merge branch 'main' into keybinds

This commit is contained in:
Xylight authored and GitHub committed 2025-08-11 20:46:21 +00:00
commit 70b039be4c
5 files changed
+68 -44

No files matched your search

@@ -26,6 +26,7 @@
import type { CommentNodeI } from './comments.svelte'
import { page } from '$app/state'
import { keybindComment } from '$lib/ui/keybinds.svelte'
import { settings } from '$lib/settings.svelte'
interface Props {
node: CommentNodeI
@@ -196,6 +197,11 @@
/>
{/if}
</span>
{#if settings.debugInfo}
<span class="text-slate-600 dark:text-zinc-400 font-mono ml-auto">
#{node.comment_view.comment.id}
</span>
{/if}
</button>
{/if}
<div class={['expand max-w-full', open && 'open', contentClass]}>
@@ -3,7 +3,7 @@
vote == 1
? `bg-primary-900 dark:bg-primary-100 text-slate-50 dark:text-zinc-900`
: vote == -1
? `dark:bg-red-400 dark:text-zinc-900`
? `bg-red-500 text-slate-50 dark:bg-red-400 dark:text-zinc-900`
: ''
export const shouldShowVoteColor = (