rosie-ui
v0.5.0
Published
Rosie UI — a pastel, token-based design system (styles + core scripts) for data-intensive, cross-platform web apps.
Downloads
350
Readme
Rosie UI
Rosie UI is a pastel, token-based design system for building data-intensive, cross-platform web apps for desktops, tablets, and smartphones.
It ships as an ESM package that works out of the box with every modern bundler (Vite, webpack, esbuild, Rollup, Parcel). This release exposes the styles and a small set of core scripts; React components are in progress and will land in a later version.
- Bootstrap-compatible class names — existing Bootstrap markup migrates with no class changes.
- A
--rosie-*CSS custom-property token system (primitive → semantic tiers), light theme, primary#e97b98. - No runtime dependency on Bootstrap.
Install
npm install rosie-uiReact 19.2.4 is a peer dependency (pinned exactly — each React version is treated as distinct):
npm install [email protected] [email protected]Usage
Styles
Import the compiled CSS once at your app entry:
import 'rosie-ui/css';Or compile the SCSS yourself and override tokens:
@use 'rosie-ui/scss' with (
$primary: #e97b98
);Then use the Bootstrap-compatible class names in your markup:
<button class="btn btn-primary">Save</button>
<div class="card"><div class="card-body">…</div></div>See kitchen-sink.html for every component rendered.
Core scripts
The Rosie namespace bundles the core utilities and language extensions:
import { Rosie } from 'rosie-ui';Subpath exports
| Import | What |
| --- | --- |
| rosie-ui | Core scripts (ESM) + types |
| rosie-ui/css | Compiled stylesheet |
| rosie-ui/scss | SCSS entry (for token overrides) |
| rosie-ui/scss/* | Individual SCSS partials |
Development
npm install
npm run build # css + js
npm run css # styles only → dist/css/rosie.css
npm run js # scripts only → dist/js (tsc)License
Rosie UI is released under the MIT license.
