mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-26 13:31:30 +08:00
31 lines
818 B
SCSS
31 lines
818 B
SCSS
|
/*!
|
||
|
* Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com
|
||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||
|
* Copyright 2022 Fonticons, Inc.
|
||
|
*/
|
||
|
@import 'functions';
|
||
|
@import 'variables';
|
||
|
|
||
|
:root, :host {
|
||
|
--#{ $fa-css-prefix }-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
|
||
|
}
|
||
|
|
||
|
@font-face {
|
||
|
font-family: 'Font Awesome 6 Brands';
|
||
|
font-style: normal;
|
||
|
font-weight: 400;
|
||
|
font-display: $fa-font-display;
|
||
|
src: url('#{$fa-font-path}/fa-brands-400.woff2') format('woff2'),
|
||
|
url('#{$fa-font-path}/fa-brands-400.ttf') format('truetype');
|
||
|
}
|
||
|
|
||
|
.fab,
|
||
|
.fa-brands {
|
||
|
font-family: 'Font Awesome 6 Brands';
|
||
|
font-weight: 400;
|
||
|
}
|
||
|
|
||
|
@each $name, $icon in $fa-brand-icons {
|
||
|
.#{$fa-css-prefix}-#{$name}:before { content: fa-content($icon); }
|
||
|
}
|