Solidiom Default Theme
The canonical Solidiom theme with a cool slate canvas and indigo primary.
API
The canonical Solidiom theme with a cool slate canvas and indigo primary.
Overview
Solidiom Default is a preset theme that provides a complete set of design tokens for css, tailwind styling profiles. It includes light and dark mode palettes, typography scales, spacing, and interactive states.
Palette
Solidiom Default defines a full semantic color palette including surface layers, foreground colors, primary/secondary actions, and semantic states (success, warning, destructive). The palette is designed for WCAG AA contrast compliance in both light and dark modes.
Typography
The theme inherits the project’s font configuration and applies a six-step type scale (xs, sm, base, md, lg, xl) with paired line-heights. Heading and body text follow the Solidiom typeset conventions.
Tokens
Solidiom Default exposes semantic tokens through CSS custom properties:
- Surface:
--sol-surface,--sol-surface-raised,--sol-surface-overlay,--sol-surface-sunken - Foreground:
--sol-foreground,--sol-foreground-muted,--sol-foreground-subtle - Primary:
--sol-primary,--sol-primary-hover,--sol-primary-foreground - States:
--sol-success,--sol-warning,--sol-destructive - Radius:
--sol-radius-sm,--sol-radius,--sol-radius-lg,--sol-radius-full
Outputs
Solidiom Default ships in the following output formats:
- css — CSS custom properties stylesheet
- tailwind — Tailwind CSS configuration mapping
Installation
pnpm add @solidiom/themesImport the theme in your project’s entry point and apply it through your chosen styling profile. The theme can be used standalone or extended to create a custom theme.