Skip to content

[bug]: Issues when generating tailwind classes with multiple shadows #227

@cpaczek

Description

@cpaczek

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.

Image Image

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)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions