Text colors

Every text color token with its value and where it's used, plus before-and-after comparisons for consolidating them.

Text color tokens

--foreground #c0c0c8

The quick brown fox jumps over the lazy dog.

Used by: Body text everywhere, outline badgesThe base. Everything else is judged against it.
--heading #d6d6dc

The quick brown fox jumps over the lazy dog.

Used by: H1–H6, page titlesKeep: headings need to sit a step brighter.
--muted-foreground #c0c0c8

The quick brown fox jumps over the lazy dog.

Used by: Intros, list descriptions, breadcrumbs, card descriptions, placeholders, tab labelsSame gray as body text for now.
--card-foreground #ebebeb

The quick brown fox jumps over the lazy dog.

Used by: Text inside cardsBrighter than body text. Candidate: var(--foreground).
--popover-foreground #ebebeb

The quick brown fox jumps over the lazy dog.

Used by: Dropdown menus, popoversBrighter than body text. Candidate: var(--foreground).
--secondary-foreground #e5e5e5

The quick brown fox jumps over the lazy dog.

Used by: Secondary buttons and badgesAlmost the old body color. Candidate: var(--foreground) or var(--heading).
--accent-foreground #ffffff

The quick brown fox jumps over the lazy dog.

Used by: Highlighted menu items, ghost-button hoverPure white, the brightest text on the site. Candidate: var(--heading).
--primary #58a6ff

The quick brown fox jumps over the lazy dog.

Used by: Links, focus rings, primary buttonsKeep.
--code #58a6ff

The quick brown fox jumps over the lazy dog.

Used by: Inline codeSame value as --primary on purpose, so the two can diverge later.

Before and after, per component

Every component that uses a token we might consolidate, shown with the current value and the consolidated one.

--card-foreground

#ebebeb → var(--foreground) (#c0c0c8)

Card
Before
Card title
Description stays muted.
Card body text.
After
Card title
Description stays muted.
Card body text.
Alert (default)
Before
After

--secondary-foreground

#e5e5e5 → var(--foreground) (#c0c0c8)

Button (secondary)
Before
After
Badge (secondary)
BeforeSecondary badge
AfterSecondary badge

--popover-foreground

#ebebeb → var(--foreground) (#c0c0c8). Click each trigger to open it.

Dialog
Before
After
AlertDialog
Before
After
Sheet
Before
After
Drawer
Before
After
Popover
Before
After
HoverCard
Before
After
NavigationMenu
Before
After
Command
Before
After
Chart tooltip
Hover a bar.
Before
After
Toast (Sonner)
Before shows bottom-left, after shows bottom-right.
Before
After

--popover-foreground + --accent-foreground

Menu text uses the popover token. The highlighted item uses --accent-foreground: #ffffff → var(--heading) (#d6d6dc). Open each menu and hover an item.

DropdownMenu
Also the breadcrumb “…” overflow menu on the live site.
Before
After
ContextMenu
Before
Right-click here
After
Right-click here
Menubar
Before
After
Select
Before
After
Combobox
Before
After
  • Outline smoothing

    The byline chips' blue outline drawn seven ways, to see which anti-aliases most smoothly.

  • Feed entry styles

    Test page for comparing feed-entry separators, shadows and layout treatments across image, post and page examples.

  • Spacing

    Body text line height, paragraph gaps and list spacing, from today's to tighter, side by side.

  • Hover speed

    Every hover fade on the site at its current speed, next to instant, 10ms, 50ms and 100ms.