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

Support for W3C CSS Custom Media Queries #2

Open
emattias opened this issue Nov 22, 2016 · 1 comment
Open

Support for W3C CSS Custom Media Queries #2

emattias opened this issue Nov 22, 2016 · 1 comment

Comments

@emattias
Copy link

I'm using postcss-custom-media to define custom media queries.

I'd like to share them between css and js. Is this something that could be added to this loader?

@denis-sokolov
Copy link
Contributor

It’s slightly outside the scope of this loader. In particular, the custom-media has custom syntax, whilst the variables uses a W3C standard. Finally, the name of this loader is tightly bound to variables. I would advise making a separate loader. Feel free to use this one as inspiration! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants