@xdev-asia/ui 4.15.1 → 4.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -15
- package/dist/ai-manifest.json +16 -16
- package/dist/llms-full.txt +13 -13
- package/dist/llms.txt +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.layered.css +1 -1
- package/dist/tokens.css +8 -8
- package/dist/tokens.json +8 -8
- package/package.json +1 -1
- package/skills/xdev-ui-admin/templates/admin/_npmrc +1 -2
- package/skills/xdev-ui-build-app/references/setup.md +1 -1
- package/skills/xdev-ui-build-app/templates/app/_npmrc +1 -2
package/README.md
CHANGED
|
@@ -1,27 +1,17 @@
|
|
|
1
1
|
# xdev-ui
|
|
2
2
|
|
|
3
|
-
Design tokens and React components for the xDev agent workspace. Published as **`@xdev-asia/ui`** on GitHub Packages.
|
|
3
|
+
Design tokens and React components for the xDev agent workspace. Published as **`@xdev-asia/ui`** on npmjs.com (and GitHub Packages).
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
```ini
|
|
10
|
-
@xdev-asia:registry=https://npm.pkg.github.com
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
The token needs `read:packages`, even though the package is public. pnpm ignores `${VAR}` in repo-level credentials, so put the token line in the user `~/.npmrc` (or a file named by `NPM_CONFIG_USERCONFIG` in CI):
|
|
14
|
-
|
|
15
|
-
```ini
|
|
16
|
-
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
In GitHub Actions of another `xdev-asia` repo, give the job `permissions: packages: read`, pass `GITHUB_TOKEN: ${{ github.token }}`, and if install returns 403, grant that repo read access under *Package settings → Manage Actions access*.
|
|
7
|
+
`@xdev-asia/ui` is on npmjs.com, so no registry line or token is needed:
|
|
20
8
|
|
|
21
9
|
```bash
|
|
22
10
|
pnpm add @xdev-asia/ui
|
|
23
11
|
```
|
|
24
12
|
|
|
13
|
+
Each release is also on GitHub Packages (`@xdev-asia:registry=https://npm.pkg.github.com` in `.npmrc`, with a token that has `read:packages`), for setups that already read from there.
|
|
14
|
+
|
|
25
15
|
## Use
|
|
26
16
|
|
|
27
17
|
```tsx
|
|
@@ -143,7 +133,7 @@ Commits on `main` follow [Conventional Commits](https://www.conventionalcommits.
|
|
|
143
133
|
| `feat!: …` / `BREAKING CHANGE:` | major |
|
|
144
134
|
| `chore:`, `docs:`, `ci:` | none |
|
|
145
135
|
|
|
146
|
-
It tags `vX.Y.Z`, publishes to GitHub Packages and writes the GitHub release. Then `npmjs.yml` builds that tag with its version and publishes it to npmjs.com with provenance, using the repo secret `NPMJS_TOKEN` (an npmjs.com granular access token with read and write on the `@xdev-asia` scope)
|
|
136
|
+
It tags `vX.Y.Z`, publishes to GitHub Packages and writes the GitHub release. Then `npmjs.yml` builds that tag with its version and publishes it to npmjs.com with provenance, using the repo secret `NPMJS_TOKEN` (an npmjs.com granular access token with read and write on the `@xdev-asia` scope), or, without that secret, npm trusted publishing (OIDC) set up on npmjs.com for `release.yml`. To copy an older release, run *Actions → Publish to npmjs* with its version. `pages.yml` deploys the demo to GitHub Pages at <https://ui.xdev.asia>.
|
|
147
137
|
|
|
148
138
|
## License
|
|
149
139
|
|
package/dist/ai-manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@xdev-asia/ui",
|
|
3
|
-
"version": "4.15.
|
|
4
|
-
"setup": "pnpm add @xdev-asia/ui #
|
|
3
|
+
"version": "4.15.2",
|
|
4
|
+
"setup": "pnpm add @xdev-asia/ui # from npmjs.com, no token needed\nimport \"@xdev-asia/ui/styles.css\";\nimport \"@xdev-asia/ui/fonts.css\"; // optional\n<html data-theme=\"dark\"> // or \"light\"",
|
|
5
5
|
"sharedTypes": "export type SessionState = \"working\" | \"failed\" | \"waiting\" | \"done\" | \"idle\" | \"exited\";\nexport type PrState = \"open\" | \"draft\" | \"merged\" | \"closed\";\nexport type CheckState = \"pass\" | \"skipping\" | \"fail\" | \"cancel\" | \"pending\";\nexport type AgentProfile = \"claude\" | \"codex\" | \"custom\";\n/** 1–10 → --x-tab-color-N. 5, 7, 9 are color-mix blends in base.css. */\nexport type TabColor = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;\n",
|
|
6
6
|
"icons": [
|
|
7
7
|
"docs",
|
|
@@ -806,7 +806,7 @@
|
|
|
806
806
|
"ws-stat-add",
|
|
807
807
|
"ws-stat-del"
|
|
808
808
|
],
|
|
809
|
-
"readme": "# DiffStat\n\nMono `+added −removed` line count for a change, a file or a session row.\n\n## Rules\n- Added in `--ok`, removed in `--danger`,
|
|
809
|
+
"readme": "# DiffStat\n\nMono `+added −removed` line count for a change, a file or a session row.\n\n## Rules\n- Added in `--ok`, removed in `--danger`, 12px mono.\n- Show both numbers even when one is zero, so rows align.\n- The minus is U+2212, not a hyphen.\n- `labels` (`DiffStatLabels`: `diffStat(added, removed)`) overrides the accessible English summary.\n"
|
|
810
810
|
},
|
|
811
811
|
{
|
|
812
812
|
"name": "Disclosure",
|
|
@@ -1744,7 +1744,7 @@
|
|
|
1744
1744
|
"ws-footer-item",
|
|
1745
1745
|
"ws-footer-spacer"
|
|
1746
1746
|
],
|
|
1747
|
-
"readme": "# StatusBar\n\n26px footer bar (`--h-footer`) for session counts, meters and the current branch.\n\n## Rules\n- `items` renders left to right; the string `\"spacer\"` pushes the rest to the right.\n- Left: session counts. Right: meters, branch, encoding.\n- Text is
|
|
1747
|
+
"readme": "# StatusBar\n\n26px footer bar (`--h-footer`) for session counts, meters and the current branch.\n\n## Rules\n- `items` renders left to right; the string `\"spacer\"` pushes the rest to the right.\n- Left: session counts. Right: meters, branch, encoding.\n- Text is 12px `--text-2`. Nothing here is a primary action.\n- `hidden` renders nothing (the bar leaves the layout); absent or `false` renders as before.\n"
|
|
1748
1748
|
},
|
|
1749
1749
|
{
|
|
1750
1750
|
"name": "StatusDot",
|
|
@@ -1984,7 +1984,7 @@
|
|
|
1984
1984
|
"classes": [
|
|
1985
1985
|
"ws-bulk-bar"
|
|
1986
1986
|
],
|
|
1987
|
-
"readme": "# Toolbar\n\nHead of a pane with its title, a count and a group of actions, or the bar shown while rows are selected.\n\n## Anatomy\n`div.pane-head[data-variant]` > `span.pane-title` (+ `span.pane-count`) + `div.pane-tools[role=toolbar]`.\n\n## Rules\n- `head`:
|
|
1987
|
+
"readme": "# Toolbar\n\nHead of a pane with its title, a count and a group of actions, or the bar shown while rows are selected.\n\n## Anatomy\n`div.pane-head[data-variant]` > `span.pane-title` (+ `span.pane-count`) + `div.pane-tools[role=toolbar]`.\n\n## Rules\n- `head`: 12px uppercase muted title; the count stays in normal case. Use it at the top of every side pane.\n- `bulk`: a 10% `--accent` tint bar that replaces the head while rows are selected; title is the summary (\"3 selected\").\n- Actions are IconButtons (with labels) or small Buttons, at most four; put the rest in a `Menu` behind \"More\".\n- The actions group has `role=\"toolbar\"`, is named by `label`, a string `title`, or `labels.actions`, and Left/Right move focus inside it.\n- Each action stays in the Tab order too; the group does not manage tabindex.\n\n## Responsive\n- The title and the actions wrap onto two lines when they do not fit; the actions also wrap among themselves. The bulk variant behaves the same.\n"
|
|
1988
1988
|
},
|
|
1989
1989
|
{
|
|
1990
1990
|
"name": "Tooltip",
|
|
@@ -2176,7 +2176,7 @@
|
|
|
2176
2176
|
"css": "var(--accent)",
|
|
2177
2177
|
"category": "color",
|
|
2178
2178
|
"value": {
|
|
2179
|
-
"dark": "#
|
|
2179
|
+
"dark": "#3a6be7",
|
|
2180
2180
|
"light": "#2453d6"
|
|
2181
2181
|
},
|
|
2182
2182
|
"usage": "Brand blue in the workspace: selected-tab top rule, on switches, merged PR dot, the mark."
|
|
@@ -2416,7 +2416,7 @@
|
|
|
2416
2416
|
"css": "var(--x-color-accent)",
|
|
2417
2417
|
"category": "color",
|
|
2418
2418
|
"value": {
|
|
2419
|
-
"dark": "#
|
|
2419
|
+
"dark": "#3a6be7",
|
|
2420
2420
|
"light": "#2453d6"
|
|
2421
2421
|
},
|
|
2422
2422
|
"usage": "Primary button fill, pressed segment, current activity."
|
|
@@ -2436,7 +2436,7 @@
|
|
|
2436
2436
|
"css": "var(--x-color-accent-soft)",
|
|
2437
2437
|
"category": "color",
|
|
2438
2438
|
"value": {
|
|
2439
|
-
"dark": "#
|
|
2439
|
+
"dark": "#3a6be72e",
|
|
2440
2440
|
"light": "#e1e9fb"
|
|
2441
2441
|
},
|
|
2442
2442
|
"usage": "Selected rows and soft accent wells."
|
|
@@ -3101,7 +3101,7 @@
|
|
|
3101
3101
|
"css": "font: var(--type-section)",
|
|
3102
3102
|
"category": "type",
|
|
3103
3103
|
"value": {
|
|
3104
|
-
"fontSize": "
|
|
3104
|
+
"fontSize": "12px",
|
|
3105
3105
|
"lineHeight": 1.4,
|
|
3106
3106
|
"fontWeight": 600
|
|
3107
3107
|
},
|
|
@@ -3112,7 +3112,7 @@
|
|
|
3112
3112
|
"css": "font: var(--type-badge)",
|
|
3113
3113
|
"category": "type",
|
|
3114
3114
|
"value": {
|
|
3115
|
-
"fontSize": "
|
|
3115
|
+
"fontSize": "12px",
|
|
3116
3116
|
"lineHeight": 1.5,
|
|
3117
3117
|
"fontWeight": 600
|
|
3118
3118
|
},
|
|
@@ -3123,7 +3123,7 @@
|
|
|
3123
3123
|
"css": "font: var(--type-tag)",
|
|
3124
3124
|
"category": "type",
|
|
3125
3125
|
"value": {
|
|
3126
|
-
"fontSize": "
|
|
3126
|
+
"fontSize": "12px",
|
|
3127
3127
|
"fontWeight": 400
|
|
3128
3128
|
},
|
|
3129
3129
|
"usage": "Tags, skipped-tab pill, activity count."
|
|
@@ -3176,7 +3176,7 @@
|
|
|
3176
3176
|
"css": "font: var(--type-mono-stat)",
|
|
3177
3177
|
"category": "type",
|
|
3178
3178
|
"value": {
|
|
3179
|
-
"fontSize": "
|
|
3179
|
+
"fontSize": "12px",
|
|
3180
3180
|
"fontWeight": 400
|
|
3181
3181
|
},
|
|
3182
3182
|
"usage": "+N / -N line counts, agent chip letter (700)."
|
|
@@ -3208,7 +3208,7 @@
|
|
|
3208
3208
|
"css": "font: var(--type-kbd)",
|
|
3209
3209
|
"category": "type",
|
|
3210
3210
|
"value": {
|
|
3211
|
-
"fontSize": "
|
|
3211
|
+
"fontSize": "12px",
|
|
3212
3212
|
"fontWeight": 400
|
|
3213
3213
|
},
|
|
3214
3214
|
"usage": "Key caps."
|
|
@@ -3345,7 +3345,7 @@
|
|
|
3345
3345
|
},
|
|
3346
3346
|
{
|
|
3347
3347
|
"path": "templates/admin/_npmrc",
|
|
3348
|
-
"text": "@xdev-asia
|
|
3348
|
+
"text": "# @xdev-asia/ui is on npmjs.com: no registry line or token is needed.\n"
|
|
3349
3349
|
},
|
|
3350
3350
|
{
|
|
3351
3351
|
"path": "templates/admin/index.html",
|
|
@@ -3484,7 +3484,7 @@
|
|
|
3484
3484
|
},
|
|
3485
3485
|
{
|
|
3486
3486
|
"path": "references/setup.md",
|
|
3487
|
-
"text": "# Setup\n\n## Install\n\n```bash\npnpm add @xdev-asia/ui react react-dom\n```\n\nThe package is on
|
|
3487
|
+
"text": "# Setup\n\n## Install\n\n```bash\npnpm add @xdev-asia/ui react react-dom\n```\n\nThe package is on npmjs.com, so the install needs no registry line and no token. Never commit a token. `xdev-ui-skills create` pins `@xdev-asia/ui` to the release that ships the template (`^x.y.z`); if you copy the template by hand, replace `latest` with the version you install.\n\n## Entry file\n\n```tsx\nimport \"@xdev-asia/ui/fonts.css\";\nimport \"@xdev-asia/ui/styles.css\";\nimport \"./app.css\";\n```\n\n- `styles.css` carries tokens and every component; import it once, before `app.css`.\n- `fonts.css` is optional; without it the system stack is used.\n- `index.html` sets `<html lang=\"en\" data-theme=\"dark\">`.\n\n## App CSS\n\nUse tokens only: `var(--x-space-4)`, `var(--text-2)`, `font: var(--type-status)`. Find a token with `xdevui_search_tokens`.\n"
|
|
3488
3488
|
},
|
|
3489
3489
|
{
|
|
3490
3490
|
"path": "references/states.md",
|
|
@@ -3504,7 +3504,7 @@
|
|
|
3504
3504
|
},
|
|
3505
3505
|
{
|
|
3506
3506
|
"path": "templates/app/_npmrc",
|
|
3507
|
-
"text": "@xdev-asia
|
|
3507
|
+
"text": "# @xdev-asia/ui is on npmjs.com: no registry line or token is needed.\n"
|
|
3508
3508
|
},
|
|
3509
3509
|
{
|
|
3510
3510
|
"path": "templates/app/index.html",
|
package/dist/llms-full.txt
CHANGED
|
@@ -7,7 +7,7 @@ Dark-first React 19 components and CSS tokens. Import `styles.css` once, set `da
|
|
|
7
7
|
## Setup
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
pnpm add @xdev-asia/ui #
|
|
10
|
+
pnpm add @xdev-asia/ui # from npmjs.com, no token needed
|
|
11
11
|
import "@xdev-asia/ui/styles.css";
|
|
12
12
|
import "@xdev-asia/ui/fonts.css"; // optional
|
|
13
13
|
<html data-theme="dark"> // or "light"
|
|
@@ -1599,7 +1599,7 @@ export function navigate(to: string): void
|
|
|
1599
1599
|
pnpm add @xdev-asia/ui react react-dom
|
|
1600
1600
|
```
|
|
1601
1601
|
|
|
1602
|
-
The package is on
|
|
1602
|
+
The package is on npmjs.com, so the install needs no registry line and no token. Never commit a token. `xdev-ui-skills create` pins `@xdev-asia/ui` to the release that ships the template (`^x.y.z`); if you copy the template by hand, replace `latest` with the version you install.
|
|
1603
1603
|
|
|
1604
1604
|
## Entry file
|
|
1605
1605
|
|
|
@@ -5929,7 +5929,7 @@ export interface DialogProps {
|
|
|
5929
5929
|
Mono `+added −removed` line count for a change, a file or a session row.
|
|
5930
5930
|
|
|
5931
5931
|
## Rules
|
|
5932
|
-
- Added in `--ok`, removed in `--danger`,
|
|
5932
|
+
- Added in `--ok`, removed in `--danger`, 12px mono.
|
|
5933
5933
|
- Show both numbers even when one is zero, so rows align.
|
|
5934
5934
|
- The minus is U+2212, not a hyphen.
|
|
5935
5935
|
- `labels` (`DiffStatLabels`: `diffStat(added, removed)`) overrides the accessible English summary.
|
|
@@ -8677,7 +8677,7 @@ export interface StatTileProps {
|
|
|
8677
8677
|
## Rules
|
|
8678
8678
|
- `items` renders left to right; the string `"spacer"` pushes the rest to the right.
|
|
8679
8679
|
- Left: session counts. Right: meters, branch, encoding.
|
|
8680
|
-
- Text is
|
|
8680
|
+
- Text is 12px `--text-2`. Nothing here is a primary action.
|
|
8681
8681
|
- `hidden` renders nothing (the bar leaves the layout); absent or `false` renders as before.
|
|
8682
8682
|
|
|
8683
8683
|
```ts
|
|
@@ -9381,7 +9381,7 @@ Head of a pane with its title, a count and a group of actions, or the bar shown
|
|
|
9381
9381
|
`div.pane-head[data-variant]` > `span.pane-title` (+ `span.pane-count`) + `div.pane-tools[role=toolbar]`.
|
|
9382
9382
|
|
|
9383
9383
|
## Rules
|
|
9384
|
-
- `head`:
|
|
9384
|
+
- `head`: 12px uppercase muted title; the count stays in normal case. Use it at the top of every side pane.
|
|
9385
9385
|
- `bulk`: a 10% `--accent` tint bar that replaces the head while rows are selected; title is the summary ("3 selected").
|
|
9386
9386
|
- Actions are IconButtons (with labels) or small Buttons, at most four; put the rest in a `Menu` behind "More".
|
|
9387
9387
|
- The actions group has `role="toolbar"`, is named by `label`, a string `title`, or `labels.actions`, and Left/Right move focus inside it.
|
|
@@ -9663,7 +9663,7 @@ export interface ZoomBarProps {
|
|
|
9663
9663
|
| `--text-3` | color | dark: #8f909b; light: #666974 | Tertiary meta text: palette section labels, placeholders, timestamps, counts. At least 4.5:1 on bg-0 to bg-3, term and side-tint in both themes; still the quietest text step, below text-2. |
|
|
9664
9664
|
| `--side-tint` | color | dark: #161a26; light: #f1f4fb | Left sidebar ground when Appearance > Sidebar is Tinted: bg-1 with a faint accent wash. Text-1 and text-2 keep their contrast on it. |
|
|
9665
9665
|
| `--term` | color | dark: #111215; light: #ffffff | Terminal and editor ground; the selected tab takes it so the tab joins its pane. White in light, between bg-0 and bg-1 in dark. |
|
|
9666
|
-
| `--accent` | color | dark: #
|
|
9666
|
+
| `--accent` | color | dark: #3a6be7; light: #2453d6 | Brand blue in the workspace: selected-tab top rule, on switches, merged PR dot, the mark. |
|
|
9667
9667
|
| `--signal` | color | dark: #5bd8ff; light: #06699a | Agent working state, meter fill, Codex chip. Text on bg-0 to bg-2. |
|
|
9668
9668
|
| `--signal-bg` | color | dark: rgba(91, 216, 255, 0.12); light: rgba(6, 112, 160, 0.1) | Tint behind signal text (Codex chip). |
|
|
9669
9669
|
| `--warn` | color | dark: #f2b544; light: #8a5200 | Needs-you state, pending checks, warn tag, meter over threshold. Text on bg-0 to bg-2. |
|
|
@@ -9687,9 +9687,9 @@ export interface ZoomBarProps {
|
|
|
9687
9687
|
| `--x-color-muted` | color | dark: #9aa8c7; light: #4f5b78 | Semantic secondary text on x-color-bg, panel and surface. |
|
|
9688
9688
|
| `--x-color-line` | color | dark: #24314f; light: #d6deed | Semantic hairline: secondary buttons, segmented, dialog edge. |
|
|
9689
9689
|
| `--x-color-line-strong` | color | dark: #64718d; light: #76839d | Control edge: 3:1 or more on x-color-bg, panel, surface and surface-2 and on bg-0 to bg-3 (SC 1.4.11). Use it where a border alone marks a field, checkbox, radio or switch; keep x-color-line for decorative dividers. |
|
|
9690
|
-
| `--x-color-accent` | color | dark: #
|
|
9690
|
+
| `--x-color-accent` | color | dark: #3a6be7; light: #2453d6 | Primary button fill, pressed segment, current activity. |
|
|
9691
9691
|
| `--x-color-on-accent` | color | dark: #ffffff; light: #ffffff | Text and glyphs on x-color-accent (5.2:1 dark, 6.6:1 light). |
|
|
9692
|
-
| `--x-color-accent-soft` | color | dark: #
|
|
9692
|
+
| `--x-color-accent-soft` | color | dark: #3a6be72e; light: #e1e9fb | Selected rows and soft accent wells. |
|
|
9693
9693
|
| `--x-color-signal` | color | dark: #5bd8ff; light: #0670a0 | Focus ring (2px solid, offset 2px) and changed badge text. |
|
|
9694
9694
|
| `--x-color-focus` | color | dark: {x-color-signal}; light: {x-color-signal} | Focus ring colour; always equal to x-color-signal. |
|
|
9695
9695
|
| `--x-color-signal-soft` | color | dark: #5bd8ff1f; light: #e1f2fa | Changed badge ground. |
|
|
@@ -9773,14 +9773,14 @@ export interface ZoomBarProps {
|
|
|
9773
9773
|
| `--type-label` | type | fontSize: 12px; fontWeight: 600 | Field labels, segmented options, select. |
|
|
9774
9774
|
| `--type-tab` | type | fontSize: 13px; fontWeight: 400 | Tab names, file tree rows, sidebar rows; unread tabs go to 700. |
|
|
9775
9775
|
| `--type-status` | type | fontSize: 12px; fontWeight: 400 | Footer status bar, field hints. |
|
|
9776
|
-
| `--type-section` | type | fontSize:
|
|
9777
|
-
| `--type-badge` | type | fontSize:
|
|
9778
|
-
| `--type-tag` | type | fontSize:
|
|
9776
|
+
| `--type-section` | type | fontSize: 12px; lineHeight: 1.4; fontWeight: 600 | Section and group headers in sidebars and panels; uppercase with 0.06em tracking, text-2. |
|
|
9777
|
+
| `--type-badge` | type | fontSize: 12px; lineHeight: 1.5; fontWeight: 600 | Badges, menu group labels, palette section labels. |
|
|
9778
|
+
| `--type-tag` | type | fontSize: 12px; fontWeight: 400 | Tags, skipped-tab pill, activity count. |
|
|
9779
9779
|
| `--type-avatar-sm` | type | fontSize: 8px; lineHeight: 1; fontWeight: 600 | Initials in a small Avatar. |
|
|
9780
9780
|
| `--type-avatar-md` | type | fontSize: 13px; lineHeight: 1; fontWeight: 600 | Initials in a medium Avatar. |
|
|
9781
9781
|
| `--type-avatar-lg` | type | fontSize: 19px; lineHeight: 1; fontWeight: 600 | Initials in a large Avatar. |
|
|
9782
9782
|
| `--type-mono` | type | fontSize: 12px; fontWeight: 400 | Crash detail, paths in fields, snippets. |
|
|
9783
|
-
| `--type-mono-stat` | type | fontSize:
|
|
9783
|
+
| `--type-mono-stat` | type | fontSize: 12px; fontWeight: 400 | +N / -N line counts, agent chip letter (700). |
|
|
9784
9784
|
| `--type-stat` | type | fontSize: 22px; lineHeight: 1.2; fontWeight: 600 | Headline number in StatTile. |
|
|
9785
9785
|
| `--type-display` | type | fontSize: 40px; lineHeight: 1.1; fontWeight: 600 | Wall clock or the one big number of a screen: StatTile size lg. |
|
|
9786
|
-
| `--type-kbd` | type | fontSize:
|
|
9786
|
+
| `--type-kbd` | type | fontSize: 12px; fontWeight: 400 | Key caps. |
|
package/dist/llms.txt
CHANGED
|
@@ -7,7 +7,7 @@ Dark-first React 19 components and CSS tokens. Import `styles.css` once, set `da
|
|
|
7
7
|
## Setup
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
pnpm add @xdev-asia/ui #
|
|
10
|
+
pnpm add @xdev-asia/ui # from npmjs.com, no token needed
|
|
11
11
|
import "@xdev-asia/ui/styles.css";
|
|
12
12
|
import "@xdev-asia/ui/fonts.css"; // optional
|
|
13
13
|
<html data-theme="dark"> // or "light"
|