[web] Domi UI: the web UI on @domi/ui v1.0.4, vendored (CPAL-1.0), with the Built on Domi credit (PR #14, squashed)
@domi/ui v1.0.4 vendored unchanged in packages/domi-ui by domi-design's tools/vendor.mjs and used as workspace:*, so the Nix build fetches nothing from Gitea (web.nix sources the folder; fetchPnpmDeps hash from the NixOS runner). Its fonts, roles (data-domi-room="ianitor", the same hex) and controls replace Ianitor's copies: Button through Ianitor's adapter (desktop sizes kept), every text field a TextField with its seal, Checkbox, Select, Segmented. Ianitor's 22 role names renamed to --domi-*. <DomiCredit /> on every screen and in About, with the CPAL section 15 note beside the source link; the README names the vendored package. Disabled buttons are natively disabled.
This commit was merged in pull request #14.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/* ianitor's token names before @domi/ui, as aliases. GENERATED by tools/build-legacy.mjs: do not edit. */
|
||||
/* Load after @domi/ui/domi.css. Temporary: rename usages to --domi-* and drop this file. */
|
||||
.ia {
|
||||
--ground: var(--domi-bg);
|
||||
--colonnade: var(--domi-chrome);
|
||||
--surface: var(--domi-panel);
|
||||
--surface-2: var(--domi-hover);
|
||||
--hairline: var(--domi-line);
|
||||
--control-edge: var(--domi-edge);
|
||||
--text: var(--domi-fg);
|
||||
--text-2: var(--domi-fg-2);
|
||||
--muted: var(--domi-muted);
|
||||
--disabled: var(--domi-disabled);
|
||||
--accent: var(--domi-accent);
|
||||
--accent-strong: var(--domi-accent-strong);
|
||||
--primary-high: var(--domi-leaf-hi);
|
||||
--primary-mid: var(--domi-leaf-mid);
|
||||
--primary-low: var(--domi-leaf-lo);
|
||||
--primary-edge: var(--domi-leaf-edge);
|
||||
--on-primary: var(--domi-leaf-fg);
|
||||
--second: var(--domi-second);
|
||||
--danger: var(--domi-danger);
|
||||
--on-danger: var(--domi-danger-fg);
|
||||
--healthy: var(--domi-ok);
|
||||
--degraded: var(--domi-warning);
|
||||
}
|
||||
Reference in New Issue
Block a user