v0.5.0
Fixed
Error: Import directives may not be used within control directives or mixins.
in certain cases like when compiling with Ruby Sass.
Solution:@import
all available types and instead nest Sass for each type in@if
directive which checks to see if the type exists in$hamburger-types
. e.g.:
@if index($hamburger-types, 3dx) {
.hamburger--3dx {
}
}