Define colours, fonts and spacing as tokens that support both modes.
View the prompt
Create a small design system for {{project}}.
The brand identity: {{extra}}
- CSS tokens for colours (primary, secondary, success, error and warning states) for light and dark modes, with verified AA contrast.
- An Arabic/English type scale, spacing, corner radii and shadows.
- Basic components: button, field, card, alert and badge, with hover, focus and disabled states.
- A component showcase page.
State the computed contrast ratio for every text/background pair.