Skip to content

experimental theme how: a contradiction holds back only its own pair; a decimal is one value; a color for the whole theme takes its role - #12773

Merged
josephfarina merged 1 commit into
feature/theme-editorfrom
c/how-clash-keeps-the-rest
Nov 21, 2026
Merged

josephfarina merged 1 commit into
feature/theme-editorfrom
c/how-clash-keeps-the-rest

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Stack: #12723 → #12772 → #12773

User impact

One contradiction in a long ask ("8px corners on cards … 2px corners on cards") held back the whole answer, and "1.5 leading" split at its decimal point. A color said for the whole theme with its typed value ("silver #c0c0c0 everywhere") was left unread.

Problem and solution fit

Found while cloning retro and framework themes from long descriptions. The general rules: a contradiction holds back only its own pair, a decimal is one value, and a color said for the whole theme takes its role.

Decision

Owner decision: in the experimental astryx experimental theme editor how, a clash holds back only its own pair, offered as a choice (each clash its own); a list marker never takes a decimal ("1.5 leading" is one value); whole-theme words ("everywhere") give a color its role, in the mode said with it (a quiet color the neutral, white or black the page, a strong color the accent); a bare size said before a type look (a leading, tracking or a font family, said with a value or in words) is the text size, and a bare length never takes the look of a later clause that has its own value ("16px, 4px corners" writes the corners and names the 16px as not used).

Expected behavior and authority

Every clause is answered as a command or a named line; covered by theme-how-long-ask-binding.test.mjs.

Smallest restoration

The clash check names only the clashing pair; a decimal before a unit word stays one number; "everywhere" and similar words make a color the theme's by role.

Evidence

  • Before: "16px, 1.5 leading" said the leading values contradict; the Windows 98 ask wrote no leading and left the silver unread.
  • After: text-size 16 with the body line height 1.5; neutral '#c0c0c0'.
  • Unchanged: a real clash on one part still says so.
  • Regression test: new rows in theme-how-long-ask-binding.test.mjs, including the labelled Bulma and Primer looks, two clashes offered as two choices, "navy Typeahead #80 everywhere", "16px, Inter font", "16px, tight leading", "16px, tight tracking", title bars said of dialogs kept off the app's top bar, and "red everywhere in dark mode" kept to dark mode.

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.

  • Two existing rows change with the clash rule:

    • In "translucent glassy window frames, soft blue-tinted glass, white content", the soft blue clashes with the white content. That pair is offered as its own choice, and the rest of the ask (the glass surfaces, the border) is written.
    • In "neon synthwave: deep purple night background, hot pink accent #ff69b4, cyan accent, a glow", the two accents clash. They are offered as a choice, and the first write is now the dark page.
  • Two rows changed with the "sans" reading below this PR: the Bulma and Primer rows no longer expect font system from "system sans", which now reads as on main.

  • A color taken away or turned down ("don't use red everywhere", "less blue everywhere") is never the theme's color. Only a whole-theme color takes the mode said with it ("a teal theme for dark mode" sets both modes, as on main).

  • A step a clause says twice is kept out of the rest as well as the clash. A clause that loses its clashing steps still offers its other steps, unless the clash took a whole option of it: then its other options write the same value another way, and the clause is the choice's alone ("make it blue, make it green" offers the accent only in the choice). In a look ask, "all over" and "the whole app" are never named as not taken. Each has a row.

Testing

CI=1 vitest run --project node packages/cli/api/theme-edit packages/cli/api/theme packages/cli/clients/cli/commands/experimental on feature/theme-editor plus this stack: no failure that feature/theme-editor does not have. The build, typecheck, lint, knowledge and changeset checks pass in the local preflight's CI half.

replay: worse 0 at 233ef9c

preflight: pass 233ef9c

@vercel

vercel Bot commented Nov 19, 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 1:12pm UTC

Request Review

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

astracat-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 21, 2026, 1:07 PM UTC

@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 of this pull request waits on an engineering owner's decision, and five independent fixes are needed either way.

No current spec record defines what astryx experimental theme editor how answers. These five new answer rules need an engineering owner to approve them, or to name the record that governs them:

  1. A contradiction holds back only its own pair.
  2. A list marker never takes a decimal.
  3. A whole-theme color takes its role.
  4. A bare size before a type look is the text size.
  5. "title bar(s)" names the app shell header.

An engineering owner records approval by commenting /approve-spec <full head SHA> on this pull request. The author may do so as an engineering owner.

Blocking findings:

  • _part-words.mjs:24 maps "title bar(s)" to app-shell-header without the guard on the existing entry at :107, so panel title bar #eeeeee background now also paints the app's top bar; extend the guarded entry instead.
  • The Windows 98 ask now ends with not taken: "everywhere", "bars" although its own sequence reads both words, because the not-taken filter (_how-question.mjs:31118) knows neither the whole-theme words nor the new phrase.
  • Only clashes[0] becomes a choice (_how-question.mjs:28326) while every clash's steps are held back, so a second clash is reported as unreadable under "the rest of the ask is answered without them", contrary to the changeset's "Every other clause is still answered".
  • The family case of the bare-size rule (_how-question.mjs:11711) runs only when the family clause has a digit, so 16px, Inter font still answers not used: "16px", although the changeset promises it for "the type's own looks".
  • The description says the Windows 98 ask "clashed on two accents" (on the base silver is unread and there is no accent choice) and that CLI typecheck and lint pass (at this head both fail on an undefined relLum inherited from the base); please correct both.

The new test rows fail on the base and pass on this head; please add rows for a panel title bar, two clashes, 16px, Inter font and the Windows 98 not-taken note.

Claims and files checked

Review mode: full; reason: no-earlier-review

  • Claim, changeset: one contradiction no longer drops the whole ask. Verified (clash row; base and head answers).
  • Claim, changeset: every other clause is still answered when two clauses clash. False with two clashes.
  • Claim, changeset: a decimal after a list is one value. Verified (list-marker strip; decimal row).
  • Claim, changeset: a whole-theme color becomes the neutral, the page or the accent. Verified (white row; silver, navy and red asks).
  • Claim, changeset: a bare size beside the type's own looks is the text size. False for a font family said without a digit.
  • Claim, changeset: a window's title bar is the app's top bar. Verified, but the rule also catches a panel's title bar.
  • Claim, description: before, one contradiction held back the whole answer. Verified on the base.
  • Claim, description: before, "1.5 leading" split at its decimal. Verified on the base (it read a line height of 5).
  • Claim, description: before, the whole-theme silver was read as a second accent that clashed. False on the base.
  • Claim, description: after, text size 16 with leading 1.5, the silver neutral and navy title bars. Verified (rows pass).
  • Claim, description: a real clash on one part still says so. Verified.
  • Claim, description: regression rows were added. Verified; they fail on the base and pass on the head.
  • Claim, description: the theme tests show no failure that the base does not have. Verified for the 61 editor how test files: each of the head's 6 failures also fails on the base.
  • Claim, description: CLI typecheck and lint pass. False at this head (inherited relLum error).
  • Claim, description: the changeset check passes. Verified.
  • Claim, description: public text has no internal context. Verified.
  • Claim, description: one defect is restored and no new behavior hides under the bug-fix label. Not verified: five answer rules have no governing record.
  • File .changeset/experimental-theme-how-clash-keeps-the-rest.md: two lines overstate (findings 3 and 4).
  • File packages/cli/api/theme-edit/_how-question.mjs: findings 2, 3 and 4.
  • File packages/cli/api/theme-edit/_part-words.mjs: finding 1.
  • File packages/cli/api/theme-edit/theme-how-long-ask-binding.test.mjs: clear; the new rows are red-first.
  • File packages/cli/test-utils/long-ask-binding-rows.mjs: clear; the changed row allows exactly what the head writes.

Automated review (maintainer link)

@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 of this pull request waits on an engineering owner's decision, and six independent fixes are needed either way.

No current spec record defines what astryx experimental theme editor how answers. These five new answer rules need an engineering owner to approve them, or to name the record that governs them:

  1. A contradiction holds back only its own pair.
  2. A list marker never takes a decimal.
  3. A whole-theme color takes its role, including whether "everywhere" reaches both modes.
  4. A bare size before a type look is the text size.
  5. "title bar(s)" names the app shell header.

An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Blocking findings:

  • _part-words.mjs:24 maps "title bar(s)" to app-shell-header without the guard on the existing entry at :107, so panel title bar #eeeeee background now also paints the app's top bar; extend the guarded entry instead.
  • Only the first clash becomes a choice (_how-question.mjs:28438) while every clash's steps are held back, so a second clash is called "not used" under "the rest of the ask is answered without them", contrary to the changeset's "Every other clause is still answered".
  • The Windows 98 answer still ends not taken: "everywhere", "bars" although its own sequence now reads both words, because the not-taken filter (_how-question.mjs:31327) knows neither the whole-theme words nor the new phrase.
  • The bare-size rule's family and tracking cases (_how-question.mjs:11812) run only when the next clause has a digit, so 16px, Inter font and 16px, tight tracking still drop the size, although the changeset promises it "beside the type's own looks".
  • Miss: typedToo (_how-question.mjs:8717) needs a single distinct color, so red #ff0000 everywhere and navy #000080 everywhere write nothing, although the code comment and the changeset say a typed color said for the whole theme is the color.
  • The description says the Windows 98 ask "clashed on two accents", but on the base that ask has no accent choice and leaves the silver unread; please correct the before-state.

Please add rows for a panel title bar, two clashes, 16px, Inter font, red #ff0000 everywhere and the Windows 98 not-taken note.

Claims and files checked

Review mode: full; reason: rebase

  • Changeset: one contradiction no longer drops the whole description. Verified (clash row; base and head answers).
  • Changeset: a clashing pair is offered as a choice and every other clause is still answered in order. False with two clashes.
  • Changeset: a decimal after a list is one value. Verified (list-marker rule; decimal row).
  • Changeset: a whole-theme color becomes the neutral, the page or the accent. Verified for one-value asks (silver, white, teal, beige); false when a name comes with a different hex.
  • Changeset: a bare size beside the type's own looks is the text size. Verified for a leading with a value; false for a font family or tracking word without a digit.
  • Changeset: a window's title bar is the app's top bar. Verified, but the rule also catches a panel's title bar.
  • Description: before, one contradiction held back the whole answer. Verified on the base.
  • Description: before, "1.5 leading" split at its decimal. Verified on the base (it read a line height of 5).
  • Description: before, the whole-theme silver was read as a second accent that clashed. False on the base.
  • Description: after, text size 16 with leading 1.5, the silver neutral and navy title bars. Verified (rows pass).
  • Description: every clause is answered as a command or a named line. Partly: a second clash's clauses are named, but as unreadable.
  • Description: a real clash on one part still says so. Verified.
  • Description: regression rows were added. Verified; they fail on the base and pass on this head.
  • Description: the theme tests show no failure the base does not have. Verified: at this head the CLI theme-edit and theme test files and the experimental commands all pass, and the base's one failing theme-how row passes here.
  • Description: CLI typecheck, changeset check and lint pass. The changeset check passes, lint is clean on the changed files, and the typecheck shows no error in them (two unbuilt-theme import errors appear the same on the base).
  • Description: public text has no internal context. Verified.
  • Description: one defect is restored and no new behavior hides under the bug-fix label. Not verified: five answer rules have no governing record.
  • File .changeset/experimental-theme-how-clash-keeps-the-rest.md: lines 7, 9 and 10 overstate (clash, whole-theme color, bare size findings).
  • File packages/cli/api/theme-edit/_how-question.mjs: clash, not-taken, bare size and whole-theme color findings.
  • File packages/cli/api/theme-edit/_part-words.mjs: title bar finding.
  • File packages/cli/api/theme-edit/theme-how-long-ask-binding.test.mjs: clear; the new rows are red-first.
  • File packages/cli/test-utils/long-ask-binding-rows.mjs: clear; the changed row allows exactly the parts the head writes.

Automated review (maintainer link)

@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 of this pull request waits on an engineering owner's decision about its answer rules, and one fix is needed either way.

No current spec record defines what astryx experimental theme editor how answers, so an engineering owner needs to approve these rules or name the record that governs them:

  1. A contradiction holds back only its own pair, and each clash is its own choice.
  2. A list marker never takes a decimal.
  3. A color said for the whole theme takes its role, including whether "everywhere" reaches both modes.
  4. A bare size before a type look is the text size.
  5. "title bar(s)" and "window title bar(s)" name the app shell header.

An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Blocking finding:

  • 16px, tight leading still offers two contradicting leadings and 16px, tight tracking still drops the size, because the text-size case at _how-question.mjs:11846-11850 runs only when the leading or tracking clause has a number; test the look before the digit and add those two rows, or narrow the changeset's line 10 and the description to a leading or tracking value or a font family.

Also worth a look (non-blocking):

  • Three values for one part (8px … 2px … 4px corners on cards) give two overlapping choices that share 2px; one choice listing every value would read better.
Claims and files checked

Review mode: full; reason: rebase

  • Changeset: one contradiction no longer drops the whole description. Verified (base and head answers; clash rows).
  • Changeset: a clashing pair is offered as a choice and every other clause is still answered in order. Verified (two-clash and clash-keeps-the-rest rows); three values for one part give two overlapping choices (non-blocking).
  • Changeset: a decimal after a list is one value. Verified (decimal row; the base read a line height of 5).
  • Changeset: a whole-theme color becomes the neutral, the page or the accent. Verified (silver, beige, white, black, red and navy asks).
  • Changeset: a bare size beside the type's own looks is the text size, never a second leading. Verified for a numbered leading and a font family; false for a leading or tracking word without a number.
  • Changeset: a window's title bar is the app's top bar. Verified; a dialog's or panel's title bar still is not.
  • Description: before, one contradiction held back the whole answer. Verified on the base.
  • Description: before, "1.5 leading" split at its decimal point. Verified on the base.
  • Description: before, a whole-theme color with its typed value was left unread. Verified on the base.
  • Description: the decided rules (clash per pair, decimal, whole-theme color, bare size beside a leading, tracking or family, title bars). Verified, except a bare size before a leading or tracking word without a number.
  • Description: every clause is answered as a command or a named line. Verified on the probed asks.
  • Description: the before and after answers for "16px, 1.5 leading" and the Windows 98 ask. Verified.
  • Description: a real clash on one part still says so. Verified.
  • Description: regression rows were added. Verified; nine fail on the base code and pass on this head, and the dialog title-bar row guards behavior the base already has.
  • Description: the theme tests show no failure the base does not have. Verified: across the 612 theme-edit, theme and experimental-command test files at this head, each of the 11 failing tests also fails on the base.
  • Description: the CLI typechecks and the changeset check and lint pass. The changeset check passes, lint is clean on the changed files, and the typecheck shows no error in them (two unbuilt-theme import errors appear the same on the base).
  • Description: public text has no internal context. Verified.
  • Description: one defect is restored and no new behavior hides under the bug-fix label. Not verified: the answer rules have no governing record.
  • File .changeset/experimental-theme-how-clash-keeps-the-rest.md: line 10 overstates (bare-size finding).
  • File packages/cli/api/theme-edit/_how-question.mjs: bare-size finding; non-blocking note on overlapping choices.
  • File packages/cli/api/theme-edit/_part-words.mjs: clear; the plural and window title bars join the guarded entry.
  • File packages/cli/api/theme-edit/theme-how-long-ask-binding.test.mjs: clear; the new rows are red-first.
  • File packages/cli/test-utils/long-ask-binding-rows.mjs: clear; the changed row allows exactly the parts the head writes.

Automated review (maintainer link)

);
}
// (Each clash its own choice, so none goes unanswered.)
for (const [a, b] of clashes)

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.

Non-blocking: clashes are collected pairwise, so three values for one part give overlapping choices. 8px corners on cards, 2px corners on cards, 4px corners on cards, compact tables offers "8px and 2px … pick one" and "2px and 4px … pick one"; taking 8px from the first and 4px from the second writes both on the card. Grouping clashes by key into one choice that lists every value would read better.

@josephfarina
josephfarina force-pushed the c/how-clash-keeps-the-rest branch 2 times, most recently from 8da76c9 to ce5a11e Compare November 19, 2026 05:37
@josephfarina
josephfarina force-pushed the c/how-clash-keeps-the-rest branch from 56ec66c to 38e0976 Compare November 21, 2026 10:55
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 38e0976

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

Changes are needed: the new answer rules are approved, and one defect in how the clash rule is built needs a fix.

An engineering owner approved the answer rules for astryx experimental theme editor how at this head, so the earlier question about their authority is settled.

Blocking finding:

  • After the clash choice, each clashing clause is listed again in its other spelling, marked "(without the clashing values above)", and that line writes the clashing value: make it blue, make it green now also lists --color-accent '#2563eb' and --color-accent '#16a34a', and bold headings, light headings lists font-weight 700 --on heading and font-weight 300 --on heading (_how-question.mjs:29246-29267), so drop a clause's whole answer when one of its options loses every step to the clash, and add rows that these asks list no such line outside the choice.

Also worth a look (non-blocking): three values for one part still give overlapping choices.

Claims and files checked

Review mode: full; reason: rebase

  • Release note: one contradiction no longer drops a whole description. Verified (base and head answers of long asks with a clash).
  • Release note: two clauses that set one thing two ways are offered as a choice, and every other clause still runs in order. False while each clash is also offered outside its choice (blocking finding); the other clauses do run in order.
  • Release note: a decimal after a list is one value. Verified ("16px, 1.5 leading", the Windows 98, Bulma and Primer asks; numbered lists still drop their markers).
  • Release note: a color said for the whole theme takes its role, in the mode said with it. Verified (silver, navy, red, teal, white and black, a typed value, dark and light mode, mixed case).
  • Release note: a bare size said before the type's own looks is the text size. Verified (1.5 and tight leading, tight tracking, Inter font); a size said after the look stays unread, as "before" says.
  • Title: a contradiction holds back only its own pair, a decimal is one value, a whole-theme color takes its role. Verified, apart from the re-offered clash values.
  • Description: before, one contradiction held back the whole answer, "1.5 leading" split at its decimal point, and a whole-theme color with its typed value was unread. Verified on the base.
  • Description: the decided rules, including "16px, 4px corners" writing the corners and naming the 16px as not used. Verified; an engineering owner approved them at this head.
  • Description: every clause is answered as a command or a named line. Verified for the rows; an ask nothing reads gets the command's no-match hint.
  • Description: a decimal before a unit word stays one number. Verified; the code keeps any decimal, which is broader.
  • Description: the before and after answers for "16px, 1.5 leading" and the Windows 98 ask. Verified.
  • Description: a real clash on one part still says so. Verified; the head also lists both values again (blocking finding).
  • Description: new regression rows, including the labelled looks, two clashes, a typed navy, the bare sizes, title bars on dialogs and red in dark mode. Verified; 14 of the 19 new rows and both changed rows fail on the base, and the five guard rows hold there.
  • Description: two existing rows change with the clash rule (the tinted glass and the neon synthwave asks). Verified.
  • Description: the labelled-look rows no longer expect a "system" font from "system sans". Verified in the rows; the base and the head read it alike.
  • Description: a color taken away or turned down is never the theme's color, and only a whole-theme color takes the mode said with it. Verified (six negated asks and "less blue everywhere" answer as on the base; "a teal theme for dark mode" sets both modes).
  • Description: a step a clause says twice stays out of the rest, and a clause that loses its clashing steps still offers its other steps. The first is verified; the second also offers the clashing value again (blocking finding).
  • Description: "all over" and "the whole app" are never named as not taken. Verified.
  • Description: one defect is restored, with no hidden public API and no internal context. No public API changes and no internal context; the restored behavior is the approved direction.
  • Description: no theme test failure that the base does not have. Verified: the 60 other theme-how test files (1,365 tests) and the binding test (100) pass at this head.
  • Description: build, typecheck, lint, knowledge and changeset checks pass. Lint and the changeset check pass; the strict typecheck reports only two errors for an unbuilt theme in page templates, none in the changed files; the build and knowledge check were not rerun (no record or build input changes).
  • File .changeset/experimental-theme-how-clash-keeps-the-rest.md: clear.
  • File packages/cli/api/theme-edit/_how-question.mjs: each clash is offered again outside its choice (blocking); overlapping choices for three values (non-blocking).
  • File packages/cli/api/theme-edit/theme-how-long-ask-binding.test.mjs: the new rows fail first on the base; no row checks that a clash value is not offered again.

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the c/how-clash-keeps-the-rest branch from 38e0976 to fc8af33 Compare November 21, 2026 12:08
@josephfarina
josephfarina force-pushed the c/how-clash-keeps-the-rest branch from fc8af33 to e504b7c Compare November 21, 2026 12:09
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec e504b7c

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

Approved pending CI: CI has not run on this head yet.

An engineering owner approved the new editor how answer rules for this head, and the earlier defect is fixed: a clashing clause is now offered only inside its choice, and the two new rows hold that for make it blue, make it green and bold headings, light headings.

  • Non-blocking: clashes are still collected in pairs, so one part said three ways gives overlapping choices (navy header with white text, teal header with white text, compact tables offers navy-or-white, white-or-teal and teal-or-white for the same header text); one choice per setting that lists every distinct value would read better.
Claims and files checked

Review mode: full; reason: rebase

  • Claim: two clauses that set one thing two ways become a choice and every other clause is still answered in order: verified (the mixed corners, tables and accent ask; its binding row).
  • Claim: a decimal after a list is one value: verified (16px, 1.5 leading, 2. 1.5 leading, the Windows 98 row).
  • Claim: a color said for the whole theme takes its role in the mode said with it: verified (silver becomes the neutral, white the page, red in dark mode the dark accent; their rows).
  • Claim: a bare size said before the type's own looks is the text size: verified (16px before a leading, tracking or font, in values or words); a size said after the look is unchanged, as the wording says.
  • Claim: before this change one clash held back the whole answer, "1.5 leading" split at its decimal and the silver was left unread: verified on the base.
  • Claim: a bare length before a clause with its own value writes that clause and names the length as not used: verified (16px, 4px corners).
  • Claim: a real clash on one part still says so: verified (8px corners on cards, 2px corners on cards).
  • Claim: the listed regression rows exist and pass: verified, the binding test passes in full.
  • Claim: the tinted-glass and neon rows change as described (the clashing pair becomes a choice; the glass surfaces, border and page are written): verified.
  • Claim: the Bulma and Primer rows no longer expect a system font: verified in the rows; the "system sans" reading itself comes from the base branch.
  • Claim: a color taken away or turned down is never the theme's color, and a color said as a look keeps both modes: verified (don't use red everywhere, less blue everywhere, a teal theme for dark mode).
  • Claim: a step said twice stays out of the rest, a clause the clash took a whole option of is left to the choice, and whole-theme words in a look ask are never named as not taken, each with a row: verified.
  • Claim: the theme editor tests show no new failure and lint and the changeset check pass: verified in part: the binding test and 172 further theme editor and command test files pass, lint is clean on the changed files, the changeset check passes, and the strict CLI typecheck fails only on the unbuilt neutral theme; the rest of that suite, the build and the knowledge check were not re-run.
  • Claim: the owner decision covers these rules: verified (an engineering owner's approval for this exact head).
  • Claim: public text carries no internal context: verified.
  • File: .changeset/experimental-theme-how-clash-keeps-the-rest.md: clear.
  • File: packages/cli/api/theme-edit/_how-question.mjs: one non-blocking note (overlapping choices).
  • File: packages/cli/api/theme-edit/theme-how-long-ask-binding.test.mjs: clear.

Automated review (maintainer link)

… a decimal is one value; a color for the whole theme takes its role

[skip ci]
@josephfarina
josephfarina force-pushed the c/how-clash-keeps-the-rest branch from e504b7c to 233ef9c Compare November 21, 2026 12:58
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 233ef9c

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

Approved pending CI: CI has not run on this head yet.

An engineering owner approved the new editor how answer rules for this head, and the earlier defect is fixed: a clashing clause is now offered only inside its choice, and the two new rows hold that for make it blue, make it green and bold headings, light headings.

  • Non-blocking: clashes are still collected in pairs, so one part said three ways gives overlapping choices (navy header with white text, teal header with white text, compact tables offers navy-or-white, white-or-teal and teal-or-white for the same header text); one choice per setting that lists every distinct value would read better.
Claims and files checked

Review mode: carry-forward; reason: none

  • Claim: two clauses that set one thing two ways become a choice and every other clause is still answered in order: verified (the mixed corners, tables and accent ask; its binding row).
  • Claim: a decimal after a list is one value: verified (16px, 1.5 leading, 2. 1.5 leading, the Windows 98 row).
  • Claim: a color said for the whole theme takes its role in the mode said with it: verified (silver becomes the neutral, white the page, red in dark mode the dark accent; their rows).
  • Claim: a bare size said before the type's own looks is the text size: verified (16px before a leading, tracking or font, in values or words); a size said after the look is unchanged, as the wording says.
  • Claim: before this change one clash held back the whole answer, "1.5 leading" split at its decimal and the silver was left unread: verified on the base.
  • Claim: a bare length before a clause with its own value writes that clause and names the length as not used: verified (16px, 4px corners).
  • Claim: a real clash on one part still says so: verified (8px corners on cards, 2px corners on cards).
  • Claim: the listed regression rows exist and pass: verified, the binding test passes in full.
  • Claim: the tinted-glass and neon rows change as described (the clashing pair becomes a choice; the glass surfaces, border and page are written): verified.
  • Claim: the Bulma and Primer rows no longer expect a system font: verified in the rows; the "system sans" reading itself comes from the base branch.
  • Claim: a color taken away or turned down is never the theme's color, and a color said as a look keeps both modes: verified (don't use red everywhere, less blue everywhere, a teal theme for dark mode).
  • Claim: a step said twice stays out of the rest, a clause the clash took a whole option of is left to the choice, and whole-theme words in a look ask are never named as not taken, each with a row: verified.
  • Claim: the theme editor tests show no new failure and lint and the changeset check pass: verified in part: the binding test and 172 further theme editor and command test files pass, lint is clean on the changed files, the changeset check passes, and the strict CLI typecheck fails only on the unbuilt neutral theme; the rest of that suite, the build and the knowledge check were not re-run.
  • Claim: the owner decision covers these rules: verified (an engineering owner's approval for this exact head).
  • Claim: public text carries no internal context: verified.
  • File: .changeset/experimental-theme-how-clash-keeps-the-rest.md: clear.
  • File: packages/cli/api/theme-edit/_how-question.mjs: one non-blocking note (overlapping choices).
  • File: packages/cli/api/theme-edit/theme-how-long-ask-binding.test.mjs: clear.

Automated review (maintainer link)

@josephfarina
josephfarina marked this pull request as ready for review November 21, 2026 14:08
@josephfarina
josephfarina changed the base branch from c/how-labelled-dials to feature/theme-editor November 21, 2026 14:21
@josephfarina
josephfarina merged commit c1072c6 into feature/theme-editor Nov 21, 2026
9 checks passed
josephfarina added a commit that referenced this pull request Nov 21, 2026
… a decimal is one value; a color for the whole theme takes its role (#12773)

Reviewed pull request #12773, merged into the theme working branch. It reaches main with the branch's next landing.
josephfarina added a commit that referenced this pull request Nov 21, 2026
… a decimal is one value; a color for the whole theme takes its role (#12773)

Reviewed pull request #12773, merged into the theme working branch. It reaches main with the branch's next landing.
josephfarina added a commit that referenced this pull request Nov 21, 2026
- #13284 experimental theme: the newer-recipe release note agrees with the kept-palette one
- #13159 fix(cli): experimental theme editor - rounder corners never make the chat corners less round
- #13243 set: a text size token a part never reads goes into the one its held parts read
- #13299 experimental theme: text in a see-through region is measured over the region as drawn
- #12772 experimental theme how: a label that names the spacing or corners setting reads its value as that setting's; sans after a kind of typeface is the typeface
- #12773 experimental theme how: a contradiction holds back only its own pair; a decimal is one value; a color for the whole theme takes its role
- #13309 perf(cli): theme how makes its every-word check's patterns once per lexicon
- #13224 fix(cli): experimental theme editor - a group height narrowed off one control stays a control height show lists
@josephfarina

Copy link
Copy Markdown
Contributor Author

Landed on main in #13377.

This branch was successfully deployed

1 active deployment
Preview — 233ef9cb 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