ecklf / tailwindcss-figma-plugin

Figma Plugin for Tailwind CSS
https://www.figma.com/community/plugin/738806869514947558/Tailwind-CSS
MIT License
269 stars 16 forks source link

Fix #91: Crash when using RGBA #92

Closed leinardi closed 4 years ago

leinardi commented 4 years ago

The main issue is that, when parsing a RGB hex color, the parse-color module return the alpha between 0 and 1 but, when parsing a RGBA hex color, the same module return the alpha between 0 and 255 (!!!).

ecklf commented 4 years ago

Oh, I didn't consider that back in the day. Thanks for making the fix @all-contributors please add @leinardi to code

allcontributors[bot] commented 4 years ago

@impulse

I've put up a pull request to add @leinardi! :tada: