Skip to content

Foundations

Surfaces

Three surfaces: the cream page, ink and terracotta. A surface is a mode: it re-points the colours of everything inside it, so no component needs a dark or terracotta variant of its own.

Experience

What it looks like in use.

Page

The default: cream and white

Text, the link, the pill and the buttons change by themselves.

Pill

Ink

Ink surface, same components

Text, the link, the pill and the buttons change by themselves.

Pill

Terracotta

Terracotta surface, white type

Text, the link, the pill and the buttons change by themselves.

Pill

System

The logic and the rules behind it.
  • Switched on with one prop. <Section surface=…> and <IndustrialCard surface=…> set the mode; everything inside follows.
  • A surface is an event. One ink area and one terracotta area per page at most: a statement, a closing call to action, one group of case teasers.
  • Only what the mode covers. Forms, tables and status colours are not part of a mode and stay on the page surface.
  • Every pairing is checked. Each colour a mode switches to is in the contrast gate; a new pairing exists only through it.

Specifications

Every value, as tokens and utilities.

surface-inverse

Ink surface for statement sections and dark cards. Supports type, links, buttons (primary, secondary, ghost, accent), pills, tabs, lists, Stat and DescriptionList. Forms, tables and status colours are not part of the mode.

surface-inverse: what changes
TokenTakes the value of
surface.pagesurface.inverse
text.primarytext.onInverse
text.secondarytext.onInverseSecondary
accent.defaultaccent.onInverse
accent.hovertext.onInverse
border.hairlineborder.inverseDivider
focusaccent.onInverse
eyebrow.coloraccent.onInverse
display.colortext.onInverse
link.fgtext.onInverse
link.fgHoveraccent.onInverse
link.decorationaccent.onInverse
section.borderborder.inverseDivider
card.bgsurface.inverse
card.borderborder.inverseDivider
card.bolt.colorborder.inverseDivider
button.primary.bgtext.onInverse
button.primary.bgHoversurface.subtle
button.primary.bgPressedsurface.subtle
button.primary.fgsurface.inverse
button.secondary.fgtext.onInverse
button.secondary.borderHovertext.onInverse
button.secondary.borderPressedaccent.onInverse
button.secondary.fgPressedaccent.onInverse
button.ghost.fgtext.onInverse
button.ghost.fgHoveraccent.onInverse
button.ghost.fgPressedaccent.onInverse
pill.neutral.fgtext.onInverse
pill.neutral.borderborder.inverseDivider
pill.accentOutline.fgaccent.onInverse
pill.accentOutline.borderaccent.onInverse
tabs.fgtext.onInverseSecondary
tabs.fgHovertext.onInverse
tabs.fgSelectedtext.onInverse
tabs.indicatoraccent.onInverse
tabs.borderborder.inverseDivider

surface-accent

Terracotta surface with white type, as on the portfolio's statement areas: one per page at most, for a page head or a closing call to action. Supports type, links, buttons (primary, secondary), pills, breadcrumb, lists, Stat and DescriptionList. Forms, tables, status colours, ghost and accent buttons are not part of the mode.

surface-accent: what changes
TokenTakes the value of
surface.pageaccent.default
text.primarytext.onAccent
text.secondarytext.onAccent
accent.defaulttext.onAccent
accent.hovertext.onAccent
border.hairlineborder.accentDivider
focussurface.inverse
eyebrow.colortext.onAccent
display.colortext.onAccent
link.fgtext.onAccent
link.fgHovertext.onAccent
link.decorationtext.onAccent
section.borderborder.accentDivider
card.bgaccent.default
card.borderborder.accentDivider
card.bolt.colorborder.accentDivider
button.primary.bgsurface.inverse
button.primary.bgHoversurface.inverseHover
button.primary.bgPressedsurface.inverseHover
button.primary.fgtext.onInverse
button.secondary.fgtext.onAccent
button.secondary.bordertext.onAccent
button.secondary.borderHovertext.onAccent
button.secondary.borderPressedtext.onAccent
button.secondary.fgPressedtext.onAccent
pill.neutral.fgtext.onAccent
pill.neutral.borderborder.accentDivider
pill.accentOutline.fgtext.onAccent
pill.accentOutline.bordertext.onAccent
breadcrumb.fgtext.onAccent
breadcrumb.fgCurrenttext.onAccent

surface-page

Back to the page surface inside an inverse or accent area, e.g. a light stage on an ink section. Re-points every token the other modes change to its default, so no new pairing appears.

surface-page: what changes
TokenTakes the value of
surface.pagesurface.page
text.primarytext.primary
text.secondarytext.secondary
accent.defaultaccent.default
accent.hoveraccent.hover
border.hairlineborder.hairline
focusfocus
eyebrow.coloreyebrow.color
display.colordisplay.color
link.fglink.fg
link.fgHoverlink.fgHover
link.decorationlink.decoration
section.bordersection.border
card.bgcard.bg
card.bordercard.border
card.bolt.colorcard.bolt.color
button.primary.bgbutton.primary.bg
button.primary.bgHoverbutton.primary.bgHover
button.primary.bgPressedbutton.primary.bgPressed
button.primary.fgbutton.primary.fg
button.secondary.fgbutton.secondary.fg
button.secondary.borderHoverbutton.secondary.borderHover
button.secondary.borderPressedbutton.secondary.borderPressed
button.secondary.fgPressedbutton.secondary.fgPressed
button.ghost.fgbutton.ghost.fg
button.ghost.fgHoverbutton.ghost.fgHover
button.ghost.fgPressedbutton.ghost.fgPressed
pill.neutral.fgpill.neutral.fg
pill.neutral.borderpill.neutral.border
pill.accentOutline.fgpill.accentOutline.fg
pill.accentOutline.borderpill.accentOutline.border
button.secondary.borderbutton.secondary.border
breadcrumb.fgbreadcrumb.fg
breadcrumb.fgCurrentbreadcrumb.fgCurrent
tabs.fgtabs.fg
tabs.fgHovertabs.fgHover
tabs.fgSelectedtabs.fgSelected
tabs.indicatortabs.indicator
tabs.bordertabs.border