| 1 |
/*! |
| 2 |
* Font Awesome Free 7.3.0 by @fontawesome - https://fontawesome.com |
| 3 |
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) |
| 4 |
* Copyright 2026 Fonticons, Inc. |
| 5 |
*/ |
| 6 |
@use "sass:string"; |
| 7 |
@use 'variables' as v; |
| 8 |
@use 'mixins' as m; |
| 9 |
|
| 10 |
:root, :host { |
| 11 |
--#{v.$css-prefix}-family-brands: 'Font Awesome 7 Brands'; |
| 12 |
--#{v.$css-prefix}-font-brands: normal 400 1em/1 var(--#{v.$css-prefix}-family-brands); |
| 13 |
} |
| 14 |
|
| 15 |
@font-face { |
| 16 |
font-family: 'Font Awesome 7 Brands'; |
| 17 |
font-style: normal; |
| 18 |
font-weight: 400; |
| 19 |
font-display: v.$font-display; |
| 20 |
src: url('#{v.$font-path}/fa-brands-400.woff2'); |
| 21 |
} |
| 22 |
|
| 23 |
.fab, |
| 24 |
.#{v.$css-prefix}-brands, |
| 25 |
.#{v.$css-prefix}-classic.#{v.$css-prefix}-brands { |
| 26 |
--#{v.$css-prefix}-family: var(--#{v.$css-prefix}-family-brands); |
| 27 |
--#{v.$css-prefix}-style: 400; |
| 28 |
} |
| 29 |
|
| 30 |
@each $name, $icon in v.$brand-icons { |
| 31 |
.#{v.$css-prefix}-#{$name} { |
| 32 |
#{v.$icon-property}: string.unquote("\"#{ $icon }\""); |
| 33 |
} |
| 34 |
} |
| 35 |
|
| 36 |
// convenience mixin for declaring pseudo-elements by CSS variable, |
| 37 |
// including all style-specific font properties and ::before elements. |
| 38 |
@mixin icon($var) { |
| 39 |
@include m.fa-icon(Font Awesome 7 Brands); |
| 40 |
@extend .#{v.$css-prefix}-brands; |
| 41 |
|
| 42 |
&::before { |
| 43 |
content: string.unquote("\"#{ $var }\""); |
| 44 |
} |
| 45 |
} |