Repository navigation
fix(cli): experimental theme editor - a gentle dark mode is no page color - #13208
Conversation
…olor Round 15 read "a gentle dark mode" (or soft, easy) as softer dark text and a lighter dark page, so the answer wrote a dark page color and the surfaces no longer stepped off the page. A mood of the dark mode names no color, so it writes no page color, as the editor read it before round 15.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report
Generated by PR Enrichment workflow | View current CI run |
There was a problem hiding this comment.
Approval waits on an engineering owner deciding how the theme editor's how command should read a mood word for the dark mode. Nothing else needs fixing.
No current record says whether "a gentle dark mode" (or soft, softer, gentler, easy, easier) should write nothing, as this pull request makes it, or keep the dark page and dark text lines main writes today. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner. The change itself checks out: the new expectations fail on main and pass here, and the other readings answer as before.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: on
main, asking for a gentle dark mode writes a dark page color of #292929 and a dark text color of #cccccc. Verified by running it onmain. - Claim: after the change the ask writes nothing, and so do the soft, easy and "softer dark mode please" phrasings. Verified on this head: a "No match" hint, no commands.
- Claim: before the round-15 readings the ask wrote nothing. Verified on the commit just before round 15 landed.
- Claim: the rewrite has not shipped in a release yet. Verified: it landed after the latest release.
- Claim: "less contrast", "big type" and "thin borders" are unchanged, and "dark page", "a soft pink page", "black page with green text", "cream background" and "deep purple background, dark mode only" answer the same before and after. Verified by running each on
mainand on this head. - Claim: the two new expectations fail before the change. Verified: they fail on
mainwith this head's test file. - Claim: no new public API, default or interaction model, and no internal context. Verified.
- Claim: the changed test file passes. Verified: 13 tests. The full theme-edit directory run was not repeated; the 60
how, chaos and stress test files pass on this head. - Claim (release note): "less contrast" softens the main text, "big type" and "big readable text" mean larger text, "thin borders" means thinner borders, and "lots of white space" means more spacing. Verified by running each.
- File: the release note: clear.
- File: the question reader: clear.
- File: the roles-and-sides test: clear.
|
/approve-spec 8e31209 |
- #13211 experimental theme editor how: the stripes' names match in their own forms and with the table named - #13176 fix(cli): experimental theme editor - "the page: …" is the page - #13208 fix(cli): experimental theme editor - a gentle dark mode is no page color - #12730 experimental theme set: a theme made one-mode says where the page color shows, once - #13222 fix(cli): experimental theme editor - "bold system type" names no part - #13223 fix(cli): experimental theme editor - a name in capitals that no part has is no subject - #12701 fix(cli): how writes the color of a bold run said for a part's text, and the top bar's links take their looks on its nav items
|
Landed on main in #13226. |
User impact
Someone asking the experimental theme editor for
a gentle dark mode(or a soft, softer or easy dark mode) gets a dark page color and a softer dark text color written. The dark page gets lighter, so the cards and other surfaces, which keep their own fills, no longer step off it, and the dark text loses contrast.Problem and solution fit
The fix removes that rewrite, so a mood of the dark mode writes no page color, as the editor read it before.
Expected behavior and authority
Before the round-15 reader changes,
how "a gentle dark mode"wrote nothing. The rewrite has not shipped in a release yet.Smallest restoration
Remove the one rewrite of "soft/softer/gentle/gentler/easy/easier dark mode", and its sentence in the pending release note. The other reader words ("less contrast", "big type", "thin borders") are unchanged.
Evidence
how "a gentle dark mode"writes--color-background-body '#292929' --mode darkand--color-text-primary '#cccccc' --mode dark.gentle dark modeandsofter dark mode pleaseexpectations intheme-how-roles-and-sides.test.mjsassert no writes; they fail before the change.Scope
Components: CLI (experimental theme editor
how)Testing
vitest run packages/cli/api/theme-edit/theme-how-roles-and-sides.test.mjspackages/cli/api/theme-editdirectoryreplay: worse 0 at 8e31209
preflight: pass 8e31209