Wailspring uses a neutral default theme defined in one Panda CSS foundation (@wailspring/design-system): white and charcoal surfaces, readable gray text, high-contrast neutral primary fills, restrained borders, a blue focus indicator, semantic status colors, 0.25rem (4px, radii.square) control corners, and locally bundled Inter and JetBrains Mono fonts.
Apps share this foundation through Panda CSS design systems: apps/site consumes @wailspring/design-system directly with jsxFramework unset, while apps/desktop/frontend and apps/storybook consume @wailspring/ui—the Park UI / Ark UI React catalog inheriting Wailspring tokens directly. Do not run generic upstream Panda or Park UI installers over this workspace or add a second palette.
Switch the site’s theme controls to compare light and dark values. Token data comes from @wailspring/design-system via @wailspring/docs, and the static HTML specimens below render through @wailspring/docs/astro with zero client JavaScript.
To add a semantic token or recipe, follow Build a feature or scaffold a component with Workspace CLI. To inspect interactive Park UI React components, enable Developer mode in the desktop app or run the optional Storybook workshop—see Desktop app.
Colors
- colors.bg.primary
- Light: #ffffff
Dark: #18181b - colors.bg.secondary
- Light: #f4f4f5
Dark: #232326 - colors.accent.primary
- Light: #2563eb
Dark: #60a5fa - colors.content.focus
- Light: #2563eb
Dark: #60a5fa - colors.text.primary
- Light: #18181b
Dark: #f4f4f5 - colors.text.secondary
- Light: #52525b
Dark: #d4d4d8 - colors.border.medium
- Light: rgba(24, 24, 27, 0.24)
Dark: rgba(244, 244, 245, 0.24) - colors.content.link
- Light: #1d4ed8
Dark: #93c5fd
Typography
- fonts.sans
- "Inter", ui-sans-serif, system-ui, sans-serif
- Interface text and code. 0123456789
- fonts.mono
- "JetBrains Mono", "Monaco", "Menlo", "Ubuntu Mono", monospace
- Interface text and code. 0123456789
- fontSizes.h2
- clamp(2rem, 3vw + 0.5rem, 3rem)
- Interface text and code. 0123456789
- fontSizes.body
- clamp(1rem, 0.5vw + 0.875rem, 1.125rem)
- Interface text and code. 0123456789
- fontSizes.caption
- clamp(0.75rem, 0.25vw + 0.6875rem, 0.875rem)
- Interface text and code. 0123456789
Spacing
- spacing.xs
- clamp(0.375rem, 0.25vw + 0.25rem, 0.5rem)
- spacing.md
- clamp(0.75rem, 0.5vw + 0.5rem, 1rem)
- spacing.xl
- clamp(1.25rem, 1vw + 0.75rem, 2rem)
- spacing.fixed.1
- 0.25rem
- spacing.fixed.4
- 1rem
- spacing.fixed.8
- 2rem
- spacing.layout.columns
- clamp(2rem, 5vw, 6rem)
Examples
<button type="button" class={button()}>Example button</button>
Wailspring uses a neutral default theme defined in one Panda CSS foundation (
@wailspring/design-system): white and charcoal surfaces, readable gray text, high-contrast neutral primary fills, restrained borders, a blue focus indicator, semantic status colors,0.25rem(4px,radii.square) control corners, and locally bundled Inter and JetBrains Mono fonts.Apps share this foundation through Panda CSS design systems:
apps/siteconsumes@wailspring/design-systemdirectly withjsxFrameworkunset, whileapps/desktop/frontendandapps/storybookconsume@wailspring/ui—the Park UI / Ark UI React catalog inheriting Wailspring tokens directly. Do not run generic upstream Panda or Park UI installers over this workspace or add a second palette.Switch the site’s theme controls to compare light and dark values. Token data comes from
@wailspring/design-systemvia@wailspring/docs, and the static HTML specimens below render through@wailspring/docs/astrowith zero client JavaScript.To add a semantic token or recipe, follow Build a feature or scaffold a component with Workspace CLI. To inspect interactive Park UI React components, enable Developer mode in the desktop app or run the optional Storybook workshop—see Desktop app.
Colors
Dark: #18181b
Dark: #232326
Dark: #60a5fa
Dark: #60a5fa
Dark: #f4f4f5
Dark: #d4d4d8
Dark: rgba(244, 244, 245, 0.24)
Dark: #93c5fd
Typography
Spacing
Examples