mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-27 14:01:30 +08:00
44 lines
872 B
SCSS
44 lines
872 B
SCSS
// 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});
|
|
}
|
|
|
|
.#{$fa-css-prefix},
|
|
.#{$fa-css-prefix}-classic,
|
|
.#{$fa-css-prefix}-sharp,
|
|
.fas,
|
|
.#{$fa-css-prefix}-solid,
|
|
.far,
|
|
.#{$fa-css-prefix}-regular,
|
|
.fab,
|
|
.#{$fa-css-prefix}-brands {
|
|
-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;
|
|
}
|
|
|
|
.fas,
|
|
.#{$fa-css-prefix}-classic,
|
|
.#{$fa-css-prefix}-solid,
|
|
.far,
|
|
.#{$fa-css-prefix}-regular {
|
|
font-family: 'Font Awesome 6 Free';
|
|
}
|
|
|
|
.fab,
|
|
.#{$fa-css-prefix}-brands {
|
|
font-family: 'Font Awesome 6 Brands';
|
|
}
|
|
|
|
|
|
%fa-icon {
|
|
@include fa-icon;
|
|
}
|