// base icon class definition
// -------------------------
@import 'variables';

.#{$fa-css-prefix} {
  font-family: var(--#{$fa-css-prefix}-style-family, '#{$fa-style-family}');
  font-weight: var(--#{$fa-css-prefix}-style, #{$fa-style});
}

.#{$fa-css-prefix},
.#{$fa-css-prefix}-classic,
.#{$fa-css-prefix}-sharp,
.fas,
.#{$fa-css-prefix}-solid,
.far,
.#{$fa-css-prefix}-regular,
.fab,
.#{$fa-css-prefix}-brands,
.fal,
.#{$fa-css-prefix}-light,
.fat,
.#{$fa-css-prefix}-thin,
.fad,
.#{$fa-css-prefix}-duotone,
.fass,
.#{$fa-css-prefix}-sharp,
.#{$fa-css-prefix}-sharp-solid {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--#{$fa-css-prefix}-display, #{$fa-display});
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}

.fas,
.#{$fa-css-prefix}-classic,
.#{$fa-css-prefix}-solid {
  font-family: $fa-style-family-solid;
}
.far,
.#{$fa-css-prefix}-classic,
.#{$fa-css-prefix}-regular {
  font-family: $fa-style-family-regular;
}

.fal,
.#{$fa-css-prefix}-classic,
.#{$fa-css-prefix}-light {
  font-family: $fa-style-family-light;
}

.fad,
.#{$fa-css-prefix}-classic,
.#{$fa-css-prefix}-duotone {
  font-family: $fa-style-family-duotone;
}

.fat,
.#{$fa-css-prefix}-classic,
.#{$fa-css-prefix}-thin {
  font-family: $fa-style-family-thin;
}

.fab,
.#{$fa-css-prefix}-brands {
  font-family: $fa-style-family-brands;
}

.fass,
.#{$fa-css-prefix}-harp-solid.#{$fa-css-prefix}-solid {
  font-family: $fa-style-family-sharp-solid;
}

%fa-icon {
  @include fa-icon;
}
