+234 Design System

Foundations

Colour, type, space and themes. Every component is assembled from these, and nothing in a component may reach past them.

The one rule

A component reads tokens. It does not declare a colour, a font size, a radius or a spacing value of its own. If something is missing, the foundation is missing a token, which is a conversation rather than a one-off override.

This is enforced twice: a test fails on a token that no theme defines, and a prebuild check in the frontend fails on any --p234- variable this package does not declare. Five such variables were live in the frontend before this system existed.