Murex

The documentation website and theming for Murex, a React design system Jace and I use in our own products.

Live

Role
Design engineering for the documentation website and theming
Team
With Jace
Problem
A palette can look balanced as swatches and read differently once its colours mark actions and backgrounds.
Decision
Apply each theme to the whole documentation site, so the components show the palette in use.
Outcome
The documentation is live, and we use Murex in our internal products.

Murex is a React component library and design system I worked on with Jace. I designed and built its documentation website and theming.

The documentation is live, and Jace and I use Murex in our internal products.

Visit the documentation

Overview

A palette reads differently on real components.

We use the documentation to inspect the components and check how they behave with different colours. A palette can look balanced as a row of swatches. Once one colour fills the primary button and another fills the page behind it, the pair has to make the action easy to find. Swatches alone don't show whether it does.

I made the website use the system it describes, so we can judge each theme on the real components.

Solution

Selecting a solar term recolours the whole site.

The theme page has 24 palettes named for the solar terms, with colours from Colors of China. Each card shows the term in English and Chinese, with a strip of its colours underneath. Selecting a card applies that palette across the site and marks the card as active.

The active theme panel at the top previews primary and secondary buttons beside the full set of swatches. "Reset to Murex" returns to the default palette. Visitors can move between themes and compare the same elements without rebuilding an example.

Rain Water, Start of Spring, Spring Equinox, Pure Brightness, Start of Summer, and Grain Rain, applied in turn.

Reflection

The examples use the system they describe.

We go back to the documentation when we build with the components or choose a theme for a product, because the website uses the same theming as the library.