Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selectors groups should work in custom selectors preprocessing #171

Open
Machy8 opened this issue Jan 12, 2023 · 0 comments
Open

Selectors groups should work in custom selectors preprocessing #171

Machy8 opened this issue Jan 12, 2023 · 0 comments
Labels
🚀feature New feature or request @stylify/stylify Targeting @stylify/stylify package

Comments

@Machy8
Copy link
Member

Machy8 commented Jan 12, 2023

Describe the problem

These selectors:

[&:hover]{color:blue}
md:hover:{color:blue}

Should work here:

const selectors = {
 selector: `
   [&:hover]{color:blue}
   md:hover:{color:blue}
   
   & + div { margin-right:24px }
`
}

Describe the proposed solution

No idea yet. It can cause syntax issues.

Alternatives considered

Ignore it. The preprocessor syntax is maybe flexible enough.

Importance

nice to have

@Machy8 Machy8 added the 🚀feature New feature or request label Jan 12, 2023
@Machy8 Machy8 added the @stylify/stylify Targeting @stylify/stylify package label Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀feature New feature or request @stylify/stylify Targeting @stylify/stylify package
Projects
None yet
Development

No branches or pull requests

1 participant