Lesereise interlude is unreadable in dark mode — light text on light orange background #801

Open
opened 2026-06-10 22:41:01 +02:00 by marcel · 0 comments
Owner

Problem

Found during visual verification of #797/#800: in dark mode, the journey interlude block keeps its hardcoded bg-orange-50 (light cream) while text-ink remaps to light sand — light-on-light, effectively unreadable. The LESEREISE badge on the detail header hardcodes the same raw orange utilities.

Root cause

JourneyInterlude.svelte uses border-orange-400 bg-orange-50 and the badge in geschichten/[id]/+page.svelte uses bg-orange-50 text-orange-700 border-orange-200 — raw Tailwind colors that don't remap. The mode-aware journey-* tokens (--color-journey-tint/-journey/-journey-border, dark values #3a2a1a/#e8862a/#7a4a1e) already exist and are used by GeschichteListRow/JourneyItemRow — the reader components just predate them.

Fix

  • JourneyInterlude.svelte: border-orange-400 bg-orange-50border-journey-border bg-journey-tint (keep text-ink, which is mode-aware)
  • geschichten/[id]/+page.svelte badge: border-orange-200 bg-orange-50 text-orange-700border-journey-border bg-journey-tint text-journey
  • Update the LR-2 impl-ref rows (Journey-Badge, Interlude-Block) in docs/specs/lesereisen-reader-spec.html

Acceptance criteria

  • Interlude readable in both modes (ink on journey-tint)
  • Badge uses the same journey tokens as the list badge
  • LR-2 impl-ref updated
## Problem Found during visual verification of #797/#800: in dark mode, the journey interlude block keeps its hardcoded `bg-orange-50` (light cream) while `text-ink` remaps to light sand — light-on-light, effectively unreadable. The LESEREISE badge on the detail header hardcodes the same raw orange utilities. ## Root cause `JourneyInterlude.svelte` uses `border-orange-400 bg-orange-50` and the badge in `geschichten/[id]/+page.svelte` uses `bg-orange-50 text-orange-700 border-orange-200` — raw Tailwind colors that don't remap. The mode-aware `journey-*` tokens (`--color-journey-tint/-journey/-journey-border`, dark values `#3a2a1a`/`#e8862a`/`#7a4a1e`) already exist and are used by `GeschichteListRow`/`JourneyItemRow` — the reader components just predate them. ## Fix - `JourneyInterlude.svelte`: `border-orange-400 bg-orange-50` → `border-journey-border bg-journey-tint` (keep `text-ink`, which is mode-aware) - `geschichten/[id]/+page.svelte` badge: `border-orange-200 bg-orange-50 text-orange-700` → `border-journey-border bg-journey-tint text-journey` - Update the LR-2 impl-ref rows (Journey-Badge, Interlude-Block) in `docs/specs/lesereisen-reader-spec.html` ## Acceptance criteria - [ ] Interlude readable in both modes (ink on journey-tint) - [ ] Badge uses the same journey tokens as the list badge - [ ] LR-2 impl-ref updated
marcel added the P1-highbugui labels 2026-06-10 22:41:07 +02:00
Sign in to join this conversation.
No Label P1-high bug ui
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: marcel/familienarchiv#801