CodeZettaInterview Hub

SCSS · Functions · Mid-Level · Architecture

Can functions replace design-token packages?

Short Interview Answer

They can encapsulate access, but source tokens should still be data (maps/JSON) owned centrally.

Detailed Explanation

Functions are API; maps are data. Don't bury tokens only inside opaque functions without export.

Did you know this answer?