Book a call

WritingTopic

Foundations & tokens

Design tokens, colour, theming and dark mode: the decisions every component is built on.

13 articles

Foundations & tokensDesign tokensWhat design tokens are, the three tiers, naming, the DTCG 2025.10 format and how tokens reach code. Examples and JSON you can adapt for your system.10 min read · GuideFoundations & tokensDark mode with design tokensBuild dark mode by swapping semantic tokens, not redesigning screens. A worked example with checked contrast ratios, naming rules and the common traps.8 min readFoundations & tokensHow to build an accessible colour palette in OKLCHWhy OKLCH beats HSL for UI colour, and how to build even, accessible ramps step by step. With a computed palette and contrast numbers you can check.10 min readFoundations & tokensDesign token naming conventions: a structure people can guessHow to name design tokens so people can guess them: the parts of a name, primitive, semantic and component patterns, common mistakes and a checklist.5 min readFoundations & tokensSpacing systems: 4px vs 8px, the scale, and how to use itHow to build a spacing system: choosing a 4px or 8px base, a spacing scale, inset, stack and inline space, density modes and responsive spacing.7 min readFoundations & tokensHow to build a type scale for a design systemHow to build a type scale: choosing a base and ratio, line height and letter spacing, naming text styles by role, fluid type and accessibility.6 min readFoundations & tokensColour contrast in design systemsHow to build colour contrast into a design system: WCAG 2.2 ratios, checking pairs not colours, a contrast matrix, pairing rules by step, and APCA.6 min readFoundations & tokensMulti-brand design systems: one core, many brandsHow to support several brands, platforms and products from one design system: what to share, what to vary, brand tokens and families of systems.5 min readFoundations & tokensLayout grids and breakpoints for product UIHow to set up a layout grid for product UI: columns, gutters and margins, choosing breakpoints, named content widths, dashboards and layout tokens.7 min readFoundations & tokensLocalisation and right-to-left in a design systemGetting a design system ready for other languages: logical CSS, right-to-left mirroring, text that grows, plurals, locale formats and testing.7 min readFoundations & tokensComponent tokensWhat component tokens are, when a component deserves its own tokens, how to name them from its anatomy, and how to keep them healthy in Figma and code.5 min readFoundations & tokensCross-platform design systemsHow to run one design system across web, iOS and Android: shared tokens generated for each platform, native components, and what to share or adapt.5 min readFoundations & tokensFoundations of modern design systems5 min read · on Medium ↗