The Working Approach
Design Tokens establishes the values that new components will reference. It starts by inspecting existing CSS variables, theme providers, token files and framework dependencies, then reads the feature's design brief. If a system already exists, the skill extends its gaps rather than replacing it.
The output follows the project's stack: CSS custom properties, Tailwind configuration or a theme module. Both light and dark palettes are part of the documented workflow, along with spacing, typography, layout, motion and responsive values. The agent explains the chosen visual direction and any decisions that depart from it.
Expected Deliverables
- A token file or theme extension in the format the project uses.
- Intentional light and dark palettes with semantic roles.
- A short account of the design direction and implementation choices.
From Brief to Review
- 01Inspect existing foundations
Search for CSS variables, Tailwind configuration, theme providers and token exports. Identify gaps such as missing dark mode or motion values before generating anything.
- 02Connect the brief to the stack
Read the active feature brief and its aesthetic direction. Choose the token format that matches the application, defaulting to CSS custom properties when the stack is unclear.
- 03Define related scales
Create semantic colors and consistent spacing, typography and layout values. Include motion and breakpoint categories that components can reference.
- 04Build both theme modes
Design dark values deliberately and support the source's system-preference and manual-theme patterns. Explain how the new values extend the existing system.