Interview practice question
Implementing design tokens in CSS
Frontend Engineering · HTML and CSS · Intermediate
Your design team has defined colours, spacing and typography tokens. How would you implement them in CSS?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Tokens as custom properties.
- Primitive vs semantic tokens.
- Generated from source (JSON) with a tool.
- Use tokens in components, not raw values.
- Linting to enforce.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.