csstools / csstools/postcss-advanced-variables

@elseif is supported?

Open
#67 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
144
Forks
33
PR merge metrics
No merged PRs in 30d

Description

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;

@if $theme-type == test1 {
background: #000000;
} @else if $theme-type == test2 {
background: #DDDDDD;
} @else {
background: #FAFAFA;
}
```

By the way, this plugin is so great.
Thanks for providing the great plugin!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.