2022-02-07 20:16:51 +00:00
|
|
|
// base icon class definition
|
|
|
|
// -------------------------
|
|
|
|
|
|
|
|
.#{$fa-css-prefix} {
|
|
|
|
font-family: var(--#{$fa-css-prefix}-style-family, '#{$fa-style-family}');
|
|
|
|
font-weight: var(--#{$fa-css-prefix}-style, #{$fa-style});
|
|
|
|
}
|
|
|
|
|
2024-07-16 17:13:31 +00:00
|
|
|
.fas,
|
|
|
|
.far,
|
2022-02-07 20:16:51 +00:00
|
|
|
.fab,
|
2024-11-18 21:38:46 +00:00
|
|
|
.#{$fa-css-prefix}-solid,
|
|
|
|
.#{$fa-css-prefix}-regular,
|
|
|
|
.#{$fa-css-prefix}-brands,
|
2024-07-16 17:13:31 +00:00
|
|
|
.#{$fa-css-prefix} {
|
2022-02-07 20:16:51 +00:00
|
|
|
-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;
|
|
|
|
}
|
|
|
|
|
2024-11-18 21:38:46 +00:00
|
|
|
.fas::before,
|
|
|
|
.far::before,
|
|
|
|
.fab::before,
|
|
|
|
.#{$fa-css-prefix}-solid::before,
|
|
|
|
.#{$fa-css-prefix}-regular::before,
|
|
|
|
.#{$fa-css-prefix}-brands::before,
|
|
|
|
.fa::before {
|
|
|
|
content: var(#{$fa-icon-property});
|
|
|
|
}
|
|
|
|
|
2022-08-31 21:02:43 +00:00
|
|
|
.#{$fa-css-prefix}-classic,
|
2024-11-18 21:38:46 +00:00
|
|
|
.fas,
|
2022-08-31 21:02:43 +00:00
|
|
|
.#{$fa-css-prefix}-solid,
|
|
|
|
.far,
|
|
|
|
.#{$fa-css-prefix}-regular {
|
|
|
|
font-family: 'Font Awesome 6 Free';
|
|
|
|
}
|
2024-11-18 21:38:46 +00:00
|
|
|
.#{$fa-css-prefix}-brands,
|
|
|
|
.fab {
|
2022-08-31 21:02:43 +00:00
|
|
|
font-family: 'Font Awesome 6 Brands';
|
|
|
|
}
|
|
|
|
|
2022-02-07 20:16:51 +00:00
|
|
|
%fa-icon {
|
|
|
|
@include fa-icon;
|
|
|
|
}
|