Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3.5 KiB
phase, plan, type, wave, depends_on, files_modified, autonomous, requirements, must_haves
| phase | plan | type | wave | depends_on | files_modified | autonomous | requirements | must_haves | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 12-dark-mode-visibility-fixes | 02 | execute | 1 |
|
true |
|
|
Purpose: The <select> element in FieldRenderer has no background or text color class, causing browsers to apply a white system background in dark mode — making selected text invisible. Adding semantic token classes ensures the select matches the app's dark theme.
Output: Select elements in FieldRenderer render with correct background and text color in both themes.
<execution_context> @C:/Users/SebastienQUEROL/.claude/get-shit-done/workflows/execute-plan.md @C:/Users/SebastienQUEROL/.claude/get-shit-done/templates/summary.md </execution_context>
@.planning/PROJECT.md @.planning/ROADMAP.md @.planning/STATE.md @.planning/phases/12-dark-mode-visibility-fixes/12-RESEARCH.md ```tsx className={[ 'w-full rounded-md border px-3 py-2 text-sm focus:outline-none focus-visible:ring-2', error ? 'border-error focus:ring-error/50' : 'border-outline focus:ring-primary/50', ].join(' ')} ```- Do NOT style elements — browser-native, cannot be reliably styled cross-browser
- Do NOT use dark: prefix — project uses .dark class cascade with semantic tokens
Change:
'w-full rounded-md border px-3 py-2 text-sm focus:outline-none focus-visible:ring-2',
To:
'w-full rounded-md border px-3 py-2 text-sm bg-surface-container text-on-surface focus:outline-none focus-visible:ring-2',
This is a single-line className addition. Do not modify the error/border conditional, the register spread, or the option elements. Do not attempt to style the <option> children.
npm test -- --reporter=verbose 2>&1 | tail -20
FieldRenderer select element has bg-surface-container and text-on-surface classes. Full test suite passes.
<success_criteria>
- FieldRenderer select element includes
bg-surface-container text-on-surfacein its className - Select is readable in dark mode with proper contrast
- Full test suite passes with zero regressions </success_criteria>