Skip to content

Wayfinder: Astryx dependency form, theme and tokens in ui-common #40

Description

@yomybaby

Question

Is Astryx a dependency or peerDependency of ui-common, and how is its version pinned/ranged? Does the Lablup brand palette become an Astryx theme shipped by ui-common, and what happens to @astryxdesign/theme-neutral? What replaces ui-common's 119-token [data-theme] contract?

Inputs

  • From FR-4049 (shipping): Astryx is an exact-pinned dependency (never bundled); @stylexjs/stylex ^0.19 is a peer. Also decide (a) where ui-common's own CSS layer sits relative to astryx-base / astryx-theme (whether wrapper styles beat theme overrides), (b) ui-common's own StyleX class-name prefix (not x, not webui), (c) any exported vars must be ---prefixed.
  • From FR-4051 (CLI): astryx component/search/build/upgrade need @astryxdesign/core resolvable in the app's node_modules — "no direct Astryx dependency" may still need core as a devDependency (or hoisting) for tooling. Keep exact pinning: CLI 0.x has real breaking changes.
  • From FR-4052 (consumer survey): consumer-defined --color-border / --color-text-primary / --color-error collide with Astryx's own variable names; @lablup/ui-ai and ui-charts cap peer at <0.2.0 so the Astryx release needs a coordinated library release. Contract is 122 tokens (README's 119 is stale), 47 already mapped in BUI theme-shim.
  • From FR-4047 (export surface): ui-common's own component CSS ships as ui-common.css in @layer ui-common; theme packages (@astryxdesign/theme-neutral) were explicitly left to this ticket; lab is an optional exact-pinned peer.

Map

Wayfinder map: FR-4046 / lablup/backend.ai-webui#9890. Moved here from Jira FR-4048 (ui-common-scoped tickets live in this repo).

Blocking

  • Blocked by: (none — FR-4049 resolved)
  • Blocks: (none)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions