tokens-studio / figma-plugin

Official repository of the plugin 'Tokens Studio for Figma' (Figma Tokens)
https://www.figma.com/community/plugin/843461159747178978
MIT License
1.32k stars 190 forks source link

Color swatch not displaying gradients on search suggestions #2951

Closed cuserox closed 1 day ago

cuserox commented 2 days ago

Describe the bug When a gradient value has a semicolon ; it won't get applied to the style in the DOM

To Reproduce Steps to reproduce the behavior:

  1. Create a color gradient
  2. Search for it via value or alias
  3. See the color swatch is empty

Expected behavior Color swatch should show gradient

Screenshots or Screencasts

JSON (optional)

  "just-a-gradient": {
    "$type": "color",
    "$value": "linear-gradient(to right,#dc573c,#247efc);"
  }