postcss-media-query-parser icon indicating copy to clipboard operation
postcss-media-query-parser copied to clipboard

Modify media query

Open Semigradsky opened this issue 8 years ago • 2 comments

Hi!

Do you want to make the ability to modify media queries?

Add methods for adding media queries and media feature expressions, add method for generate css code from object?

I see that now the package can only read media queries structures.

Semigradsky avatar Feb 13 '17 09:02 Semigradsky

Hi @Semigradsky ,

Could you please give some possible use cases for that?

In general - yep, the initial idea was to read media queries, not build them, as just a helper for the scss linter. Doesn't mean of course that it will stay that way forever :)

dryoma avatar Feb 14 '17 08:02 dryoma

It would be useful for my plugin =) https://github.com/Semigradsky/postcss-nested-media-queries

Perhaps more useful plugins would have appeared if modify media queries would be easy.

Semigradsky avatar Feb 14 '17 09:02 Semigradsky