Sépale
Do gild the lily
Sépale is a low-key component library, available in CSS or Svelte. Pick a visual style and adjust it to your colours.
npm install @sepale/components @sepale/style Frost is over
The seedlings can go out.What Sépale is made of, whichever family you pick: components first, plain CSS after, and a Svelte layer that knows what the stylesheet ships.
Components are em-based and carry no breakpoints. Change the font size and the whole component follows.
Import a family’s stylesheet and every prop narrows to what it ships, so a variant it lacks is a compile error.
A component is a DOM structure and a set of classes. The Svelte wrapper is the quick way in, not the only one.
No Tailwind, no @apply, no config. A family is one stylesheet, and the reset is optional and separate.
A data handler drives filters, sort, search, pages and pending edits. Tables, grids, lists and kanbans only draw its rows.
Each family writes the whole of every component and reads nothing from another, so one can go far without breaking its neighbours.
Changing family is changing a stylesheet and an import, never the markup. Pick one, then drag the cards: this is the kit itself, not a picture of it.
<script> import { Card, Kanban } from '@sepale/components'; import '@sepale/style/peony.css'; import '@sepale/style/peony/themes/azure.css'; </script> <Kanban {items} {columns} columnOf={(t) => t.status} key={(t) => t.id} {onmove}> {#snippet item(task)} <Card size="sm">{task.title}</Card> {/snippet} </Kanban>
Every page has live examples, the Svelte props, and the classes the active family actually ships, read from its compiled stylesheet so the documentation cannot drift from the CSS.
Each family declares its own parameters: colours, radii, and knobs of its own, like a shadow offset or a hand-drawn wobble.
The theme generator edits them live on a make-believe app, then exports a theme.css to lay
over the family’s stylesheet.
:root {
--color-page: #f0f3f8;
--color-surface-1: #ffffff;
--color-surface-2: #f4f6fa;
--color-surface-3: #e8edf4;
--color-surface-4: #d9e1ec;
--color-border: #d5dde8;
--color-on-surface: #17212f;
--color-primary: #2459d6;
--color-neutral: #6b778a;
--color-info: #3aa0d8;
--color-success: #3faa78;
--color-warning: #e3a33e;
/* … */
}Follow the kit as it evolves, or take a snapshot that is yours to change.
@sepale/style is the stylesheets alone, with no dependency. @sepale/components adds the Svelte layer, typed by the stylesheet you import: switching family is changing that import, and the compiler lists what to fix.
Parameters, classes and props follow semver.
import { Button } from '@sepale/components'; import '@sepale/style/peony.css';
Download a zip from the theme generator: the family’s stylesheet, your theme and, if you want them, the Svelte components with that family’s types. A snapshot never updates, so change what you like. Without Svelte, write the classes yourself.
<link rel="stylesheet" href="peony.css" /> <link rel="stylesheet" href="theme.css" /> <button class="btn btn-primary">Plant</button>