Repository navigation
ADR 0006
github-actions[bot] edited this page Nov 21, 2026
·
1 revision
Status: accepted · Built: skeleton · Date: 2026-11-07 · Superseded by: 0033
The dashboard and the website should look like one product. shadcn-svelte copies component source into a project rather than installing a library, so two apps would otherwise hold two copies of every component and the theme.
- One workspace package,
packages/ui(@spotcraft/ui), holds the shadcn-sveltecomponents.json, the components,cn, and the theme instyles.css. - The theme is the shadcn-svelte preset
b6RdvRWulu(vegastyle, neutral, square corners, Space Grotesk, lucide icons). - Both apps use Tailwind v4 and import
@spotcraft/ui/styles.css; that file declares an@sourcefor the package's components so each app's Tailwind generates their classes. - The package is source-only; the apps compile it. Inside it, files import each other through
#ui/*package imports.
- Components are added once, with the CLI run in
packages/ui. - The CLI lists component dependencies as dev dependencies; they have to be moved to
dependenciesso the apps get them.
Published from docs/. Edit the files there; changes here are overwritten.