Skip to content

fix(cli): experimental theme editor - a gentle dark mode is no page color - #13208

Merged
josephfarina merged 1 commit into
feature/theme-editorfrom
hq13k/fu-gentle-dark
Nov 21, 2026
Merged

josephfarina merged 1 commit into
feature/theme-editorfrom
hq13k/fu-gentle-dark

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

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

  1. Why does it happen? A recent reader rewrote "a gentle dark mode" into "softer text in dark mode, lighter page in dark mode" before reading the request.
  2. Why does it harm the task? The request names no color. The rewrite invents a page color, which moves the page without moving the surfaces drawn on it.
  3. Why does that matter? A mood word silently changes the theme's ground, and the result reads worse than writing nothing.

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

  • Reproduction before the change: how "a gentle dark mode" writes --color-background-body '#292929' --mode dark and --color-text-primary '#cccccc' --mode dark.
  • Result after the change: it writes nothing, as before the round-15 readers. "a soft dark mode", "an easy dark mode" and "softer dark mode please" also write nothing.
  • Representative unchanged path: "dark page", "a soft pink page", "black page with green text", "cream background", "deep purple background, dark mode only" and "less contrast" answer the same before and after.
  • Regression test or other mutation-sensitive proof: the gentle dark mode and softer dark mode please expectations in theme-how-roles-and-sides.test.mjs assert no writes; they fail before the change.

Scope

Components: CLI (experimental theme editor how)

  • One defect is restored.
  • Separable contradictory or unsettled tagalongs were removed or split.
  • No new public API, visual representation, default, or interaction model is hidden under the bug-fix label.
  • Public text and artifacts contain no internal Meta context.

Testing

  • vitest run packages/cli/api/theme-edit/theme-how-roles-and-sides.test.mjs
  • Full packages/cli/api/theme-edit directory

replay: worse 0 at 8e31209

preflight: pass 8e31209

…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.
@vercel

vercel Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 21, 2026 5:55am UTC

Request Review

@astracat-bot

astracat-bot Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
❓ Needs maintainer input (for maintainers only) Nov 21, 2026, 6:51 AM UTC

@github-actions

Copy link
Copy Markdown
Contributor

PR Analysis Report

Current run: The current CI run concluded skipped. Current analysis is unavailable.


Generated by PR Enrichment workflow | View current CI run

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 21, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 on main.
  • 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 main and on this head.
  • Claim: the two new expectations fail before the change. Verified: they fail on main with 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.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 8e31209

@josephfarina
josephfarina marked this pull request as ready for review November 21, 2026 06:50
@josephfarina
josephfarina changed the base branch from main to feature/theme-editor November 21, 2026 06:51
@josephfarina
josephfarina merged commit 60021b5 into feature/theme-editor Nov 21, 2026
76 of 131 checks passed
josephfarina added a commit that referenced this pull request Nov 21, 2026
- #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
@josephfarina

Copy link
Copy Markdown
Contributor Author

Landed on main in #13226.

@github-actions
github-actions Bot deleted the hq13k/fu-gentle-dark branch November 22, 2026 06:04

This branch was successfully deployed

1 active deployment
Preview — 8e312098 Deployed Nov 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant