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
Terracotta
Terracotta surface, white type
Text, the link, the pill and the buttons change by themselves.
System
- 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
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.
| Token | Takes the value of |
|---|---|
| surface.page | surface.inverse |
| text.primary | text.onInverse |
| text.secondary | text.onInverseSecondary |
| accent.default | accent.onInverse |
| accent.hover | text.onInverse |
| border.hairline | border.inverseDivider |
| focus | accent.onInverse |
| eyebrow.color | accent.onInverse |
| display.color | text.onInverse |
| link.fg | text.onInverse |
| link.fgHover | accent.onInverse |
| link.decoration | accent.onInverse |
| section.border | border.inverseDivider |
| card.bg | surface.inverse |
| card.border | border.inverseDivider |
| card.bolt.color | border.inverseDivider |
| button.primary.bg | text.onInverse |
| button.primary.bgHover | surface.subtle |
| button.primary.bgPressed | surface.subtle |
| button.primary.fg | surface.inverse |
| button.secondary.fg | text.onInverse |
| button.secondary.borderHover | text.onInverse |
| button.secondary.borderPressed | accent.onInverse |
| button.secondary.fgPressed | accent.onInverse |
| button.ghost.fg | text.onInverse |
| button.ghost.fgHover | accent.onInverse |
| button.ghost.fgPressed | accent.onInverse |
| pill.neutral.fg | text.onInverse |
| pill.neutral.border | border.inverseDivider |
| pill.accentOutline.fg | accent.onInverse |
| pill.accentOutline.border | accent.onInverse |
| tabs.fg | text.onInverseSecondary |
| tabs.fgHover | text.onInverse |
| tabs.fgSelected | text.onInverse |
| tabs.indicator | accent.onInverse |
| tabs.border | border.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.
| Token | Takes the value of |
|---|---|
| surface.page | accent.default |
| text.primary | text.onAccent |
| text.secondary | text.onAccent |
| accent.default | text.onAccent |
| accent.hover | text.onAccent |
| border.hairline | border.accentDivider |
| focus | surface.inverse |
| eyebrow.color | text.onAccent |
| display.color | text.onAccent |
| link.fg | text.onAccent |
| link.fgHover | text.onAccent |
| link.decoration | text.onAccent |
| section.border | border.accentDivider |
| card.bg | accent.default |
| card.border | border.accentDivider |
| card.bolt.color | border.accentDivider |
| button.primary.bg | surface.inverse |
| button.primary.bgHover | surface.inverseHover |
| button.primary.bgPressed | surface.inverseHover |
| button.primary.fg | text.onInverse |
| button.secondary.fg | text.onAccent |
| button.secondary.border | text.onAccent |
| button.secondary.borderHover | text.onAccent |
| button.secondary.borderPressed | text.onAccent |
| button.secondary.fgPressed | text.onAccent |
| pill.neutral.fg | text.onAccent |
| pill.neutral.border | border.accentDivider |
| pill.accentOutline.fg | text.onAccent |
| pill.accentOutline.border | text.onAccent |
| breadcrumb.fg | text.onAccent |
| breadcrumb.fgCurrent | text.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.
| Token | Takes the value of |
|---|---|
| surface.page | surface.page |
| text.primary | text.primary |
| text.secondary | text.secondary |
| accent.default | accent.default |
| accent.hover | accent.hover |
| border.hairline | border.hairline |
| focus | focus |
| eyebrow.color | eyebrow.color |
| display.color | display.color |
| link.fg | link.fg |
| link.fgHover | link.fgHover |
| link.decoration | link.decoration |
| section.border | section.border |
| card.bg | card.bg |
| card.border | card.border |
| card.bolt.color | card.bolt.color |
| button.primary.bg | button.primary.bg |
| button.primary.bgHover | button.primary.bgHover |
| button.primary.bgPressed | button.primary.bgPressed |
| button.primary.fg | button.primary.fg |
| button.secondary.fg | button.secondary.fg |
| button.secondary.borderHover | button.secondary.borderHover |
| button.secondary.borderPressed | button.secondary.borderPressed |
| button.secondary.fgPressed | button.secondary.fgPressed |
| button.ghost.fg | button.ghost.fg |
| button.ghost.fgHover | button.ghost.fgHover |
| button.ghost.fgPressed | button.ghost.fgPressed |
| pill.neutral.fg | pill.neutral.fg |
| pill.neutral.border | pill.neutral.border |
| pill.accentOutline.fg | pill.accentOutline.fg |
| pill.accentOutline.border | pill.accentOutline.border |
| button.secondary.border | button.secondary.border |
| breadcrumb.fg | breadcrumb.fg |
| breadcrumb.fgCurrent | breadcrumb.fgCurrent |
| tabs.fg | tabs.fg |
| tabs.fgHover | tabs.fgHover |
| tabs.fgSelected | tabs.fgSelected |
| tabs.indicator | tabs.indicator |
| tabs.border | tabs.border |