// Copyright 2015 Palantir Technologies, Inc. All rights reserved.
// Licensed under the BSD-3 License as modified (the “License”); you may obtain a copy
// of the license at https://github.com/palantir/blueprint/blob/master/LICENSE
// and https://github.com/palantir/blueprint/blob/master/PATENTS

@import "common/icons";

#{$icon-classes} {
  display: inline-block;

  @each $intent, $color in $pt-intent-colors {
    &.pt-intent-#{$intent} {
      color: $color;
    }
  }
}

span.pt-icon-standard {
  @include pt-icon($pt-icon-size-standard);
}

span.pt-icon-large {
  @include pt-icon($pt-icon-size-large);
}

span.pt-icon {
  line-height: 1;
  font-family: $icons20-family;
  font-size: inherit;
  font-weight: 400;
  font-style: normal;

  &::before {
    @include pt-icon-font-smoothing();
  }
}

@each $name, $content in $icons {
  .pt-icon-#{$name}::before {
    content: $content;
  }
}
