ui
Design data the apps share. Package @unset/shared-ui, MIT. The React kit that lived here was deleted in P1.20k. ADR 0055 is the UI decision. Iconoir is decision 33. The design source is ADR 0016.
Owns
| Path | What it holds |
|---|---|
shared/ui/theme.css | The theme. Screens are themed only by this file. |
shared/ui/tokens/ | Token source. shared/ui/src/tokens.css is generated from it. |
shared/ui/sheet/ | Pinned copy of the design sheet. |
shared/ui/fonts/ | SpaceGrotesk-Variable.woff2 and JetBrainsMono-Variable.woff2. |
shared/ui/icons/ | The Iconoir copy and icons.json. |
shared/ui/approved-extensions.json | Icons added beyond the sheet list. |
shared/ui/inventory.json | Sheet components and their status. |
shared/ui/components/Navigation/README.md | The sheet note for Navigation. No component code. |
shared/ui/index.ts | Font-metric types for shared/ui-build. Nothing else. |
Package exports (shared/ui/package.json): ., ./icons.json, ./fonts/*.woff2, ./theme.css.
safeHref is shared/safe-href/. The Svelte screens are web. LEAF_SHARED includes this folder. Row shared-ui-safe-href reaches shared/safe-href/index.ts. The Svelte Icon and the font route are the only product readers of icons.json and the two font files (svelte-no-react-ui).