Skip to main content
239

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Themes
Web docs

Theming: Portable theme packs

Keep light and dark tokens together, validate them once, and export the same theme to the web, Figma, and native adapters.

Validate a pack

Paste a paired theme or a Figma variable collection. Each export validates the pack first, previews both modes, and lists compatibility findings for appearance settings a native adapter can't express.

Choose an export to validate and preview both modes.

Light preview

Semantic colors and appearance dimensions.

Dark preview

Semantic colors and appearance dimensions.

Export

Native source is editable configuration for the named adapter; these browser previews show the web interpretation. Review the generated findings and test the source in the target application.

ts
import { parseLumenThemePack, exportLumenThemePackNative } from '@santi020k/lumen-core'

Build a pack visually in the theme playground, or start a new project with it on the Create page.

Web docsFull catalog