Skip to content
Yaraen Craft

Colors

Colour utilities set text and link colours from the theme: solid theme colours, -emphasis tones for text on subtle backgrounds, body levels for hierarchy and white or black alpha text for photos. text-opacity-* fades a colour, and text-reset lets a link inherit the colour of its parent.

1Theme text colours

text-primary to text-info colour text with the theme; text-body-emphasis is the strongest text colour in light and dark mode (text-dark stays dark).

text-primarytext-secondarytext-success text-dangertext-warningtext-infotext-body-emphasis

2Emphasis colours

text-{colour}-emphasis is a darker (or in dark mode lighter) tone for text on subtle backgrounds.

text-primary-emphasis text-success-emphasis text-danger-emphasis text-warning-emphasis

3Body text levels

text-body-emphasis, text-body, text-body-secondary and text-body-tertiary build a text hierarchy.

What our customers asked us most
Clear prices, honest advice and no surprises along the way.
Kenji Moreau
Last edited 36 min ago

4Text opacity

text-opacity-25 to -100 fade a theme text colour.

text-opacity-100 text-opacity-75 text-opacity-50 text-opacity-25
Faded text drops below 4.5:1 - keep body copy at 100 and use the lighter steps for decoration or large display text.

5White and black alpha text

text-white-50 and text-black-50 are half transparent fixed colours for large text on photos or solid fills.

One platform for every workflow
text-white-50
Work that moves itself forward
text-black-50

6Coloured links

link-{colour} colours links and darkens them on hover.

7Price with colours

Old price in text-body-tertiary with a line through, the new one in text-danger.

$40.11 $117.56 Save 36%

8Trend indicators

text-success and text-danger with arrows show change at a glance.

  • Visitors +21%
  • Bounce rate +1%
  • Avg. session 0%

9Coloured icons

Icons inherit the text colour, so text-{colour} tints them too.

10Validation hints

Form hints coloured with text-success and text-danger.

This name is available.
It must not contain spaces.

11Reset inherited colour

text-reset makes a link take its parent's colour, so headings that are links do not turn blue.

The calm way to run a busy team

The link above uses text-reset.

12Status labels with colour

Small coloured text with a dot icon works as a light status label.

Paid Due soon Overdue Draft

13Muted metadata

text-body-secondary keeps author, date and reading time quieter than the title.

Know what is happening, without asking

Arjun Kowalski Oct 20, 2025 9 min read

14Coloured headings

An eyebrow in text-primary above a body-emphasis heading.

Engineering

Fewer meetings, more finished work

Real-time dashboards show what is on track and what needs attention.

15Rating stars

text-warning for filled stars and text-body-tertiary for empty ones.

4.0 (214)

16Colour on dark surfaces

On bg-dark use text-white, text-white-50 and link-light for a readable hierarchy.

Our favourite tips for busy weeks

Our open API and ready-made integrations fit into the stack you already have.

View details

17Code highlights

Coloured spans inside a code block make a simple key-value highlighter.

brand: "Yaraen Craft"
items: 28
active: true

18Selected text colour in a menu

The current menu item uses text-primary and fw-semibold; others use link-body-emphasis.

19Big number colour

A colourful headline number with text-primary and a muted caption.

61.8k
happy customers in Edinburgh

20Coloured border and text pairs

Outlined tags made with text-{colour} plus border-{colour}.

community insights update