Index / 00

Theme
specimen

@repo/design-system

Semantic tokens, rendered side by side under both themes. Return here after edits to theme.css.

/scope :root
Light.
primary
action
I.

Palette

Aa
Background
--background
+ foreground
Aa
Card
--card
+ card-foreground
Aa
Muted
--muted
+ muted-foreground
Aa
Accent
--accent
+ accent-foreground
Aa
Primary
--primary
+ primary-foreground
Aa
Action
--action
+ action-foreground
Aa
Secondary
--secondary
+ secondary-foreground
Aa
Destructive
--destructive
+ destructive-foreground
II.

Typography

Display · 700 · tracking-tighter
Clear
hierarchy.
Heading · 500 · tracking-tight
A section heading
Body · 400

Primary text sits at the top of the typographic stack — normal weight, full foreground color.

Muted · 400

Descriptions, captions, timestamps. Clearly one step down from primary text in both weight feel and brightness.

Overline · mono · tracking-widest
Section label / metadata
III.

Interaction

Buttons
Badges
Default
Secondary
Outline
Destructive
Inputs
Focus
IV.

Surfaces

Card
Plain
Surface one step above the page background. Border, corner radius, and shadow all arrive from the theme.
Card
With actions

Verify button contrast against a card surface in both themes.

bg-muted
For quiet sections that shouldn’t compete with the main content.
bg-accent
A subtle tint for grouping related controls or highlighting a region.
/scope .dark
Dark.
primary
action
I.

Palette

Aa
Background
--background
+ foreground
Aa
Card
--card
+ card-foreground
Aa
Muted
--muted
+ muted-foreground
Aa
Accent
--accent
+ accent-foreground
Aa
Primary
--primary
+ primary-foreground
Aa
Action
--action
+ action-foreground
Aa
Secondary
--secondary
+ secondary-foreground
Aa
Destructive
--destructive
+ destructive-foreground
II.

Typography

Display · 700 · tracking-tighter
Clear
hierarchy.
Heading · 500 · tracking-tight
A section heading
Body · 400

Primary text sits at the top of the typographic stack — normal weight, full foreground color.

Muted · 400

Descriptions, captions, timestamps. Clearly one step down from primary text in both weight feel and brightness.

Overline · mono · tracking-widest
Section label / metadata
III.

Interaction

Buttons
Badges
Default
Secondary
Outline
Destructive
Inputs
Focus
IV.

Surfaces

Card
Plain
Surface one step above the page background. Border, corner radius, and shadow all arrive from the theme.
Card
With actions

Verify button contrast against a card surface in both themes.

bg-muted
For quiet sections that shouldn’t compete with the main content.
bg-accent
A subtle tint for grouping related controls or highlighting a region.
V.

Ledger

hsl
TokenLightDark
--background0 0% 100%0 0% 8%
--foreground240 10% 3.9%0 0% 98%
--card0 0% 100%0 0% 10%
--card-foreground240 10% 3.9%0 0% 98%
--primary326 100% 71%326 100% 71%
--action203 100% 69%203 100% 69%
--secondary240 5.9% 90%0 0% 27%
--muted240 4.8% 95.9%0 0% 27%
--muted-foreground240 3.8% 46.1%0 0% 65%
--accent240 4.8% 95.9%0 0% 27%
--destructive0 84.2% 60.2%0 62.8% 30.6%
--border240 5.9% 90%0 0% 22%
--input240 5.9% 90%0 0% 27%
--ring203 100% 69%203 100% 69%