From c85e625ae2b37a9c1f74357be28dff8dc3f93c05 Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Thu, 17 Sep 2026 10:13:52 +0100 Subject: [PATCH] web/components: use the page text color in the diff file header the header is slotted into the pierre diff element, so its path and rename arrow inherited the syntax foreground rather than the page text color and read as off-white in dark mode. Signed-off-by: oppiliappan --- web/src/lib/components/repo/FileCardHeader.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/components/repo/FileCardHeader.svelte b/web/src/lib/components/repo/FileCardHeader.svelte index 50bb9e3af..77d47e571 100644 --- a/web/src/lib/components/repo/FileCardHeader.svelte +++ b/web/src/lib/components/repo/FileCardHeader.svelte @@ -25,7 +25,7 @@ const isInteractive = $derived(collapsible && onToggle != null); const titleClass = - "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2.5 py-2 text-left select-none"; + "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2.5 py-2 text-left text-foreground-default select-none";