Skip to content
Three switches on graph paper, Brand set to Grove, Mode set to Dark and Language set to Arabic, each wired to a file in a tokens folder beside them. The wires are lettered data-brand, data-mode and lang, and they end at brands/grove.json, modes/dark.json and locales/ar.json, each selected. The layer folders, primitives, semantics and components, sit quieter above them, and a worker stands on the brand switch.

Decide the switches first, and the folders follow

Design systemsDesign engineeringDesign tokensRTLGitHubAI coding agents9 min read
Written by
Ahmed Amr
Published

Part 2 of 13 in Build a design system with a coding agent.

In this article10

Switches · The scaffold · GitHub · Rules

Loading article