refactor: migrate legacy wire namespace to wrn
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @wrnexus/ui — the Wire UI component library.
|
||||
* @wrnexus/ui — the WrNexus UI component library.
|
||||
*
|
||||
* Components are `.wrn` files under `components/`, auto-discovered by the
|
||||
* framework (the router scans this directory in addition to the app's own
|
||||
@@ -7,12 +7,12 @@
|
||||
* or reference them by tag name (`<Modal>`, `<Card>`, …) — no import needed,
|
||||
* component resolution happens by directory scan, not by this module's
|
||||
* exports. Their styles live in a single themeable stylesheet, `ui.css`,
|
||||
* served once at `/__wrnexus/ui.css` — every class uses `var(--wire-*)`
|
||||
* served once at `/__wrnexus/ui.css` — every class uses `var(--wrn-*)`
|
||||
* theme tokens.
|
||||
*
|
||||
* Override, in increasing order of power:
|
||||
* 1. theme tokens (change `--wire-color-primary`, etc.)
|
||||
* 2. redefine a `.wire-*` class in your own CSS (loaded after ui.css)
|
||||
* 1. theme tokens (change `--wrn-color-primary`, etc.)
|
||||
* 2. redefine a `.wrn-*` class in your own CSS (loaded after ui.css)
|
||||
* 3. pass a `class` prop (appended to the component root)
|
||||
* 4. `wrnexus eject <name>` to copy the component into `app/components` and own it
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user