Color

Semantically named colors and a set of ramps for the full palette. Optimized for light and dark.

Reach for it when
  • Any color in the dashboard. Use the semantic token for the role (bg-surface, text-muted), never a hex or a Tailwind palette class.
  • Ramps only for charts, illustration and the rare tonal step a semantic token doesn't cover.

The short version

If you read nothing else on this page, read these.

Custom domainServe your docs from your own URL.docs.acme.dev
Do. Name the role with a semantic token. It flips with the theme on its own.
Custom domainServe your docs from your own URL.docs.acme.dev
Don't. Hardcode a hex or a Tailwind palette class. It stays light in dark mode.
Live
Do. Save color for status and the one primary action, so they stand out.
Live
Don't. Reach for a ramp to decorate controls, or to recolor a status. Every color competes, and the status stops reading as one.

Semantic tokens

One token per interface role. Pick a group, then a token to see both themes, its class and its contrast.

Text on surfaces

Each text token as a sentence on the surface it's meant for. Read them in both themes before choosing one.

Text tokens on their surfaces

Click a row to copy its class.

Status

Four statuses, seven variants each. Surfaces and fills for backgrounds, lines for borders, text and strong for words.

Status scale

Hover a cell for its value, click to copy its class.

surfacefillfill-hoverlinesolidtextstrong
success
warning
danger
info

Site published

Your docs are live at docs.acme.dev.

DNS not verified yet

Changes can take up to an hour to propagate.

Couldn't reach GitHub

Check the connection and try again.

Preview ready

Rebuilt from the latest commit.

Ramps

Twelve steps per hue for charts, illustration and the rare tonal step a semantic token doesn't cover. Choose the step by its job, then the hue.

Ramps

Hover a step for its role and value, click to copy its class.

BackgroundsInteractive fillsBordersSolidsText100200300400500600700800900100011001200
gray
red
orange
amber
yellow
green
teal
blue
purple

Keep going

Surfaces
Introduce layering of components with ease.
Accessibility
Fern supports accessibility standards out of the box.
Typography
Beautiful display and mono fonts that scale for all sizes.