tezvyn:

Design tokens for multi-brand button theming

Source: interviewintermediate

WHAT IT TESTS: token fundamentals and tiered theming. OUTLINE: tokens as named design decisions, primitive-versus-semantic layers, per-brand themes mapping semantic to primitive. RED FLAG: hardcoding hex values per brand instead of a shared semantic token.

WHAT IT TESTS: whether you understand tokens and the alias layering that enables multi-brand theming. ANSWER OUTLINE: tokens are named, platform-agnostic design decisions stored as data; use a tiered model where primitive tokens hold raw values, semantic tokens like color-action-primary express intent, and the button references the semantic token; each brand supplies a theme mapping that semantic token to its own primitive (blue for A, green for B). RED FLAG: hardcoding hex per brand or referencing primitives directly in the component.

Read the original → interview

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

Design tokens for multi-brand button theming · Tezvyn