Text colors

Express emphasis, interaction, and status without coupling copy to a palette step. Check contrast against the actual background; a pairing describes intent, not a guarantee of accessibility.

In use

.byline {
  color: var(--text-secondary);
}
a {
  color: var(--text-interactive);
}
a:hover {
  color: var(--text-interactive-hover);
}

These examples show how to consume the tokens. Assign values before using them.

--text-primary

coreType: color

Main body and default copy text.

Use for: body, headings by default

Value: supplied by your design.

--text-secondary

coreType: color

Supporting copy with less emphasis than primary.

Use for: subtitles, metadata, secondary labels

Value: supplied by your design.

--text-subtle

coreType: color

Quietest text for hints, captions, and de-emphasized content.

Use for: captions, placeholder-adjacent hints

Value: supplied by your design.

--text-interactive

coreType: color

Default color for text links and text-styled controls. Hover/active use text-interactive-hover and text-interactive-active.

Use for: links, text buttons

Value: supplied by your design.

--text-brand

coreType: color

Text colored with the primary brand accent.

Value: supplied by your design.

--text-brand-secondary

coreType: color

Text colored with a secondary brand accent.

Value: supplied by your design.

--text-success

coreType: color

Text for success messaging and status.

Value: supplied by your design.

--text-warning

coreType: color

Text for warning messaging and status.

Value: supplied by your design.

--text-danger

coreType: color

Text for danger/error messaging and status.

Value: supplied by your design.

--text-info

coreType: color

Text for informational messaging and status.

Value: supplied by your design.

--text-disabled

coreType: color

Text on disabled controls or unavailable actions.

Value: supplied by your design.

--text-inverse

coreType: color

Text intended for inverse or high-contrast surfaces.

Value: supplied by your design.

← All tokens