You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like there is a bug. It looks like it is because Style Dictionary is rounding the RGB values to 2 places which is not accurate enough for a hex value because each channel (R,G,B) is 0-255, whereas 2 decimal places only has the granularity of 0-100.
So I just noticed this, while visually looks correct, our project needs to output the correct hex values.
As a test I ran the following:
Starting with
#0b7dbb
Using
"transforms": ["name/ti/camel", "attribute/cti", "color/sketch"],
Results:
Import into sketch palettes, the hex value is wrong.
Used this online tool https://craigdallimore.github.io/sketch-palette-generator/?ref=thesketchapphub
Result:
In Sketch: This is correct value
Did I miss something or is there a bug?
The text was updated successfully, but these errors were encountered: