+234 Design System

Space and measure

An eleven-step space scale on a 4px base, and three line lengths. Editorial spacing is mostly vertical rhythm between rules.

Space

--p234-space-00
--p234-space-10.125rem
--p234-space-20.25rem
--p234-space-30.5rem
--p234-space-40.75rem
--p234-space-51rem
--p234-space-61.5rem
--p234-space-72rem
--p234-space-83rem
--p234-space-94rem
--p234-space-106rem

Measure

A full-width line of 18px serif is unreadable, and that is most of what "it looks like a dashboard" turns out to mean. Every block of running text is capped.

--p234-measure-narrow46chSidebar and rail copy.
--p234-measure-text66chArticle body. The reason the article column is capped, not full width.
--p234-measure-wide78chData tables and wide standfirsts.

The article measure, capped at 66 characters

Official NBS data puts the Lagos pump price at a figure four months old. Semantic search across the archive returns live prices from reporting this week. Both are accurate, and the distance between them is what a reader came for.

HTML
<div class="p234-prose">
  <p>Official NBS data puts the Lagos pump price at a figure four months old. Semantic search across the archive returns live prices from reporting this week. Both are accurate, and the distance between them is what a reader came for.</p>
</div>

Layout

--p234-layout-gutter1remPage side gutter on phones.
--p234-layout-gutter-lg2rem
--p234-layout-column-gap2remGap between editorial columns, wide enough for the rule to read.
--p234-layout-container1280px
--p234-layout-container-text720pxArticle shell.

Motion

Two durations and one easing curve. Anything that moves respects prefers-reduced-motion.

--p234-motion-duration-fast120ms
--p234-motion-duration-base180ms
--p234-motion-easing-standardcubic-bezier(0.2, 0, 0, 1)