Skip to content

Duplicate styles create duplicate keys #3

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}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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