postcss-advanced-variables
postcss-advanced-variables copied to clipboard
Use Sass-like variables, conditionals, and iterators in CSS
Hi, I found out the similar issue below. https://github.com/jonathantneal/postcss-advanced-variables/issues/8 But it appears that @if and @else works fine, not @elseif. Is there anyone to checkout this issue. ``` $theme-type: test1;...
Hi! I'm having trouble doing the following. I've been skulking around, but found no solace. ``` @each $a in (2, 3, 4) { @for $b from 1 to $a {...
Example here: https://runkit.com/sigorilla/wrong-if
Hi Jonathan, Is there a way to export the advanced variables such that they can be imported into a JS file? I see you have a separate repo https://github.com/jonathantneal/postcss-export-custom-variables but...
Adds missing tests and improves support to `@each object` fixes #88, fixes #91, fixes #59
Including a mixin that uses a `@content` block _without_ a block (`{ }`) after the mixin name causes an error: ``` TypeError: Cannot read properties of undefined (reading 'type') ```...
Fixes #78 . Allows for CSS variables to be set as the default value for a mixin or passed as a parameter. Example: ``` @mixin set-color($color: var(--text-color)) { color: $color;...
I have a mixin function that I use to place labels on a range slider, something like this ```scss @mixin range_labels { $span: 3; @for $i from 1 through 5...