From 50e3f948c7e5aa94ef410eb80195b57f2c844fe0 Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 26 Mar 2026 10:09:17 +0100 Subject: [PATCH] fix(upload): use border-ink/20 and primary color for drop zone visibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In light mode, border-line-2 (#eeede8) was nearly invisible and accent (#a1dcd8, mint) was too light for hover text. Switch to: - border-ink/20 — navy-tinted dashed border, readable in both modes - hover:border-primary / hover:text-primary — navy in light, mint in dark Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/routes/+page.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte index 7b9ab16e..3e51d4f2 100644 --- a/frontend/src/routes/+page.svelte +++ b/frontend/src/routes/+page.svelte @@ -298,8 +298,8 @@ $effect(() => { role="button" tabindex="0" class="mb-4 flex cursor-pointer items-center justify-center gap-3 border border-dashed px-6 py-3 text-sm transition-colors duration-150 {isDragging - ? 'border-accent bg-accent/5 text-accent' - : 'border-line-2 text-ink-3 hover:border-accent hover:text-accent'}" + ? 'border-primary bg-accent-bg text-primary' + : 'border-ink/20 text-ink-3 hover:border-primary hover:text-primary'}" ondragover={handleDragOver} ondragleave={handleDragLeave} ondrop={handleDrop}