postcss-each
postcss-each copied to clipboard
PostCSS plugin to iterate through values
### Describe the Bug I have a Next.js app, with Tailwindcss, Postcss and postcss-each plugin. While trying to upgrade the packages because of some vulnerabilities I found out that the...
Hi, using latest version I get the following error: ``` postcss: src/components/nes-grid/nes-grid.css, line: 470: src/components/nes-grid/nes-grid.css The `$(icon):nes-gap-2` class does not exist. If you're sure that `$(icon):nes-gap-2` exists, make sure that...
``` plugins: [ postcssEach({ plugins: { afterEach: ['postcss-at-rules-variables'], beforeEach: [postcss-custom-properties({ importFrom: [ customProperties: { '--test-color': red } ])] } }) ] ``` the errors: ``` [Error] Error: Use process(css).then(cb) to...
Hello there, we'd like to use this plugin together with postcss-simple-vars. This is supported, right? I am currently getting this error in one of my postcss files:  with the...
I use it with vite, eg: ```css @each $val, $i in 1, 2 { .icon-$(val) { background: url('./images/$(val).png'); } } .icon { background: url(./images/1.png); } ``` after build ```css .icon-1...
Hey @madyankin, first of all, thanks for creating this plugin, and thanks to all the contributors as well. I got a question and I saw that I was not the...