Resources and adoption

Source, tooling and adoption notes

Where each system lives, how to run its documentation, what to check before adopting it and how to propose changes without coupling RWDS and RUI.

Where each system lives

RWDS

The website application and its components. Theme tokens live in the global website stylesheet and the RWDS component layer in components/rwds.

RUI

The OS UI kit: @rumahl/ui, shell layouts, components, themes and Storybook stories in frontend/packages.

Storybook

RUI has its own Storybook from the rumahl repository. RWDS has a Storybook for the website components. Both are published under /design/storybook.

Glossary

Plain-language definitions for RWDS, RUI, tokens, components, stories and the terms used in this documentation.

Color Table Generator

Generate an accessible 50–950 accent scale and tinted neutrals from a seed colour. Typography, spacing, radii and motion stay fixed.

Run RWDS locally

Install the package once with pnpm --dir storybook-rwds install --ignore-workspace, then run pnpm --dir storybook-rwds storybook.

Rebuild the published copies

Run scripts/sync-storybooks.sh from the website repository. Set RUMAHL_REPO if the rumahl repository is elsewhere.

Before you adopt a system

1. Choose by surface

A website or documentation page uses RWDS. A shell, window or app control uses RUI.

2. Check the contract

RWDS uses semantic website tokens. RUI uses --rumahl-ui-* tokens and component props with semver stability.

3. Read the boundary

No cross-imports. If a component needs both surfaces, split it into two components with a shared brand decision.
Licence and brand
Source and licence information is in the rumahl repository. The name and logo stay governed by the trademark policy even when a design system is adopted.

Contributing

RWDS

Use semantic tokens, document any new role, check light and dark, long-form readability and mobile layout.

RUI

Add or change a component, its story and its test together. Keep token IDs and props semver-stable.

Shared brand

A brand change affects both systems. Treat it as a cross-system decision, not a local style change.