Skip to content

feat(cli): rewrite theme command as interactive scaffold + add theme vibe tests - #222

Merged
cixzhang merged 2 commits into
mainfrom
navi/feat/theme-scaffold-and-vibe-tests
Feb 20, 2026
Merged

cixzhang merged 2 commits into
mainfrom
navi/feat/theme-scaffold-and-vibe-tests

Conversation

@cixzhang

@cixzhang cixzhang commented Feb 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Rewrites npx xds theme from a broken theme-discovery command into an interactive scaffold that generates complete, customizable theme files. Adds npx xds docs theme with comprehensive theme system documentation. Also adds theme-customization prompts to the vibe test harness based on #155 friction points.

Theme CLI

The old theme command scanned packages/core/src/theme/ for theme files — but themes live in packages/theme/src/. It always errored with "No themes found."

The new command is an interactive scaffold that generates a complete .stylex.ts theme file.

npx xds theme --list

Existing themes:

  default — import { defaultTheme } from '@xds/theme/default'
  neutral — import { neutralTheme } from '@xds/theme/neutral'

npx xds theme --help

Usage: xds theme [options] [preset]

Scaffold a custom XDS theme

Options:
  --list           List existing themes in this project
  --output <path>  Output file path (default:
                   "./src/theme/customTheme.stylex.ts")
  -h, --help       display help for command

Non-interactive: npx xds theme default

✓ Generated src/theme/customTheme.stylex.ts

Add to your root layout:

  import {XDSTheme} from '@xds/core';
  import {defaultTheme} from './src/theme/customTheme';

  <XDSTheme theme={defaultTheme}>
    <App />
  </XDSTheme>

Interactive mode: npx xds theme

Walks through:

  1. Starting point — Custom brand / Copy Default / Copy Neutral / Minimal
  2. Accent color — hex input with validation
  3. Color mode — Light+Dark (light-dark()) / Light only / Dark only
  4. Status colors — optional positive/negative/warning overrides
  5. Component overrides — optional scaffold with commented examples for button, card, heading, text
  6. Output path — where to write the file
  7. Setup instructions — XDSTheme provider code

Generated file

The output is a complete, self-contained theme file with:

  • All ~60 color tokens derived from the accent color
  • All spacing, size, radius, elevation, transition, typography tokens (XDS defaults)
  • All createTheme() calls with correct type casts
  • Optional component override scaffolding (commented out with examples)
  • Proper imports from @xds/core/theme/tokens.stylex

Theme Docs (npx xds docs theme)

New reference doc covering:

  • XDSTheme provider setup and props
  • Creating custom themes (scaffold CLI + manual createTheme pattern)
  • Light/dark mode (automatic light-dark(), toggle button, single-mode)
  • Nesting themes (dark sidebar pattern)
  • Page background (display: contents workaround)
  • Component style overrides (declare module pattern, available slots)
  • useXDSTheme hook

Tests

$ npx vitest run packages/cli/

 ✓ packages/cli/src/commands/template.test.mjs (3 tests)
 ✓ packages/cli/src/utils/paths.test.mjs (7 tests)
 ✓ packages/cli/src/commands/docs.test.mjs (2 tests)
 ✓ packages/cli/src/commands/swizzle.test.mjs (6 tests)
 ✓ packages/cli/src/commands/agent-docs.test.mjs (7 tests)
 ✓ packages/cli/src/commands/component.test.mjs (31 tests)
 ✓ packages/cli/src/commands/theme.test.mjs (5 tests)

 Test Files  7 passed (7)
      Tests  61 passed (61)

Vibe Tests

Added 8 theme-customization prompts + 2 holdout prompts to test-sets/default.json, based on friction points from #155:

ID Prompt Complexity Tests
tc-1 Dark mode toggle simple XDSTheme mode prop
tc-2 Custom brand theme (purple accent) moderate createTheme pattern
tc-3 Wash background not applying simple display:contents gap
tc-4 Theme switcher (3 themes) complex Multiple theme objects
tc-5 Component-level style overrides moderate declare module pattern
tc-6 Settings page with live controls complex Dynamic theme generation
tc-7 Nested themes (dark sidebar) moderate Nested XDSTheme providers
tc-8 Brutalist theme moderate Full token customization

Vibe test results (5 prompts, with npx xds docs theme)

$ yarn workspace @xds/vibe-tests aggregate --iteration b97cd692

📊 Vibe Test Results - Iteration b97cd692
==================================================

Overall: 100% success (5/5)

🏆 Quality Tiers:
  🥇 Gold (pure DS):       3 (60%)
  🟢 Green (acceptable):  2 (40%)
  🟡 Yellow (anti-pattern): 0 (0%)
  🔴 Red (critical):      0 (0%)

By Category:
  theme-customization       100% (5/5) [🥇3 🟢2 🟡0 🔴0]

⏱️  Performance:
  Total time: 441.1s (avg 88.2s per test)

✓ Acceptable Escape Hatches:
  - supplemental_css: 3

Before/after comparison: theme docs impact

Ran the same 5 prompts before and after adding npx xds docs theme:

Metric Before (c27d200d) After (b97cd692) Change
Success rate 100% 100% —
Gold tier 3 3 —
Green tier 2 2 —
Docs read (total) 41 26 ⬇️ 37%
Source file reads 13 3 ⬇️ 77%
Total time 608s 441s ⬇️ 27%
Input tokens (est.) 20,740 13,240 ⬇️ 36%

Key findings:

  • Same quality, much more efficient — agents reached the same correct answers while reading far fewer docs
  • 77% fewer source file reads — the theme docs eliminated most source-diving. tc-2 (custom brand theme) dropped from 11 docs + 6 source reads to 4 docs + 1 source read
  • All 5 agents used npx xds docs theme as their primary reference for theming tasks
  • tc-5 (component overrides): Found the declare module + gradient border pattern directly from the theme docs instead of reverse-engineering from source
  • tc-3 (wash background): Found the display: contents workaround from the "Page Background" section

Full 8-prompt run (iteration e3ce5e6d)

$ yarn workspace @xds/vibe-tests aggregate --iteration e3ce5e6d

📊 Vibe Test Results - Iteration e3ce5e6d
==================================================

Overall: 100% success (8/8)

🏆 Quality Tiers:
  🥇 Gold (pure DS):       5 (63%)
  🟢 Green (acceptable):  1 (13%)
  🟡 Yellow (anti-pattern): 2 (25%)
  🔴 Red (critical):      0 (0%)

By Category:
  theme-customization       100% (8/8) [🥇5 🟢1 🟡2 🔴0]

Relates to #155


Crafted with care by Navi

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 20, 2026
…vibe tests

Rewrites `npx xds theme` from a broken theme-discovery command into an
interactive scaffold that generates complete, customizable theme files.

Also adds 8 theme-customization prompts + 2 holdout prompts to the vibe
test harness, based on friction points identified in #155.

Theme CLI changes:
- Fix --list to scan packages/theme/src/ (where themes actually live)
- Add interactive wizard with @clack/prompts (brand colors, mode, overrides)
- Add non-interactive mode: npx xds theme default --output ./myTheme.stylex.ts
- Add color derivation from accent color (~60 tokens auto-generated)
- Add optional component style override scaffolding (button, card, heading, text)
- Generate setup instructions with XDSTheme provider code

Vibe test additions (theme-customization category):
- tc-1: Dark mode toggle
- tc-2: Custom brand theme creation
- tc-3: Wash background not applying (display:contents gap)
- tc-4: Theme switcher with multiple themes
- tc-5: Component-level style overrides (declare module pattern)
- tc-6: Settings page with live theme controls
- tc-7: Nested themes (dark sidebar + light content)
- tc-8: Brutalist theme creation

Closes #155 (theme scaffold recommendation)

Co-authored-by: Navi <[email protected]>
@cixzhang
cixzhang force-pushed the navi/feat/theme-scaffold-and-vibe-tests branch from af688c7 to ebcee5a Compare February 20, 2026 06:19
Adds `npx xds docs theme` covering:
- XDSTheme provider setup and props
- Creating custom themes (scaffold CLI + manual)
- Light/dark mode (automatic, toggle, single-mode)
- Nesting themes (dark sidebar pattern)
- Page background (display:contents workaround)
- Component style overrides (declare module pattern)
- useXDSTheme hook

Also updates AGENTS.md injection to reference the new docs topic.

Co-authored-by: Navi <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

PR Analysis Report

📚 Storybook Preview

View Storybook for this PR

No new or modified components detected.

Bundle Size Summary

Package Size (ESM) Size (CJS) Gzipped
@xds/core 6.4KB 10.4KB 1.7KB

Accessibility Audit

Status: 50 accessibility violation(s) found.

XDSAspectRatio - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSAvatar - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSBadge - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSBreadcrumbs - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSButton - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSCalendar - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSCard - 2 issue(s)
  • critical: Form elements must have labels
    • Rule: label
  • serious: Links must have discernible text
    • Rule: link-name
XDSCenter - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSCheckboxInput - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSCloseButton - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSDateInput - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSDialog - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSDivider - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSDropdownMenu - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSEmptyState - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSField - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSFontWrapper - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSGrid - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSHStack - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSHeading - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSHoverCard - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSIcon - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSLayout - 2 issue(s)
  • critical: Form elements must have labels
    • Rule: label
  • serious: Links must have discernible text
    • Rule: link-name
XDSLink - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSNumberInput - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSProgressBar - 2 issue(s)
  • critical: Form elements must have labels
    • Rule: label
  • serious: Links must have discernible text
    • Rule: link-name
XDSRadioList - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSSection - 2 issue(s)
  • critical: Form elements must have labels
    • Rule: label
  • serious: Links must have discernible text
    • Rule: link-name
XDSSelector - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSSkeleton - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSSlider - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSSpinner - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSStackItem - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSStatusDot - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSSwitch - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSTabList - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSTable - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
Selection - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSText - 2 issue(s)
  • critical: Form elements must have labels
    • Rule: label
  • serious: Links must have discernible text
    • Rule: link-name
XDSTextArea - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSTextInput - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSTimeInput - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSTooltip - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSTopNav - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name
XDSVStack - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name

Generated by PR Enrichment workflow | Storybook | View full report

@cixzhang
cixzhang merged commit f3fc8a7 into main Feb 20, 2026
5 checks passed
@cixzhang
cixzhang deleted the navi/feat/theme-scaffold-and-vibe-tests branch February 20, 2026 14:41
cixzhang added a commit that referenced this pull request Apr 26, 2026
…vibe tests (#222)

* feat(cli): rewrite theme command as interactive scaffold + add theme vibe tests

Rewrites `npx xds theme` from a broken theme-discovery command into an
interactive scaffold that generates complete, customizable theme files.

Also adds 8 theme-customization prompts + 2 holdout prompts to the vibe
test harness, based on friction points identified in #155.

Theme CLI changes:
- Fix --list to scan packages/theme/src/ (where themes actually live)
- Add interactive wizard with @clack/prompts (brand colors, mode, overrides)
- Add non-interactive mode: npx xds theme default --output ./myTheme.stylex.ts
- Add color derivation from accent color (~60 tokens auto-generated)
- Add optional component style override scaffolding (button, card, heading, text)
- Generate setup instructions with XDSTheme provider code

Vibe test additions (theme-customization category):
- tc-1: Dark mode toggle
- tc-2: Custom brand theme creation
- tc-3: Wash background not applying (display:contents gap)
- tc-4: Theme switcher with multiple themes
- tc-5: Component-level style overrides (declare module pattern)
- tc-6: Settings page with live theme controls
- tc-7: Nested themes (dark sidebar + light content)
- tc-8: Brutalist theme creation

Closes #155 (theme scaffold recommendation)

Co-authored-by: Navi <[email protected]>

* docs(cli): add theme system reference to docs command

Adds `npx xds docs theme` covering:
- XDSTheme provider setup and props
- Creating custom themes (scaffold CLI + manual)
- Light/dark mode (automatic, toggle, single-mode)
- Nesting themes (dark sidebar pattern)
- Page background (display:contents workaround)
- Component style overrides (declare module pattern)
- useXDSTheme hook

Also updates AGENTS.md injection to reference the new docs topic.

Co-authored-by: Navi <[email protected]>

---------

Co-authored-by: Navi <[email protected]>
cixzhang added a commit that referenced this pull request Jun 21, 2026
…vibe tests (#222)

* feat(cli): rewrite theme command as interactive scaffold + add theme vibe tests

Rewrites `npx xds theme` from a broken theme-discovery command into an
interactive scaffold that generates complete, customizable theme files.

Also adds 8 theme-customization prompts + 2 holdout prompts to the vibe
test harness, based on friction points identified in #155.

Theme CLI changes:
- Fix --list to scan packages/theme/src/ (where themes actually live)
- Add interactive wizard with @clack/prompts (brand colors, mode, overrides)
- Add non-interactive mode: npx xds theme default --output ./myTheme.stylex.ts
- Add color derivation from accent color (~60 tokens auto-generated)
- Add optional component style override scaffolding (button, card, heading, text)
- Generate setup instructions with XDSTheme provider code

Vibe test additions (theme-customization category):
- tc-1: Dark mode toggle
- tc-2: Custom brand theme creation
- tc-3: Wash background not applying (display:contents gap)
- tc-4: Theme switcher with multiple themes
- tc-5: Component-level style overrides (declare module pattern)
- tc-6: Settings page with live theme controls
- tc-7: Nested themes (dark sidebar + light content)
- tc-8: Brutalist theme creation

Closes #155 (theme scaffold recommendation)


* docs(cli): add theme system reference to docs command

Adds `npx xds docs theme` covering:
- XDSTheme provider setup and props
- Creating custom themes (scaffold CLI + manual)
- Light/dark mode (automatic, toggle, single-mode)
- Nesting themes (dark sidebar pattern)
- Page background (display:contents workaround)
- Component style overrides (declare module pattern)
- useXDSTheme hook

Also updates AGENTS.md injection to reference the new docs topic.


---------
josephfarina added a commit that referenced this pull request Nov 14, 2026
…1738)

[experimental] `astryx experimental theme compile`: a compile or `--check` of an editor theme whose source no longer imports or extends its settings, or names another theme, is refused with the same message `set` gives, so it never writes another theme's files or drops every setting. The app copy's font stylesheet imports the installed `@fontsource` package of every family the built theme uses, the theme's own source included, and compile's note on fonts named but not loaded follows it. A theme build counts the families the theme's own font stylesheet beside its source loads (the app copy's), so a build of the copy's source no longer names them as unloaded. A blank or whitespace-only `--out` is refused.
[experimental] `astryx experimental theme editor`: a weight word at the end of a font family's name is part of the name (`Arial Black`, `Archivo Black`, `Segoe UI Semibold` are taken as typed) unless the whole name is no family the editor knows and the name without the word is (`Inter ExtraBold` is Inter and a weight); a weight number (`Inter 600`) is never part of a name. The Segoe UI weights Windows ships as families of their own are on the system font list.
[experimental] `astryx experimental theme editor how --help` lists the kinds of ask a question in plain words can be, each with examples it answers with commands (examples labeled "Asks how understands": a dial, a part's property by an amount or a value, a direction, a comparison, everything except some parts, a prohibition, one mode, a removal, several changes, a question about a value). A question it cannot answer points to that list, and `--help` is the first of its next commands.
[experimental] `astryx experimental theme editor how` judges a dial step by what it does, never by its own word: "more washed out colors" answers `vibrancy less` again. A typed value waives the way only for what it writes; every other value is still measured the way asked.
[experimental] `astryx experimental theme editor how` reads mode phrases, bounds, shadow strength and prohibitions each through one shared reader, and holds every answer to the measured check: "darker … in light mode" gets darker; "weaker" shadows get softer; "at least 2px", "under 40px" and "no bigger than 12px" hold the bound from the value now; "…, in dark mode" and "light mode #eee, dark mode #222" scope each value; "but leave inputs alone", "don't touch inputs" and "keep their hover the same" keep that part or state; kept parts are checked in every variant and level; a token typed with a part stays on that part; "blue card background" is the color, not the blue variant; page gradients keep the colors named; thinner borders step down from the width now; and value questions that name a mode read that mode.
[experimental] `astryx experimental theme`: a change no longer deletes a copy of a picture (such as `preview-before.png`): only pictures the editor recorded taking, unchanged since, are removed. Every browser the editor starts for a picture, Playwright included, runs as its own process with a temp folder of its own (removed however the run ends), one 60-second bound and the same stop; a browser that does not start keeps its real cause in the message, and Chrome is named only when there is one. A theme folder that cannot be written is a write failure naming the folder; pictures asked for but not taken are said; `preview add` finds a preview renamed by hand instead of starting a second one, through the one list of previews `see`, a change's refresh and the preview commands share; a theme the route imports from outside the project folder (a workspace app run from its own folder) is never dropped from the preview; the no-template refusal offers only pages the app can show; a page remove over a theme that does not load names the whole-preview remove; the `add --template <default page>` note says what was added; from a subfolder, the wiring's paths work from there; and the `preview remove` help says what happens to a path outside the folder.
[experimental] `astryx experimental theme editor`: the check of a theme's own token values judges what a build made now writes, through one path for `show`, `set`, `undo` and `compile`. A value from an import, an expression, a spread or a computed key is judged by its built value; only the value a later key keeps counts; a pair is judged as the `light-dark()` it builds. The source is read only to name the file and line that hold each value (an imported file is named, not the theme file) and for what a build erases: a second `tokens` key, and a pair with other than two values. Typography is judged by the values the build was given: a scale base with a unit (which builds `NaNrem`) is refused with the number of pixels it means, a scale with a ratio and no base is named, a family written in quotes or holding `; { } < >` is refused with the working form, and `fallbacks` is checked as part of the family list it builds. A family set through typography no longer gets the phone note.
[experimental] `astryx experimental theme editor`: every value a refusal or a saved-settings repair offers now passes one gate, and each offered line is checked as `set` checks it before it is shown. A value may come only from these sources:
- What was typed, under exact readings: quotes, labels and copy debris (a trailing `;`, `!important`, a comment) taken off; the same number written another way (full-width digits, a comma decimal, an exponent, rem or pt as px, a percent); CSS color names written as words (`dark red` is `darkred`).
- A documented table: Tailwind's radius classes (`rounded-lg` is 8px), a dial's own words, a weight word, a number read as a dial's nearest rung.
- The theme's own saved values, for a keep or unlock line.
- The setting's documented fallback or other-direction step.
- The correction of a typo of what was typed: one letter off for a word of five letters or fewer, two for a longer one.
Anything else, such as a stock color, a stock shadow or easing, a reset, a default token or a nearest guess, gives `how <thing>`. A scale step (`red-500`) is no bare color.
Also:
- `font 'Inter 600'` offers the family and the weight separately.
- A Google Fonts spec (`Inter:wght@400;600`) offers its family.
- Another property's label on a part property (`padding 'margin: 8px'`) offers that property.
- `--color-danger` offers the error token, and `--color-primary` or `--color-brand` the accent token.
- A CSS property typed for the whole theme leads with its dial or token (`border-radius 8px` → `corners 8px`), never a part that was not named.
- A pasted object's nested values are read, and each of its lines is checked.
- A bare fraction on a size token gets no px guessed.
- A very long input is near nothing.
- `--state 'hover,focus-visible'` gives one line per state.
- A saved light-dark pair for one mode is refused with the half for that mode.
- A CSS-wide keyword on a token offers the undo only when the theme sets the token.
[experimental] `astryx experimental theme editor`: `set <theme> base <name>` with a built-in base that is not installed names its install line, then the same set and the set to no base, in whatever letters the base was typed. In `how`, "a thin border" and "a thick border" name a width (1px and 2px); only "thinner" and "thicker" step from the width the part shows now.
[experimental] `astryx experimental theme editor`: a settings entry's `only` written as text (`"false"`, `"true"`) is read as what it says, with a note, and any other value that is not true is refused with the undo that removes that entry, so `show` and the build never disagree. A theme typed after the setting (`set --color-accent '#123457' t`) is refused with the same `set` or `undo` with the theme first, never a `new` of the setting's name. `undo <theme> vibrancy` says the default vibrancy applies now. `new` with several bad dial flags suggests one command that fixes or drops each of them; `new --base` points to `--like`; `show` names a show that works and its help for an option it does not take. The name rule lists every reserved name it refuses (com0-com9, lpt0-lpt9, and com¹-com³, lpt¹-lpt³). corners takes a rem (saved in px), and a bare number gets the px line. Dial words are read in any case (ROOMY, MORE, BOTH). `set t 'corners pill'` is read as the thing and its value. With no theme named in an app with one theme, show and undo name that theme. The compile line in the result works from the folder the command ran in.
[experimental] `astryx experimental theme editor`: the refusal of a theme's own token values no longer ends a reason with two periods.
[experimental] `astryx experimental theme editor`: one-mode colors in a variant or a state, gradient layers with a color, keywords with a mode, and the corners dial on parts with their own radius.
- A one-mode color in a variant or a state (a heading level, a hover) keeps the theme's own value around it in the other mode: the variant's resting color, then the part's, then the whole theme's, as the theme finally has it. A later brand color reaches the other mode.
- In a one-mode background, a color written beside a gradient (`#f00 linear-gradient(…)`) is that mode's background color, and the gradient its image.
- A CSS-wide keyword (`unset`, `inherit`) takes no `--mode`; the offered command sets it for both modes.
- The corners dial reaches parts whose base theme gives them a radius of their own, and a corners step on a part starts from the radius the part shows.
- A one-mode color on a part says that, in the other mode, it overrides what Core or the base theme gives the part in context.
- `how` lists the margins a part reads among its spacing, as `set` reads them.
[fix] `astryx theme build` refuses a blank or whitespace-only `--out` (it wrote files named by the spaces alone), and its note on fonts named but not loaded leaves out the families a local theme's own font stylesheet loads (`<slug>.fonts.css` beside the source, the stylesheet `theme add` imports). `astryx theme build` and `astryx doctor` also treat Segoe UI Light, Semilight, Semibold and Black as system fonts, the faces Windows installs as families of their own, so neither reports them as not loaded.
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