Repository navigation
fix(cli): the fields-at-3:1 note prints its exact-color command in full, with the color quoted - #13256
Merged
josephfarina merged 1 commit intoNov 21, 2026
Conversation
…ll, with the color quoted Fixes the field-edge note from #13225: the command lacked the editor's own command and left the hex unquoted, so a shell read the color as a comment.
josephfarina
requested review from
cixzhang and
imdreamrunner
as code owners
November 21, 2026 09:04
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
AI review status for this pull request.
|
Contributor
There was a problem hiding this comment.
Approved: the theme editor's "fields kept at 3:1" note now prints astryx experimental theme editor set <theme> --color-border-emphasized '<color>', which runs as pasted, and the new assertion fails on the base and passes on this head.
No changes are needed. The printed command runs as pasted and saves the exact color, for a light-only theme and, with --mode light, for a two-mode theme.
Claims and files checked
Review mode: full; reason: no-earlier-review
Claims:
- Title: the note prints its exact-color command in full, with the color quoted. Verified:
packages/cli/api/theme-edit/_settings.mjs:8307. - Release note: the command now carries the editor's own command and a quoted color, so it runs as pasted. Verified:
_settings.mjs:8307; the printed commands run as pasted and save the color. - Description: it fixes the note that #13225 added. Verified: that change introduced the line this one edits.
- Description: the old command lacked the editor's command and left the hex unquoted, so a shell read the color as a comment. Verified: on the base the line prints
set st --color-border-emphasized #e3e8ee, which runs the shell's ownsetbuiltin and drops#e3e8ee. - Description: it now prints the full editor command with the color in single quotes, which runs as pasted. Verified: the printed command runs and saves the color.
- Description: the test asserts the note's command in full. Verified:
theme-border-follows.test.mjs:71-75fails on the base and passes on the head. - Description: the whole theme-edit suite gives the same results as its base. Verified by bound: the change alters one note string that no source code reads, and both test files that read it pass on the head; the full suite was not rerun.
- Description: no component, public API, default or interaction change, and no internal context. Verified: no command, option, export or default changes.
- Description: the author's preflight passed and the replay found nothing worse. Consistent with the tests run here; those tools were not rerun.
- Commit message: same as the description. Verified as above.
Files:
.changeset/experimental-theme-field-edge-exact-command.md: clear; a patch for@astryxdesign/cliin the same[experimental]form as the editor's other release notes, and it describes what the code prints.packages/cli/api/theme-edit/_settings.mjs: clear; uses the CLI's shared quoting helper and the editor's command constant.packages/cli/api/theme-edit/theme-border-follows.test.mjs: clear; asserts the quoted form the helper produces on every platform.
josephfarina
added a commit
that referenced
this pull request
Nov 21, 2026
- #13225 experimental theme: a whole-theme border color reaches the fields' edge at the nearest shade that keeps 3:1... - #13186 fix(cli): a color said with a tint word fills with that color again - #13091 experimental theme: a kept palette stays as saved through hand edits and undo - #13233 fix(cli): on a one-family base, a body font set alone keeps empty-state titles on the heading font - #13256 fix(cli): the fields-at-3:1 note prints its exact-color command in full, with the color quoted - #13044 feat(cli): experimental theme how: readings held back from round 15 - #13241 experimental theme: a text color on an option row reaches the tokens its label and description read
Contributor
Author
|
Landed on main in #13276. |
github-actions
Bot
deleted the
josephfarina/editor-field-edge-command-fix
branch
November 22, 2026 06:04
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the field-edge note from #13225.
User impact
astryx experimental theme editor set <theme> --color-border <color>: when the fields' edge takes a nearer shade so it keeps 3:1, the note names the command for the exact color. That command lacked the editor's own command (astryx experimental theme editor) and left the hex unquoted, so pasted into a shell the color after#was read as a comment. It now printsastryx experimental theme editor set <theme> --color-border-emphasized '<color>', which runs as pasted.Smallest restoration
packages/cli/api/theme-edit/_settings.mjs: the note builds its command from the editor's command and quotes the color.packages/cli/api/theme-edit/theme-border-follows.test.mjs: the note's command is asserted in full..changeset/experimental-theme-field-edge-exact-command.md: the release note.Evidence
packages/cli/api/theme-edit/theme-border-follows.test.mjspackages/cli/api/theme-editsuite gives the same results as its base.Scope
Components: none (experimental theme editor only)
preflight: pass 8573d77
replay: worse 0 at 8573d77