tezvyn:

What is a design token versus a CSS or Sass variable?

Source: w3.orgbeginner

Whether you understand abstraction layers in design systems and cross-platform interoperability. Define tokens as vendor-neutral design decisions that generate platform-specific code; contrast with CSS variables (runtime, web-only) and Sass (compile-time…

This question probes whether you see design tokens as an interoperability layer between design tools and engineering platforms, not just a naming convention. A strong answer defines tokens as the W3C-backed standard for encoding design decisions like color and spacing in a tool-agnostic format; explains that CSS custom properties are runtime web values and Sass variables are compile-time web abstractions, while tokens generate iOS, Android, and web outputs from a single source of truth.

Read the original → w3.org

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.

What is a design token versus a CSS or Sass variable? · Tezvyn