CSS: form field text too light/grey — darken for readability #25
Reference in New Issue
Block a user
No description provided.
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?
What (m, PWA)
The text in the form fields is a light grey that's barely readable — darken it for proper contrast.
Likely the input value text colour (and/or labels/hints) is set to a too-light grey CSS var. Bump it to a darker, high-contrast colour so typed text + labels are clearly legible. Check inputs, textarea, selects, labels, hints in the compose flow — and the field text specifically (placeholder can stay lighter, but the actual entered value must be dark/readable).
Constraints
Sequencing
Same compose-styling shift as #23/#24 (in flight) — folded into that worker. otto-head instructed.
DoD
#25 erledigt — Feldtext jetzt gut lesbar (hoher Kontrast)
In derselben Schicht/Branch wie #23/#24.
Ursache: Die Eingabefelder (Inputs, Wunsch-Adresse, Foto-Dropzone, Teilen-Box) haben in jedem Theme eine feste helle Creme-Fläche (
#fffdf8bzw.#fff), der Text nutzte aber die Theme-Farbe--ink. Im Dämmerung-Theme ist--inkfast weiß (#ece8f1) → fast weißer Text auf heller Fläche = kaum lesbar (das „helle Graue“). Betroffen: getippte Werte, der Adress-Präfixsendmy.cards/…, der Dropzone-Hinweis und die Teilen-Link-Box.Fix: Theme-unabhängige Feld-Tokens eingeführt:
--field-bg: #fffdf8(helle Feldfläche)--field-ink: #2b2622(dunkler Text, ~13:1 Kontrast auf der Creme — WCAG AAA)--field-ink-soft: #6b6157(sekundärer Feldtext / Präfix / Platzhalter, ~5:1 — WCAG AA)Getippte Werte nutzen jetzt
--field-inkin allen drei Themes. Platzhalter (::placeholder) nutzen die weichere Variante — bleiben heller als ein echter Wert, aber klar lesbar. Labels und Hinweise, die auf der (themenabhängigen) Karte sitzen, behalten ihr--ink-soft(dort ist der helle Ton korrekt). Die feste Creme-Farbe ist nun an einer Stelle tokenisiert statt 4× hartkodiert.go build ./...grün.Commit:
4a5e53453e✅ Live on sendmy.cards (merge
7ffdf2d)Shipped in the compose styling block (#23 field consistency, #24 Farbwelt→Farbschema + smaller equal tiles, #25 darker field text). CSS/copy only, build green. Verified: Farbschema label live, Farbwelt gone. Please eyeball spacing/contrast. Not closing — m closes.