Skip to content
opsinjs
Edit this page

opsinjs

Foundations

The token families and system-wide rules every opsinjs component obeys, one page each.

Foundations decide once what a colour, a size, a corner or a state means, so every component gives the same answer. Each page states the rules a component follows, and each token family ends in a table generated from tokens/*.json. Change a value in Theming, and see every token in one list in Tokens.

PageWhat it covers
AccessibilityWCAG 2.2 AA, what components guarantee, and the limits of an author-run audit
ColourCategory and status as two axes, the derivation engine and the contrast floor the build measures
TypographyThe platform UI font, a type scale named for jobs, and the reader's own text size
Space and layoutThe 4px spacing scale, the 44pt touch floor, responsive modes and the page shell
ShapeThe radius ladder, concentric nesting and squircle corners
MotionSprings as tokens, motion chosen by its job, and reduced motion
MaterialsThe surface ladder, its rung names, and the contrast floor for translucent rungs
IconographyOne icon library, and glyphs that never carry status on their own
ImageryIllustration, photography, skin-tone representation, avatars and body diagrams
Data visualisationChart colour, chart anatomy and accessible charts
StatesInteraction states, and the loading, empty, error, stale and partial data states
WritingVoice and tone, health literacy, and the words for status, alerts and errors