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.35k stars 194 forks source link

HSLA #2945

Open fokkerone opened 3 months ago

fokkerone commented 3 months ago

Describe the bug ITs not possible to add a HSL/HSLA Color using the color picker in Figma Studio

To Reproduce Steps to reproduce the behavior: Add a new Color Token Select HSLA Choose Color token become RGBA or # Value

Expected behavior If I select HSL(A) as my color system it should keep it an do not convert it to #HEX or RGB(A)

Screenshots or Screencasts

screenshot

Figma file (optional) Not possible to share outside organisation

JSON (optional) Nope

fokkerone commented 3 months ago

As hsl is the main color model in Tailwind and if you make use of let say radix/headless ui and tailwind you get into color modifier trouble with the wrong color model to make use of this very popular css lib