Font-Awesome/scss/brands.scss

31 lines
867 B
SCSS
Raw Normal View History

2022-02-08 04:16:51 +08:00
/*!
* Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com
2022-02-08 04:16:51 +08:00
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
2023-02-08 03:23:03 +08:00
* Copyright 2023 Fonticons, Inc.
2022-02-08 04:16:51 +08:00
*/
@import 'functions';
@import 'variables';
:root, :host {
2022-09-01 05:02:43 +08:00
--#{$fa-css-prefix}-style-family-brands: 'Font Awesome 6 Brands';
--#{$fa-css-prefix}-font-brands: normal 400 1em/1 'Font Awesome 6 Brands';
2022-02-08 04:16:51 +08:00
}
@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,
2022-03-16 03:08:55 +08:00
.#{$fa-css-prefix}-brands {
2022-02-08 04:16:51 +08:00
font-weight: 400;
}
@each $name, $icon in $fa-brand-icons {
2022-03-16 03:08:55 +08:00
.#{$fa-css-prefix}-#{$name}:before { content: unquote("\"#{ $icon }\""); }
2022-02-08 04:16:51 +08:00
}