/**
Color generate
 */
@if (get("extend-colors")) {
  #{get("root")} {
    @each $type in get("type") {
      @if (get("useLogoUI")){
        @each $color, $value in get("color.logo-ui") {
          $selector: if($type==fill, ".#{$color}, .#{$type}.#{$color}", ".#{$type}.#{$color}");
          #{$selector} {
            @extend %#{$type} !optional;
            @extend %#{$type}-#{"" + $color};
          }
        }
      }
      @else {
        @each $color, $value in get("color.list") {
          $selector: if($type==fill, ".#{$color}, .#{$type}.#{$color}", ".#{$type}.#{$color}");
          #{$selector} {
            @extend %#{$type} !optional;
            @extend %#{$type}-#{"" + $color};
          }
        }
      }
    }
  }
}
