Skip to content

Duplicate styles create duplicate keys #3

Open
@Ivy4

Description

@Ivy4

My generated css file contains this:

.btn, .link {
color: blue;
}

.btn {
padding: 10px;
}

I expected my object to be like this:

{
link: {color: blue},
btn: {color: blue, padding: 10px}
}

However, the preview style gets overridden instead of combined:

{
btn: {color: blue},
link: {color: blue},
btn: {padding: 10px}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions