Closed thomasaull closed 7 months ago
Thanks for reporting, I think this might be due to the fact that we currently round to 2 decimals, instead of 3 as in your example (0,055
) We should change that to 3 to allow these scenarios of low-opacity.
This request has been moved to our new feedback tool. Go check out https://tokensstudio.featurebase.app/ to create a free account. You can upvote and comment on existing posts, make a new request, and subscribe to be notified when requests move into our roadmap.
Added to FeatureBase Roadmap : 🎨 Expand functionality of color modifiers
Is your feature request related to a problem? Please describe.
I'm trying to define colors with very precise alpha values, e.g. #000 with an alpha of 5.5%. When trying to enter this value in tokens studio it gives me an validation error:
When not using the color picker, but putting the desired value in the rgba function I don't get a validation error:
However, when this token is applied it applies a rounded value, in this case 5% instead of 5.5%:
Describe the solution you'd like