Color

Merid's palette is one cool blue and a set of ink-tinted neutrals. The accent marks interaction and selection; neutrals carry everything else. Status colours appear as soft tints with strong text, never as large saturated fills.

Rules

  • Use the accent for things people can act on, and for the current selection. Do not use it for decoration or emphasis.
  • Separate regions with --mrd-tray before reaching for a border. When a border is needed it is 1px --mrd-line.
  • Build hierarchy with the three text tones — ink, body, muted — and weight, not with colour.
  • A page has at most one filled colour block.

Tokens

Accent

TokenLightDarkRole
--mrd-accent#3f63f5#6b8affInteractive elements, selection, focus
--mrd-accent-hover#3355e6#8aa2ffHover state of accent and links
--mrd-accent-soft#eef1ffrgba(107,138,255,.14)Selected row, icon tile, info tint
--mrd-accent-strong#2c46b8#a9bbffText on accent-soft
--mrd-on-accent#ffffff#ffffffText on accent fill

Surfaces

TokenLightDarkRole
--mrd-bg#ffffff#0b0d12Page background
--mrd-surface#ffffff#12151cCards on a tray, dialogs, inputs, menus
--mrd-tray#f5f6f8#161a22Recessed sections, cards on page, hover
--mrd-tray-2#eceef2#1d222cTrack on a tray, shimmer
--mrd-subtle#fbfbfc#10131aTable header, window bar, detail pane

Lines

TokenLightDarkRole
--mrd-line#e6e8ec#262b35Every hairline
--mrd-line-strong#cfd4dc#3a404cDashed dropzone, switch-off border

Text

TokenLightDarkRole
--mrd-ink#0f1219#eef0f4Headings, strong text
--mrd-body#535a67#a3a9b5Body text
--mrd-muted#646b78#858c98Meta, icons
--mrd-placeholder#6e7581#7c8390Input placeholder

Status

TokenLightDarkRole
--mrd-danger#e5484d#ff6369Invalid border, status dot
--mrd-danger-solid#c92a30#c92a30Danger button fill (white text, AA)
--mrd-danger-solid-hover#b42318#b42318Danger button hover
--mrd-danger-soft#fff0f0rgba(229,72,77,.12)Error notice background
--mrd-danger-strong#b42318#ff8a8eError notice text
--mrd-warning-soft#fff8ebrgba(245,166,35,.12)Warning notice background
--mrd-warning-strong#93580a#f5c46bWarning notice text
--mrd-success#1f9d63#3ecf8eSuccess icon or dot only
--mrd-success-soft#ecf8f1rgba(62,207,142,.12)Success notice background
--mrd-success-strong#17744a#7ee2b0Success notice text
--mrd-control-off#d7dbe2#343a46Switch off track
--mrd-tooltip-bg#0f1219#eef0f4Tooltip background
--mrd-tooltip-fg#ffffff#0f1219Tooltip text

Contrast

Ratios below are measured against the page background (--mrd-bg) unless noted. The AA thresholds are 4.5:1 for normal text and 3:1 for large text and user-interface components.

PairLightDarkUse
ink on bg18.7417.03Headings, strong text
body on bg6.948.24Body text
body on tray6.427.39Text on recessed sections
accent-strong on accent-soft6.98—Selected items, info tints
danger / warning / success strong on soft5.94 / 5.46 / 5.30—Notices
muted on bg3.214.25Meta text only
accent on bg4.326.20Links, focus ring, controls
on-accent on accent4.323.13Primary button label

Using colour in your own components

css
.notice {
  background: var(--mrd-warning-soft);
  color: var(--mrd-warning-strong);
  border-radius: var(--mrd-radius-lg);
}