▦peleda ui
The shared design system
Tokens, a theme engine, a React app kit, a landing kit and a VitePress docs theme for every peleda site and app.
Everything here reads one set of CSS variables, all prefixed --pl-. Components never use raw colours: they use Tailwind utilities such as bg-surface, text-fg-muted, rounded-field and shadow-overlay, which resolve to those variables. Change the variables and every kit follows.
Packages
| Package | What it holds |
|---|---|
@peleda-app/tokens | CSS tokens, the Tailwind 4 theme, font imports, site identities and the theme engine (createTheme, themeToCss, applyTheme) |
@peleda-app/ui | The React kit: Radix-based primitives and generic components |
@peleda-app/landing | Landing sections, frames, the family header and footer, and Site for per-identity theming |
@peleda-app/docs | The VitePress theme, defineDocsConfig and Vue components for documentation |
@peleda-app/site | Static site builds: Vite, prerendered React pages, sitemap, robots.txt and optional VitePress docs |
The packages export TypeScript source. The app that uses them bundles it, so there is no build step inside the design system.