WorldAPI layouts

Accent

The WorldAPI theme

How WorldAPI makes the black and white components of components.hybriel.worldapi.org look for itself: the palette and its named roles, plain elements without frames, the components themed without being forked, and three app shells with a header that works on a phone.

An app copies theme/ and shared/tokens.hl, inherits the theme in its styles.hl, picks a shell and sets its accent. Try another accent in the sidebar: every page follows it.

Use it in an app See the elements

Shells

Themed components