Design Tokens API in Core: a new standard for Drupal

Room Drei-Hügel Time Slot Sat 10:00am to 10:45am (11/28/26)

After SDC in 2023 for UI Components and the Icon API in 2024, having an API to make Drupal understand and use design tokens is a continuation of making Drupal a design-system-native CMS.

Design tokens aren't a new concept, but they've become a trend over the last two years, with more people using design systems on their websites and with enhanced designer tooling.

Instead of adding a new Drupalism, we're leveraging the new W3C standard format to stay compatible with a wide ecosystem of designer and developer tools, introducing the first fully end-to-end automatable design workflow in Drupal.

During this session, we will see:

  • what a design token is, what it isn't, and some common pitfalls
  • how it can be used on a Drupal website
  • the links with other design system artifacts
  • a showcase of the work done on the Core issue to provide a design token API

Learning objectives

  • What is a design token
  • What is not a design token
  • Different design token types
  • How it translates on a website
Speaker
Florent Torregrosa