Skip to content
Compact style guide page — everything themeable, nothing to scroll past.

Style guide

This is bold, this is italic, this is a link, this is inline code, and this is Ctrl + K.

  • Colors
    • Accent hue, chroma
  • Typography
  1. Pick a preset
  2. Export CSS
Preset
A bundle of values applied in one click.

A theme editor that can’t show you the real page is just a color picker with extra steps.


specimen.js
export function specimen() {
return 'themeable';
}
Apply
npm run build
ID Type Default Tier
color.accent.hue range 250 1
sidebar.activeStyle select filled-pill 2
What happens to my custom CSS?

It stays, loaded via customCss.

Search with Cmd+K.
  1. Pick a preset.
  2. Adjust treatments.
  3. Export theme.css.
  • Directorysrc
    • Directorycontent
      • docs/specimen.mdx

Compact

Everything, once.

Themeable

Every surface.
Start FAQ GitHub Default Note Tip Caution Danger Success Houston, the Starlight mascot