Describe the bug
If you add color modifier using PRO Token studio Version Color transform based on HSLA calucated/modified values are mostly wrong.
To Reproduce
Steps to reproduce the behavior:
Add a Color Modifier Token
Choose darken, lighten
Choose hsl in color model
Calculated Values are complete wrong based on other color transformer/math or libraries.
See error
Expected behavior
Color Transforms on HLSA should be accurate and do not create falsy values
see screenshot color value of hsla(100, 100& 50%, 1) darken by 20% should become hsla(100, 100& 40%, 1)
like here...simply math : Lighten color by 20% is 50%(light) * 0.8 = 40%
Describe the bug If you add color modifier using PRO Token studio Version Color transform based on HSLA calucated/modified values are mostly wrong.
To Reproduce Steps to reproduce the behavior:
Expected behavior Color Transforms on HLSA should be accurate and do not create falsy values see screenshot color value of hsla(100, 100& 50%, 1) darken by 20% should become hsla(100, 100& 40%, 1)
like here...simply math : Lighten color by 20% is 50%(light) * 0.8 = 40%
Screenshots or Screencasts