CodeZettaInterview Hub

SCSS · Variables · Mid-Level · Architecture

How should colors be stored for theming systems?

Short Interview Answer

Semantic tokens ($color-text-primary) referencing primitive palettes; expose CSS variables for runtime theme switches.

Detailed Explanation

Avoid hard-coding hex in components. Support contrast checks in CI for token pairs.

Did you know this answer?