Skip to content
Razor catalogue

On this page

Every value on this page is read from @webority/theme 0.165.0 when the showcase builds, so it always matches the published theme.

Click a tile to copy its token name

Brand

The indigo of the brand. Link and button colours are the same token in every product.

Light #4F46E5 Dark #AEAAF5

--color-primary

Primary fill for buttons, selected states and borders.

Contrast as text on surface 6.29:1 AA 8.09:1 AAA

Light #4338CA Dark #C3C0F8

--color-primary-hover

Primary fill while a control is hovered or pressed.

Contrast as text on surface 7.9:1 AAA 10.01:1 AAA

Light #E0E7FF Dark #4F46E533

--color-primary-soft

Soft primary tint behind selected and highlighted rows.

Contrast primary-text on it 5.1:1 AA

Text

Four steps for readable text and two that are decorative only.

Light #071437 Dark #E6E8EE

--color-text

Main heading and body ink.

Contrast as text on bg 16.65:1 AAA 15.4:1 AAA

Light #252F4A Dark #E6E8EE

--color-text-body

Body copy on a tinted surface such as an alert body.

Contrast as text on bg 12.24:1 AAA 15.4:1 AAA

Light #4B5675 Dark #B4B9C6

--color-text-muted

Secondary text for descriptions and muted copy.

Contrast as text on bg 6.71:1 AA 9.61:1 AAA

Light #626A82 Dark #8A90A0

--color-text-subtle

Tertiary text for hints, captions, timestamps and placeholders.

Contrast as text on bg 4.97:1 AA 5.91:1 AA

Surfaces

Layers from the page up to raised panels.

Light #F4F6F8 Dark #0F1117

--color-bg

Page background behind the content area.

Contrast text on it 16.65:1 AAA 15.4:1 AAA

Light #F9FBFC Dark #0D0F15

--color-bg-subtle

Subtle raised background for side panels and bands.

Contrast text on it 17.38:1 AAA 15.64:1 AAA

Light #F5F6FA Dark #232733

--color-bg-muted

Muted background for grouped areas and quiet controls.

Contrast text on it 16.7:1 AAA 12.16:1 AAA

Light #FFFFFF Dark #181B23

--color-surface

Card and panel surface.

Contrast text on it 18.04:1 AAA 14.05:1 AAA

Borders

Hairlines and the one border that must be seen: the input outline.

Light #EBEDF3 Dark #3D4554

--color-border

Hairline border of cards, tables and dividers.

Contrast against surface 1.17:1 Below 3:1 1.79:1 Below 3:1

Light #F4F6F8 Dark #3D455480

--color-border-subtle

Softest border for inner dividers and list edges.

Contrast against surface 1.08:1 Below 3:1

Status

Each status colour is paired with its tint; use the text token on the tint.

Light #04B440 Dark #30C780

--color-success

Vivid success fill for badges, dots and success buttons.

Contrast ink on it 2.76:1 Below AA 8.71:1 AAA

Light #0E7531 Dark #43C770

--color-success-text

Success colour as text on a page or a soft success tint.

Contrast as text on surface 5.82:1 AA 7.9:1 AAA

Light #876100 Dark #E7B840

--color-warning-text

Warning colour as text on a page or a soft warning tint.

Contrast as text on surface 5.61:1 AA 9.29:1 AAA

Light #E82646 Dark #F87171

--color-danger

Vivid danger fill for badges, dots and danger buttons.

Contrast ink on it 4.38:1 Large only 6.88:1 AA

Light #CF1735 Dark #EE5C74

--color-danger-text

Danger colour as text on a page or a soft danger tint.

Contrast as text on surface 5.49:1 AA 5.26:1 AA

Light #1460BA Dark #4492EF

--color-info-text

Info colour as text on a page or a soft info tint.

Contrast as text on surface 6.15:1 AA 5.41:1 AA

Charts

Eight series colours; check any series against its background before labelling by colour alone.

Light #4F46E5 Dark #AEAAF5

--color-chart-1

Colour of chart series 1, the brand primary.

Contrast against surface 6.29:1 Pass 8.09:1 Pass

Light #EB6834 Dark #D95926

--color-chart-2

Colour of chart series 2 of the eight categorical series.

Contrast against surface 3.2:1 Pass 4.43:1 Pass

Light #1BAF7A Dark #199E70

--color-chart-3

Colour of chart series 3 of the eight categorical series.

Contrast against surface 2.82:1 Below 3:1 5.05:1 Pass

Light #EDA100 Dark #C98500

--color-chart-4

Colour of chart series 4 of the eight categorical series.

Contrast against surface 2.17:1 Below 3:1 5.61:1 Pass

Light #E87BA4 Dark #D55181

--color-chart-5

Colour of chart series 5 of the eight categorical series.

Contrast against surface 2.69:1 Below 3:1 4.36:1 Pass

No separate dark entry. Value #008300

--color-chart-6

Colour of chart series 6 of the eight categorical series.

Contrast against surface 4.95:1 Pass

Light #2A78D6 Dark #3987E5

--color-chart-7

Colour of chart series 7 of the eight categorical series.

Contrast against surface 4.42:1 Pass 4.73:1 Pass

Light #E34948 Dark #E66767

--color-chart-8

Colour of chart series 8 of the eight categorical series.

Contrast against surface 3.95:1 Pass 5.33:1 Pass

Light #99A1B7 Dark #5D6475

--color-chart-neutral

Context series colour, such as the last period, and the folded Other slice.

Contrast against surface 2.58:1 Below 3:1 2.91:1 Below 3:1
132 tokens in total. The other 103 are tints, dark partners and tokens with no separate dark entry.