/*!
 * Font Awesome Pro 7.2.0 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license (Commercial License)
 * Copyright 2026 Fonticons, Inc.
 */
@use "sass:string";
@use 'variables' as v;
@use 'mixins' as m;

:root, :host {
  --#{v.$css-prefix}-family-sharp: 'Font Awesome 7 Sharp';
  --#{v.$css-prefix}-font-sharp-light: normal 300 1em/1 var(--#{v.$css-prefix}-family-sharp);

  /* deprecated: this older custom property will be removed next major release */
  --#{v.$css-prefix}-style-family-sharp: var(--#{v.$css-prefix}-family-sharp);
}


@font-face {
  font-family: 'Font Awesome 7 Sharp';
  font-style: normal;
  font-weight: 300;
  font-display: v.$font-display;
  src: url('#{v.$font-path}/fa-sharp-light-300.woff2');
}


.fasl {
  --#{v.$css-prefix}-family: var(--#{v.$css-prefix}-family-sharp);
  --#{v.$css-prefix}-style: 300;
}

.#{v.$css-prefix}-sharp {
  --#{v.$css-prefix}-family: var(--#{v.$css-prefix}-family-sharp);
}

.#{v.$css-prefix}-light {
  --#{v.$css-prefix}-style: 300;
}

// convenience mixin for declaring pseudo-elements by CSS variable,
// including all style-specific font properties and ::before elements.
@mixin icon($var) {
  @include m.fa-icon(Font Awesome 7 Sharp);
  @extend .#{v.$css-prefix}-light;
  @extend .#{v.$css-prefix}-sharp;

  &::before {
    content: string.unquote("\"#{ $var }\"");
  }
}
