Skip to content

Design tokens > Update Figma library with the revised token names

In #1765 (closed) we created a Figma library to publish design tokens as Figma variables to pilot them with designers.

In gitlab-org/gitlab-ui#2585 (closed) we updated our pilot tokens following feedback, and to match our latest thinking.

Initially we'd suggested no updates to this file until syncing worked, in order to minimise risk of designer files breaking and manual work to fix. However, syncing design tokens with Figma (gitlab.com/gitlab-org/gitlab-ui/-/issues/2460) is still a little way off.

In order to speed up learnings, we should manually update the design tokens in the pilot Figma library.

Doing so will help us learn about deprecation, migration, and designer understanding and usage of the new token names.

Work

  • Add the following design tokens to the library
    • text.color.default
    • text.color.subtle
    • text.color.strong
    • text.color.heading
    • text.color.link
    • text.color.danger
    • text.color.success
    • text.color.disabled
  • Add any new needed constants
  • Update file documentation
  • Deprecate the previous set