primitives icon indicating copy to clipboard operation
primitives copied to clipboard

Replaces `--data-[colorName]-color` with `--data-[colorName]-color-emphasis`

Open lukasoppermann opened this issue 8 months ago • 3 comments

Important

  • replace any usage of var(--data-[colorName]-color) with var(--data-[colorName]-color-emphasis, var(--data-[colorName]-color)) before merging.

Github Code Search for variables

PR that updated github/github to use new tokens with old ones as fallback: https://github.com/github/github/pull/330119

Summary

Figma uses every level of nesting in the JSON to create a folder structure.

This creates:

data/
  blue/
    color
    color/
      muted
  auburn/
    color
    color/
      muted
  orange/
    color
    color/
      muted

To avoid this, we need to rename in the json.

lukasoppermann avatar Jun 14 '24 09:06 lukasoppermann