okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-clean-3 (321794636): docs and history (cleanup step 3, items 3.0-3.10); release manifest and capability table with checks, history/ with pointers, link check, tools/ split, bench index; owner OK'd the wording 11-082b36e8a02

main
2.2 KiB47 linesraw

T19 · Dark mode: remaining findings

Phase 3 · 4 findings (0 high, 1 medium, 3 low) · Depends on: T02, T03

Goal

Fix the dark-mode issues that remain after the shared control and overlay fixes.

Files to change

These are the likely files. Read them before editing, and change others only if the fix needs it.

  • src/styles/app.css
  • src/styles/kit/

Findings to fix (high and medium)

#SeverityStateIssueSuggested fix
1Mediumdark-chat-open-website-invalidSame plain-text error (no red, no field state) as lightshared field error style

Optional polish (low)

Do these only if the task is otherwise done and the budget allows.

#SeverityStateIssueSuggested fix
1Lowdark-models-overviewBlue "Reading" label (#3b82f6-ish) on near-black is low contrastink label in both themes
2Lowdark-monitor-generatingSidebar model dot turns blue while generating (same as light) — blue isn't used for state anywhere else in darkgreen pulse for "working"
3Lowdark-setup-modelHeading gets a visible focus outline on step change (same as light setup-prepare-error)move focus without a visible ring on non-interactive headings (tabindex=-1 + :focus-visible none)

How to check

Run these and fix anything that fails:

  • npm run typecheck
  • node --test tests/ (all existing tests stay green)
  • npm run check (typecheck, UI audit, contrast, measure, luminance)
  • npm run build

Task-specific checks:

  • npm run contrast and npm run luminance pass in dark mode.
  • Each finding above is resolved, or marked "already fixed by Txx" or "not reproducible" with a one-line reason.

Screens to re-capture and compare with the audit screenshots in docs/evidence/audit-2026-10-07/:

  • models-overview-dark.png
  • chat-open-website-invalid-dark.png
  • monitor-generating-dark.png
  • setup-model-dark.png

Done when

  • All checks pass.
  • Commit on branch fix/t19-dark-mode with message T19: Dark mode: remaining findings.
  • Append a short entry to audit-fixes/PROGRESS.md: what changed, which findings were fixed, skipped or not reproducible, and anything the reviewer should look at.
1# T19 · Dark mode: remaining findings
2
3**Phase 3** · 4 findings (0 high, 1 medium, 3 low) · Depends on: T02, T03
4
5## Goal
6Fix the dark-mode issues that remain after the shared control and overlay fixes.
7
8## Files to change
9These are the likely files. Read them before editing, and change others only if the fix needs it.
10- `src/styles/app.css`
11- `src/styles/kit/`
12
13## Findings to fix (high and medium)
14| # | Severity | State | Issue | Suggested fix |
15|---|---|---|---|---|
16| 1 | Medium | `dark-chat-open-website-invalid` | Same plain-text error (no red, no field state) as light | shared field error style |
17
18## Optional polish (low)
19Do these only if the task is otherwise done and the budget allows.
20
21| # | Severity | State | Issue | Suggested fix |
22|---|---|---|---|---|
23| 1 | Low | `dark-models-overview` | Blue "Reading" label (#3b82f6-ish) on near-black is low contrast | ink label in both themes |
24| 2 | Low | `dark-monitor-generating` | Sidebar model dot turns blue while generating (same as light) — blue isn't used for state anywhere else in dark | green pulse for "working" |
25| 3 | Low | `dark-setup-model` | Heading gets a visible focus outline on step change (same as light setup-prepare-error) | move focus without a visible ring on non-interactive headings (tabindex=-1 + :focus-visible none) |
26
27## How to check
28Run these and fix anything that fails:
29- `npm run typecheck`
30- `node --test tests/` (all existing tests stay green)
31- `npm run check` (typecheck, UI audit, contrast, measure, luminance)
32- `npm run build`
33
34Task-specific checks:
35- [ ] `npm run contrast` and `npm run luminance` pass in dark mode.
36- [ ] Each finding above is resolved, or marked "already fixed by Txx" or "not reproducible" with a one-line reason.
37
38Screens to re-capture and compare with the audit screenshots in `docs/evidence/audit-2026-10-07/`:
39- `models-overview-dark.png`
40- `chat-open-website-invalid-dark.png`
41- `monitor-generating-dark.png`
42- `setup-model-dark.png`
43
44## Done when
45- All checks pass.
46- Commit on branch `fix/t19-dark-mode` with message `T19: Dark mode: remaining findings`.
47- Append a short entry to `audit-fixes/PROGRESS.md`: what changed, which findings were fixed, skipped or not reproducible, and anything the reviewer should look at.