refactor(ui): use bg-surface token instead of bg-white on thumbnail tiles #312
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Flagged by @leonievoss in the review of PR #311:
This pre-existed PR #311 (inherited from
DocumentThumbnail.svelte) and affects both thumbnail components consistently. Filing separately so the fix can touch both surfaces in a single sweep without widening the scope of #305.Affected files
frontend/src/lib/components/ConversationThumbnail.sveltefrontend/src/lib/components/DocumentThumbnail.svelteProposed approach
Replace
bg-whitewithbg-surface(dark-mode-aware token). Re-evaluate whetherdark:mix-blend-multiplyis still needed after the switch — it may become redundant or need adjustment todark:mix-blend-screenfor scans that were relying on the blend-over-white behavior.Before shipping the change:
briefwechsel-a11y.spec.ts) in dark mode to confirm no contrast regressionAcceptance criteria
ConversationThumbnail.sveltenorDocumentThumbnail.sveltecontainsbg-white