Skip to content

[WithSelector]: Make it compatible with vanilla-extract #78

@okonet

Description

@okonet

The way vanilla-extract handles selectors is a bit different from other CSS-in-JS solutions and it fails to work with the library now. In order to make it work with it, we need to switch to matching the pseudo-selector in the document.styleSheets and then narrow it down to the element somehow.

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