An open source design system that's fully customizable and agent ready
@xds/theme-neutral
0.7.11
0.7.10
0.7.9
Fixes
- Under the Neutral theme, a selected row, a calendar range and the other selected fills on Neutral's surfaces are visible again, and highlighted code lines are stronger.
--color-accent-mutedmatched the surface in dark mode and barely differed from the hover tint in light mode; it is now#d4d4d4in light and#474747in dark. In dark mode a selected Item, TreeListItem or checked CheckboxListItem row, a numbered Citation and a FileInput dropzone lift their secondary text so it stays readable on the fill; a dropzone's hint is slightly lighter at rest too. Neutral's code comments, operators and punctuation are slightly less muted so they stay readable on a highlighted line. The CLI's Neutral theme template carries the same values.
Contributors
Thanks to everyone who contributed to this release:
0.7.8
0.7.7
0.7.6
Fixes
- Published packages no longer include repository test and benchmark files, reducing install size without changing exports. (#9153)
Contributors
Thanks to everyone who contributed to this release:
0.7.5
New Features
Status colors are readable everywhere they appear, and Info is a status of its own. Each status (info, success, warning, error) now has a strong fill (
--color-<status>) with content on it (--color-on-<status>, at least 4.5:1), a pale fill (--color-<status>-muted) with its content (--color-on-<status>-muted), and readable text for the page and cards (--color-text-<status>). Status icons (--color-icon-<status>) and borders (--color-border-<status>) default to the readable text color. The Info roles (--color-info,--color-on-info,--color-info-muted, …) are new and no longer borrow your accent color.--color-success,--color-warning, and--color-errorandbg-<status>keep their meaning as the strong fills. In Tailwind,bg-info,bg-info-muted,text-on-<status>,text-on-<status>-muted, andtext-status-<status>are new;text-,decoration-,placeholder-, andcaret-<status>now use the readable text shade, andborder-,divide-,outline-, andring-<status>use the border shade, whilebg-,accent-,fill-,stroke-<status>, shadows, and gradients keep the strong fill. For example, Core's lighttext-warningis now#753F07instead of#E9AF08. To keep the fill color on text, writetext-[var(--color-warning)].What changes on screen:
- Core's dark Error content (
--color-on-error) is now#0A1317instead of white, so text on dark-mode error fills reaches 4.5:1. Core's Info Badge uses#0064E0instead of the accent (#2694FEin dark mode). - Status icons (Icon
color="info|success|warning|error"), Stepper status glyphs, and Chat tool-call status icons use the readable shades. Core's light success icon is now#09441Finstead of#0D8626. - Input and FileInput status borders use the border shades. Core's light warning border is now
#753F07instead of#E9AF08, and Butter's light success and warning input borders reach 3:1. - Banner draws its title, description, icon, and controls in the on-muted colors, and fills Info with
--color-info-muted. - Status fills keep a visible edge in forced-colors mode.
- Content on Chocolate and Matcha success and error fills, and on Stone success, warning, and error fills, now reaches 4.5:1.
- Every first-party theme sets a blue Info. Chocolate and Matcha Info Badges move from the accent to that blue; Butter keeps its own Info Badge colors.
- Neutral's
--color-success,--color-warning, and--color-errorare now the fills its Badges already showed, and its--color-infois#0074E2(#6D9CFEin dark mode). Its Badges, StatusDots, progress fills, and Stepper badges look the same; its accent ProgressBar, StatusDot, and Stepper now use Neutral's accent instead of blue. - Neutral no longer defines its undocumented local status tokens. Use the standard roles instead:
--astryx-theme-neutral-color-status-fill-success,-status-fill-warning, and-status-fill-error→--color-success,--color-warning,--color-error;-status-muted-accent→--color-info-muted;-on-tint-neutral→--color-neutral; the-on-tint-overlay-*and-destructive-overlay-*tokens →--color-overlay-hoverand--color-overlay-pressed.--astryx-theme-neutral-color-status-fill-accentkeeps its value but is deprecated.
Custom themes get the content and text roles they don't set: they are derived from the theme's status fills. To keep a component's previous color, set the matching role, for example
--color-icon-successto your old--color-success.- Core's dark Error content (
Documentation
- Package links now point to the project's GitHub home,
meta/astryx.
Contributors
Thanks to everyone who contributed to this release:
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
Breaking Changes
On touch devices narrower than the
lgbreakpoint ((width < 1024px) and (pointer: coarse)), the 14px-base first-party themes now floor their type base to 16px and re-derive the ratio so Display 1 keeps its desktop size: neutral and chocolate (base 14, ratio 1.2 → 1.1736) and butter and stone (base 14, ratio 1.25 → 1.2225). On phones, body, label and code text rise from 14px to 16px; supporting text, the headings and Display 2 and 3 grow by 1–2px; only Display 1 holds its desktop size. Desktop sizes are unchanged. gothic, matcha and y2k already use a 16px base and need no rule. The CLI's theme templates carry the same rule, so a newly scaffolded theme gets it too. (#6699) An app theme that extends one of these four themes and sets its owntypography.scaleor type-size tokens inherits this rule, and on touch + narrow screens the rule replaces those values (a base-18 child drops to a 16px body and a 42px Display 1). Append your own rule for the same condition with the values you want; a later rule for the same condition wins.Migration: nothing to change to take the new phone scale. To keep the previous 14px phone scale in an app, extend the theme and append a later rule for the same condition:
defineTheme({name: 'app', extends: neutralTheme, adaptations: {rules: [{when: {pointer: 'coarse', width: {below: 'lg'}}, value: {typography: {scale: {base: 14, ratio: 1.2}}}}]}}). For butter and stone useratio: 1.25and also settokens: {'--text-supporting-size': '12px'}in that rule's value, because those themes pin supporting text at 12px rather than the 11px the scale alone gives. This cannot be rewritten by a codemod: whether an app wants the floor is a product choice.
Fixes
- Generate Neutral's runtime palette references from the stops its theme uses, and fail verification when the package or CLI template copy drifts. (#7255)
Contributors
Thanks to everyone who contributed to this release:
0.6.8
0.6.7
New Features
- Each theme package now exports
/fonts.cssbeside/builtand/theme.css. Import it when the theme uses non-system fonts.
Contributors
Thanks to everyone who contributed to this release:
0.6.6
New Features
Add a shared
uploadicon, and use it for FileInput's upload affordance instead of the directionalarrowUpThemes drawuploadthroughicons.upload, separately fromarrowUp, so sort arrows and every otherarrowUpuse stay unchanged. Every bundled theme and theme template drawsuploadin its own icon style. FileInput keeps its icon size, placement, color, and accessibility in both modes; a theme with nouploadartwork shows the default upload-into-tray glyph there.A complete
IconRegistrymay still omituploadin this release. The next minor makes it required, so add anuploadentry to any registry you type asIconRegistry.
Contributors
Thanks to everyone who contributed to this release:
0.6.5
0.6.4
New Features
- Ship a typed
ThemeDocdescriptor beside each first-party theme source. (#6498)
Documentation
- Describe Neutral as Figtree typography and add the font-loading snippet; the README claimed system fonts while the theme declares Figtree. (#5991)
Contributors
Thanks to everyone who contributed to this release:
0.6.3
0.6.2
0.6.1
Fixes
- Prefer canonical component target names in maintained themes and new examples while preserving deprecated runtime aliases and released bare prop/state selector classes through the 0.7.0 removal window. Theme discovery labels deprecated targets, theme build warns with each exact canonical replacement, and
astryx upgrade --applyprovides the forward-compatible bare-selector migration. (#6126)
Contributors
Thanks to everyone who contributed to this release:
0.6.0
Breaking Changes
- Requires
@astryxdesign/[email protected]as part of the coordinated stable release. Upgrade Core and this theme together.
New Features
- Add an authoring-time OKLCH palette generator with a pure API, terminal and HTML previews, typed palette output, custom stops, deterministic receipts, and overwrite protection.
[feat] Expose exact solid black and white values as
neutralPalettes.blackandneutralPalettes.whitefor use in semantic theme tokens.
Fixes
- Align Neutral light-mode foreground colors to darker palette stops.
Contributors
Thanks to everyone who contributed to this release:
0.5.4
0.5.3
New Components
- Reuse Neutral-owned local tokens for semantic status fills across badges, status dots, step indicators, and progress bars. (#5854)
- Add Neutral's reproducible, theme-owned OKLCH palette without changing its runtime token mappings. The request, receipt, generated result, and CLI template artifacts are committed together for review. (#5987)
New Features
- Mute the low-tone edge of Neutral's dark chromatic palette while preserving its light and neutral ramps. (#6069)
Fixes
- Correct Neutral Banner interaction tints so light mode uses translucent light overlays and dark mode uses translucent dark overlays. (#5936)
- Use palette-backed red interaction overlays for Neutral destructive buttons, solid dark-palette tone-25 backgrounds (tone 20 for gray), and calmer dark-mode text colors. Use a palette-backed muted blue tint for dark info banners while preserving the existing light-mode non-semantic color mappings. (#6049)
- Give Neutral segmented controls a roomier inset while preserving their outside height. (#5851)
- Rename built-in syntax theme identifiers. (#5847)
- Remap Neutral's semantic, syntax, and categorical color tokens to the reviewed theme-owned palette through named stop references. Keep the maintained CLI template synchronized. (#6034)
Contributors
Thanks to everyone who contributed to this release:
0.5.2
0.5.1
Fixes
- Theme packages no longer ship an unused CommonJS
icons.jsartifact. Their root entry keeps its advertised CommonJS and ESM outputs, while the standalone icon companion used by/builtis emitted only asicons.mjs. (#5512)
Contributors
Thanks to everyone who contributed to this release:
0.5.0
Fixes
- neutral theme: darken the light-mode error red from
#e33f4ato#c9303aso the filledBadge variant="error"label clears WCAG 2.1 AA. White on#e33f4ais 4.14:1 and the badge label is 12px/weight 500, so the 4.5:1 normal-text threshold applies rather than the 3:1 large-text allowance;#c9303agives 5.29:1 while holding the hue (OKLCH H 21.9 -> 22.8, C 0.200 -> 0.189). StatusDot and the ProgressBar--color-errorrebinding move with it — both are documented as tracking the badge fill so the dot and its badge read as one status language. Dark mode is untouched (dark text on#ff705d, 6.60:1). Addsscripts/check-badge-contrast.test.mjs, which resolves every theme's badge label/fill pair throughlight-dark(),var()indirection and alpha compositing, and holds all of them to 4.5:1 (#4446).
Contributors
Thanks to everyone who contributed to this release:
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
Fixes
Banner: a dismissed banner no longer drops focus, a custom status no longer loses its ARIA role, and the info banner paints again under the neutral theme. Dismissing unmounted the focused dismiss button, so focus landed on
<body>and a keyboard user lost their place in the page. Banner now records where focus entered from and returns it there, the same handoffToastViewportmakes for a dismissed toast. Measured in Chromium:document.activeElementwasBODY, and is now the control the user tabbed in from.BannerStatusMapis documented as augmentable, but all four status lookups were closedRecord<BannerStatus, ...>maps. Adding the augmentation the docs show produced four TypeScript errors insideBanner.tsxitself, which a consumer cannot fix, and at runtime an unknown status resolved toundefinedfor its icon, its background and its ARIA role, so the banner stopped being a live region at all. The lookups are partial now: an unrecognized status renders with no status fill, no default glyph androle="status".A theme could not reach the banner's radius.
--_banner-radiuswas declared in the doc file and inderivedVarRegistry.ts, but no rule read it, so a theme'sborderRadiuson thebannertarget expanded into a variable nothing consumed. The four card-silhouette radii read it now, falling back to--radius-container.Under
@astryxdesign/theme-neutralthe info banner had no background at all, light or dark: the override setbackground-colordirectly and forced--color-accent-mutedtotransparent, and a plain CSS property written by a theme lands in@layer astryx-theme, which StyleX's@layer priority4outranks. Info now goes through--color-accent-mutedlike the other three statuses and like the stone theme already did.Also in this change:
children={false}(the ordinary{cond && <ul/>}idiom) no longer produces an expand toggle that opens an empty box, anddescription=""no longer leaves an empty 20px row, both viaisRenderable; a long unbroken word in the title or description no longer forces the page into horizontal scrolling at a 320px viewport, measured atdocument.scrollWidth529px before; and the content area's bottom border uses logicalborder-block-endalongside its inline siblings.The
/builtentry now loads under Node ESM and externalized SSR (Vite--ssr, Remix / React Router v7): it imports./icons.mjsinstead of the extensionless./iconsNode cannot resolve.
Contributors
Thanks to everyone who contributed to this release:
0.4.2
0.4.1
0.4.0
Fixes
--radius-noneno longer overrides to0.25rem.--radius-noneand--radius-fullare documented as always fixed (never scaled by a theme), matching@astryxdesign/core's own defaults — this theme's radius group bump swept--radius-nonealong with it by mistake. Anything opting out of rounding via--radius-noneunder this theme now renders with a true0pxradius again, instead of a silent 4px. (#4856)
Contributors
Thanks to everyone who contributed to this release:
0.3.0
Fixes
- neutral theme: darken light-mode
--color-text-secondaryfrom neutral-500 (#737373) to neutral-600 (#525252). 500 only reached 4.19:1 on the T95 body background (#f1f1f1), just under WCAG AA 1.4.3 (4.5:1); 600 clears it. Dark mode is unchanged.
Contributors
Thanks to everyone who contributed to this release:
0.2.0
Fixes
- Neutral theme: express the light
--color-borderas#00000014(translucent black) instead of the opaque#ebebeb. Same rendered color over a white surface, but it now blends over any background — matching the translucent dark-mode value.
Contributors
Thanks to everyone who contributed to this release:
0.1.9
0.1.8
0.1.7
Fixes
- StatusDot now uses the same vivid fills as the filled Badge in the neutral theme. Previously the dots mapped to the dark text/icon stops (dark green, maroon, brown), which read muddy in light mode; success/warning/error/accent now match their badge counterparts so a dot and its badge share one status color.
Contributors
Thanks to everyone who contributed to this release:
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.15
Changes
- Tracks
@xds/[email protected](bare-name migration + data-attribute selector surface).
0.0.13
Changes
- Icon renames:
checkCircle/xCircle→success/error(#1503)
Patch Changes
- Updated dependencies
0.0.5
Changes
- Updated token names to match naming audit (shadow, radius, elevation renames)
- Motion token primitives: duration and easing values
- Dynamic radius and type scale support via
defineThemeconfig
Patch Changes
- Updated dependencies
0.0.4
Patch Changes
- Updated dependencies — aligned with @xds/[email protected]
0.0.3
Patch Changes
- Fix theme package to produce proper JS/TS module output via tsup (#541)
0.0.2
Changes
- Migrated to CSS-based theming with
defineTheme()
0.0.1
- Initial release — neutral theme with Lucide icons