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

[bug] Crash when using RGBA hex (e.g. 000000FF) #91

Closed leinardi closed 4 years ago

leinardi commented 4 years ago

When using a RGBA hex value (e.g. 000000FF) the plugin crashes with the following error: image

The problem seems to be that Figma wants the alpha to be between 0 and 1 and the current code is sending a value between 0 and 255.

I already fixed the issue, I'm making a PR right now.