Skip to content

Selector specificity issue when migrating from styled-components #607

@benskz

Description

@benskz

We're currently in the process of migrating to goober from styled-components and I was wondering if anyone else has run into this same issue.

When using styled-components, our styles are applied to elements with a double class selector (.btZBKL.btZBKL for example). As we've built our app with this in mind, after migrating to goober which only uses one class selector, component styles no longer have high enough specificity and are overriden by other styles.

I don't see this as an issue with goober but any thoughts are appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions