Skip to content

History / Theming Infrastructure

Revisions

  • Correct radius role tokens, CLI and sandbox paths, and the renamed templates gallery route

    @cixzhang cixzhang committed Aug 11, 2026
  • Fix remaining stale token names across the wiki --size-sm/md/lg, spacingTokens.space3, --shadow-menu, --radius-rounded and the --text-* raw scale do not exist on main; the token objects are *Vars maps keyed by CSS custom property name.

    @cixzhang cixzhang committed Aug 10, 2026
  • Fix token names in the token layer and type scale tables Size, radius, shadow, ease and typography examples named tokens that are not in tokens.stylex.ts. The raw text scale is --font-size-*, not --text-*, and there is no --shadow-menu.

    @cixzhang cixzhang committed Aug 10, 2026
  • Correct the neutral gray token names to the ones that exist --color-secondary, --color-muted and --color-wash are not in packages/core/src/theme/tokens.stylex.ts. The real roles are --color-neutral (self-contained elements), --color-background-muted (containers with content), --color-track (slim rails) and --color-background-body (page level).

    @cixzhang cixzhang committed Aug 10, 2026
  • Correct the extensibility mechanism: VariantMap interfaces, not defineTheme variants defineTheme has no variants key. Extensible props declare a *Map interface in the component's public subpath barrel, derive the prop type from it, and let unknown values fall through to base styles.

    @cixzhang cixzhang committed Aug 10, 2026
  • Add authoring principles for theming targets Document how to decide what theming targets to expose: target the element that carries styling, reflect state/size via themeProps rather than new targets, use one name and shape per concept across components, prefer inheritance over child targets, keep internal structure private, require a stated visual intent, and consolidate at the design level first.

    @cixzhang cixzhang committed Aug 2, 2026
  • Document extensible theme prop maps

    @cixzhang cixzhang committed Aug 2, 2026
  • Update wiki for XDS → Astryx rename Refresh outdated references across all wiki articles to match the current codebase after the XDS → Astryx rebrand: - Package scope @xds/* → @astryxdesign/* (theme-default/theme-daily → theme-neutral; ESLint rule → @astryx/*) - CLI command xds → astryx; fix stale commands (build-theme → theme build, agent-docs folded into init) - CSS/layers: xds.css → astryx.css, @layer xds → @layer astryx-base, @layer xds.theme → @layer astryx-theme - Config key "xds" → "astryx"; env var XDS_THEME → ASTRYX_THEME - Repo facebookexperimental/xds → facebook/astryx; versions 0.0.15 → 0.1.1 - Swizzle output dir components/xds/ → components/astryx/ - API rename xdsThemeProps → themeProps (verified against source) - Asset set xds_oss → astryx (browse via internalfb.com/assets/set/astryx) - Correct component-purity docs: components are unprefixed (no "Astryx" prefix) Co-authored-by: Cursor <cursoragent@cursor.com>

    @rubyycheung rubyycheung committed Jul 1, 2026
  • docs(theming): document --color-track for slider/progress tracks and rails

    @cixzhang cixzhang committed Jun 26, 2026
  • Astryx design system wiki Documentation for the Astryx design system: API conventions, component authoring, theming, RSC utilities, Night Watch automation, and contribution guides.

    @cixzhang cixzhang committed Jun 23, 2026