Theme Generator
utilitiesInteractive tool for generating a complete design token theme from a brand color.
Preview
No preview available
Check the code examples below.
Installation
npm install @launchapp/design-systemImport
import { ThemeGenerator } from "@launchapp/design-system";Examples
Theme generator tool
<ThemeGenerator onApply={(tokens) => console.log("apply theme:", tokens)} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
onApply | (tokens: ThemeTokens) => void | — | Called when generated theme is applied. |