From adba3058b4cf20a48e3405168ed2caa885e1560f Mon Sep 17 00:00:00 2001 From: Marcel Date: Sun, 29 Mar 2026 12:18:13 +0200 Subject: [PATCH] style(#145): bump dashboard widget content links to text-lg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Box content links (document titles, actor names) raised from text-sm to text-lg for improved readability and touch target size. "Show all" stays at text-sm to maintain hierarchy — box links are the primary action. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/lib/components/DashboardMentions.svelte | 4 ++-- frontend/src/lib/components/DashboardNeedsMetadata.svelte | 2 +- frontend/src/lib/components/DashboardRecentDocuments.svelte | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/lib/components/DashboardMentions.svelte b/frontend/src/lib/components/DashboardMentions.svelte index 2473e1b4..b57e2ad2 100644 --- a/frontend/src/lib/components/DashboardMentions.svelte +++ b/frontend/src/lib/components/DashboardMentions.svelte @@ -31,7 +31,7 @@ let { mentions }: Props = $props(); href={mention.annotationId ? `/documents/${mention.documentId}?commentId=${mention.referenceId}&annotationId=${mention.annotationId}` : `/documents/${mention.documentId}?commentId=${mention.referenceId}`} - class="font-serif text-sm text-ink hover:text-ink-2" + class="font-serif text-lg text-ink hover:text-ink-2" > {mention.actorName ?? ''} {#if mention.type === 'MENTION'}{/if} {:else} - {mention.actorName ?? ''} + {mention.actorName ?? ''} {/if} {/each} diff --git a/frontend/src/lib/components/DashboardNeedsMetadata.svelte b/frontend/src/lib/components/DashboardNeedsMetadata.svelte index 7cde5a87..cb197418 100644 --- a/frontend/src/lib/components/DashboardNeedsMetadata.svelte +++ b/frontend/src/lib/components/DashboardNeedsMetadata.svelte @@ -22,7 +22,7 @@ let { incompleteDocs }: Props = $props();
{doc.title} diff --git a/frontend/src/lib/components/DashboardRecentDocuments.svelte b/frontend/src/lib/components/DashboardRecentDocuments.svelte index 5f3e7dae..bea58716 100644 --- a/frontend/src/lib/components/DashboardRecentDocuments.svelte +++ b/frontend/src/lib/components/DashboardRecentDocuments.svelte @@ -34,7 +34,7 @@ function formatDate(dateStr: string): string {