@use "sass:list";
@use "sass:map";
@use "sass:math";

@use "00-base/00-config/00-variables/vars-00-base" as *;
@use "00-base/01-helpers/02-mixins/mixins-iconfont" as *;

$iconNames: map.keys($iconMapping);

%iconfont {
  @include icon(());
}

@each $iconName in $iconNames {
  .icon-#{$iconName} {
    @extend %iconfont;
  }
}

@each $name, $value in $iconMapping {
  .icon-#{$name} {
    &::before {
      content: "#{$value}";
    }
  }
}

