BetaPublic beta — Read the release notes
Documentation

Solidiom Default Theme

The canonical Solidiom theme with a cool slate canvas and indigo primary.

Status
published

Preview

Light

Palette

border

border#CBD5E1
border-active#5750D6
border-muted#E2E8F0

intent

destructive#E5484D

focus

focus-ring#5750D6
focus-ring-width2px

typography

font-size-base0.875rem
font-size-lg1.25rem
font-size-md1.125rem
font-size-sm0.875rem
font-size-xl1.875rem
font-size-xs0.75rem

foreground

foreground#111827
foreground-inverse#F8FAFC
foreground-muted#334155
foreground-subtle#64748B
line-height-base1.25rem
line-height-lg1.5rem
line-height-md1.5rem
line-height-sm1.25rem
line-height-xl2.25rem
line-height-xs1rem
primary#5750D6
primary-foreground#FFFFFF
primary-hover#4C46C5

radius

radius12px
radius-full999px
radius-lg16px
radius-sm8px
secondary#2563EB
success#22C55E

surface

surface#F8FAFC
surface-overlay#FFFFFF
surface-raised#FFFFFF
surface-sunken#F1F5F9
warning#F59E0B

UI Preview

DefaultSuccessWarningError

Card Title

This card uses theme tokens.

Every color, border, and radius is driven by CSS custom properties from this theme.
Info message.
Changes saved.
Session expiring soon.
Failed to save.
60%
Dark

Palette

border

border#334155
border-active#8B83F8
border-muted#1E293B

intent

destructive#F87171

focus

focus-ring#8B83F8
focus-ring-width2px

typography

font-size-base0.875rem
font-size-lg1.25rem
font-size-md1.125rem
font-size-sm0.875rem
font-size-xl1.875rem
font-size-xs0.75rem

foreground

foreground#F1F5F9
foreground-inverse#0F172A
foreground-muted#94A3B8
foreground-subtle#64748B
line-height-base1.25rem
line-height-lg1.5rem
line-height-md1.5rem
line-height-sm1.25rem
line-height-xl2.25rem
line-height-xs1rem
primary#8B83F8
primary-foreground#0F172A
primary-hover#A19BFA

radius

radius12px
radius-full999px
radius-lg16px
radius-sm8px
secondary#60A5FA
success#4ADE80

surface

surface#0F172A
surface-overlay#1E293B
surface-raised#1E293B
surface-sunken#020617
warning#FBBF24

UI Preview

DefaultSuccessWarningError

Card Title

This card uses theme tokens.

Every color, border, and radius is driven by CSS custom properties from this theme.
Info message.
Changes saved.
Session expiring soon.
Failed to save.
60%

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/themes

Import 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.