[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,20 @@
|
||||
/* postea'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. */
|
||||
:root {
|
||||
--postea-color-bg-app: var(--domi-bg);
|
||||
--postea-color-bg-panel: var(--domi-chrome);
|
||||
--postea-color-bg-surface: var(--domi-panel);
|
||||
--postea-color-rule-base: var(--domi-line);
|
||||
--postea-color-accent-dim: var(--domi-edge);
|
||||
--postea-color-text-heading: var(--domi-fg);
|
||||
--postea-color-text-soft: var(--domi-fg-2);
|
||||
--postea-color-text-muted: var(--domi-muted);
|
||||
--postea-color-text-faint: var(--domi-disabled);
|
||||
--postea-color-accent-base: var(--domi-accent);
|
||||
--postea-color-accent-bright: var(--domi-accent-strong);
|
||||
--postea-color-primary-base: var(--domi-leaf-mid);
|
||||
--postea-color-primary-deep: var(--domi-leaf-lo);
|
||||
--postea-color-accent-mid: var(--domi-leaf-edge);
|
||||
--postea-color-gold-base: var(--domi-second);
|
||||
--postea-color-risk-onDark: var(--domi-danger);
|
||||
}
|
||||
Reference in New Issue
Block a user