FigmaToCode
FigmaToCode copied to clipboard
[bug]: Issues when generating tailwind classes with multiple shadows
When you have multiple shadows on an element in figma and you generate the tailwind code it attaches 2 shadow- classes however only 1 can ever be applied to an element.
They should be combined, like so
Before: shadow-[0px_4px_6px_0px_rgba(169,169,169,0.25)] shadow-[inset_0px_2px_0px_0px_rgba(255,255,255,0.40)]
After: shadow-[0px_4px_6px_0px_rgba(169,169,169,0.25),inset_0px_2px_0px_0px_rgba(255,255,255,0.40)]
nice catch, thanks!