Skip to content

experimental theme how: a border's state said with no part offers each family that draws a border at rest - #12816

Closed
josephfarina wants to merge 296 commits into
c/how-clash-keeps-the-restfrom
c/how-border-state-offers-2
Closed

josephfarina wants to merge 296 commits into
c/how-clash-keeps-the-restfrom
c/how-border-state-offers-2

Conversation

@josephfarina

Copy link
Copy Markdown
Contributor

User impact

"border darkens on hover" named no part, so the answer said "not used" and wrote nothing, though several families draw a border at rest.

Problem and solution fit

Found while cloning a framework theme whose description says "Feel: border darkens on hover." The general rule: a border's state said with no part offers the line for each family that draws a border at rest, its shade made from that family's own border; a bare "Feel:" label is no clause of its own.

Expected behavior and authority

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

Smallest restoration

One offer per family that draws a resting border; no line is written without a part.

Evidence

  • Before: "not used: border darkens on hover".
  • After: one runnable offer per border family.
  • Unchanged: "input border darkens on hover" writes on the inputs as before.
  • Regression test: new rows in theme-how-every-clause-answered.test.mjs.

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

CI=1 vitest run --project node packages/cli/api/theme-edit packages/cli/api/theme packages/cli/clients/cli/commands/experimental on the stack top: no failure the base does not have. The CLI typechecks, changeset check and lint pass. This is a layer of a stack on the round-15 theme editor stack; it stays a draft until the layer below lands.

…r is a verb only if the reader knows it as one; a product described before a colon names nothing

- Before a value (a color, a number or a length), a word right after a part word is the ask's verb only if the reader already knows it as one (its verb and copula words: "links turn red"); otherwise it begins a compound subject, named and never written: "make the radio station blue" no longer paints radios.
- A compound that describes the product before a colon ("radio station app: rounder corners") names nothing: the part word is dropped and the look after it is the whole theme's.
- The color reader's shade words ("deep", "pale", "rich" …) are one list, read by the known-word reader too, so "the content area deep green" stays the content area's.
- theme-rows-and-product-words covers the verb, the compounds and the descriptions.
…s part shows and goes to the mode it reads in; a part's gray text; Tailwind corner and text classes; the far spacing rung; a table without vertical lines
… names nothing or the whole; a subject that is no part writes nothing and is named; a part's list keeps its items, pieces, variants, inner parts, modes and states; side words, lines, statuses, rings, padding shorthands, layered shadows and see-through fills read as said
…f their own as kept, with undo lines

- set … corners (the whole-theme dial) adds a left-out note naming every part the theme gives corners of its own (a border radius or corners setting with --on, a dialog's or the menus'), which the dial does not change, with one undo line per setting that hands the part back to the dial.
- New theme-corners-kept-parts.
A .js theme source named after its theme is offered a free folder for its
outputs instead of the same command; a base imported as a package's default
export, or as the whole package, is told the named import that works; theme
add of a theme it does not find says where a theme you wrote must live to be
added by name, and that a theme built elsewhere needs only its imports.
…checkbox's check) is measured on the part it sits in, in the state it shows in, and its line takes no state the part does not have
…ames it (AST-050 FR11 item 9), with the package that loads it
…in a screen owns its list; alerts said in a color take that color's status
…nd sheet; a status said before a part is its status look, never the invalid state
…uminance; the round's changeset names stable fixes apart from the editor's
A slug one typo from a theme leads with that theme's add command, as meant;
the doc on where a theme you wrote must live comes after it, and first only
when no near name exists. The code-runner inventory lists the build's import
of a base package a theme imports whole.
…ets a line for the variant measured, and a fill set for that variant counts
…red on every status's fill, so white banner text goes to dark mode where it reads; a part's fill brighter is lighter; a focus ring for each mode reaches the outline in each mode; lengths before padding are no shadow; a part with no shared shadow says so; a photo is no part of the theme
… that part; a size word that describes a look is no part size; product labels, the others after a comma, a part's own square size, why-so complaints, eckiger, and a shadow stepped from none; set on a group member under a variant reaches only members with it
… setting today's editor refuses as doing nothing where it is saved is kept and built as before, named in a note with the lines that clear it, and never stops show, set, undo or compile
…lures as notes, one per cause, with the line that fixes each in the theme; text on a part that writes its own text colors is measured in them
… on that part

set with a part where the setting goes (button background-color red, card
padding 20px) offers the setting on that part with the scope typed kept,
read by the one part reader; the gate counts the setting's own name typed
first as carried by the line. undo with a part offers the undo of each
setting the theme holds on it.
…nt it inside an app shell, with the line that does
…s, heading elements and the file input

- The corners dial moves --radius-chat too: every step Core's radius scale derives from its base. The chat surfaces track the page step, in the base theme's own proportion, so the chat composer drawer's top corners follow corners at every rung and size (a corner bound holds them as it holds the page's).
- The headings dial's weight, and a heading font other than the body's, reach every part Core draws as a heading element (h1 to h6, from the census) whose own rule reads none of the headings' tokens: an empty state's title.
- The file input is one of the inputs, so a setting on the inputs reaches it.
- Tests: new theme-dials-reach-parts; the corner-bound tests hold the chat radius too.
…through word is a known word

- "navigation bar" reads as the app's top bar, as "nav bar" does.
- A word of how see-through a thing is (the visibility reader's: "translucent") is a known word, so "nav bar translucent white" is no compound subject.
- New theme-navigation-bar.
…s, one renderer

- A picture past 8 million pixels, or too grainy to hold boxes, keeps its
  colors and names its look as not measured, instead of throwing (surfaces
  are numbered in a typed array, not a Map).
- A setting the theme makes for the whole theme keeps its value against a
  reading for one family, as one on the same part does.
- Offered settings under unsure are steps, rendered by the same renderer as
  the results; the copied luminance, unused contrast and own quoting go.
- The changeset is tagged [experimental], and the docs say what is written:
  line spacing from a wrapped paragraph and a clearly regular heading weight.
…le line height ratios

- A corners setting the theme makes (the corners dial, whole theme or on a
  part) keeps its value against a radius reading, as a radius token does:
  the dial and the radius tokens are one aspect, and so are the control
  size tokens. Settings on different parts still both stand.
- A line height ratio of exactly 1 or 2 prints as 1 or 2, not 1. or 2.
…d, never dropped

Chat words and a question back to the editor are not asks; a held clause is named once.

[skip ci]
…as that setting's; sans after a kind of typeface is the typeface
… a decimal is one value; a color for the whole theme takes its role
…h family that draws a border at rest, its shade from its own; a bare Feel: label is no clause
@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 19, 2026 5:55am UTC

Request Review

@astracat-bot

astracat-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

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

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 19, 2026
@josephfarina
josephfarina force-pushed the c/how-clash-keeps-the-rest branch 3 times, most recently from b3f0495 to d1ab4bf Compare November 21, 2026 07:37
@josephfarina
josephfarina force-pushed the c/how-clash-keeps-the-rest branch 7 times, most recently from e504b7c to 233ef9c Compare November 21, 2026 12:58
@github-actions
github-actions Bot deleted the branch c/how-clash-keeps-the-rest November 22, 2026 06:04
@github-actions
github-actions Bot deleted the c/how-border-state-offers-2 branch November 23, 2026 06:05

This branch was successfully deployed

1 active deployment
Preview — b2001be5 Deployed Nov 19, 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