Dark mode: white-on-white panels on submission-draft editor ("Kein Projekt zugeordnet" + "Vorschau") #138
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?
Repro
Open any submission-draft editor in dark mode. Two panels render with white backgrounds + no contrast:
Both show as the default light surface (
background: #fffor similar) instead of the dark-themed counterpart.Likely cause
Missing
[data-theme="dark"]overrides for whatever class names these panels use. Same shape as the t-paliad-291 fix earlier today (six lime-chip selectors); identical pattern.Fix
frontend/src/submission-draft.tsx— find the panel components and their CSS class names.frontend/src/styles/global.css(or the submission-draft-specific stylesheet) — add[data-theme="dark"]rules with proper dark-surface colors and text contrast. Reuse existing dark-mode tokens (e.g.--bg-panel-dark,--text-strong-dark) — don't hardcode hex.Acceptance
/submissions/drafts/<id>in dark mode → both notices have dark background + readable text.bun run buildclean.Pure frontend
No backend, no DB, no migration. Single CSS/TSX patch.
Additional dark-mode pill
(m, 2026-05-26 17:54) Project timeline view (
/projects/{id}or the timeline tab — wherever "Vorhersage" section renders): proceeding-type pills likede.null.bpatg.berufungshow grey background + grey font in dark mode. No contrast.Likely the same shape as the other two panels — a CSS rule that only sets the light-mode colors, missing the
[data-theme="dark"]counterpart. Search.proceeding-pill,.timeline-pill,.vorhersage, or similar selectors near the project-detail timeline view.Folding this in here so the fixer hits all three dark-mode regressions on one branch.
Fourth dark-mode panel
(m, 2026-05-26 17:58) Submission editor's manual-party-add form (the Manuell / Aus DB übernehmen / Name / Rolle / Beklagte / Vertreter:in (optional) / Hinzufügen / Abbrechen dialog) — same white-on-white in dark mode. This is the multi-party add UI from t-paliad-277.
All four bugs collected in this issue:
Fixer should sweep all four selectors in one pass.