petal playground
1k
primary
secondary
gray
radius
type

Typography

The refined 4.2 scale: self-composing vertical rhythm, balanced headings, and a three-tier emphasis system that holds in both modes.

Type tokens

Everything on this page follows the type dials in the strip above: three opt-in tokens (--pc-font-heading, --pc-font-body, --pc-font-mono) that the library reads but never defines, so an app that sets nothing keeps its own stack. Heading falls back through body, so one body token restyles everything.

Dial in a look, then share the URL - the theme travels in the query string.

Headings

The quick brown fox

The quick brown fox

The quick brown fox

The quick brown fox

The quick brown fox
Body and emphasis tiers

A lead paragraph sits between heading and body - one size up, muted a step.

Default body copy carries the middle emphasis tier. It pairs inline_code with strong text at the top tier, and stays readable across light and dark without per-mode overrides.

Muted text is the quiet tier - captions, hints, timestamps.

Structure
Design is the silent ambassador of your brand.
  • Unordered lists keep the body rhythm
  • With markers in the muted tier

  1. Ordered lists number in tabular figures
  2. So multi-digit lists stay aligned