Font-Awesome/scss/_core.scss

34 lines
701 B
SCSS
Raw Normal View History

2022-02-08 04:16:51 +08: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});
}
.#{$fa-css-prefix},
.fas,
2022-03-16 03:08:55 +08:00
.#{$fa-css-prefix}-solid,
2022-02-08 04:16:51 +08:00
.far,
2022-03-16 03:08:55 +08:00
.#{$fa-css-prefix}-regular,
2022-02-08 04:16:51 +08:00
.fal,
2022-03-16 03:08:55 +08:00
.#{$fa-css-prefix}-light,
2022-02-08 04:16:51 +08:00
.fat,
2022-03-16 03:08:55 +08:00
.#{$fa-css-prefix}-thin,
2022-02-08 04:16:51 +08:00
.fad,
2022-03-16 03:08:55 +08:00
.#{$fa-css-prefix}-duotone,
2022-02-08 04:16:51 +08:00
.fab,
2022-03-16 03:08:55 +08:00
.#{$fa-css-prefix}-brands {
2022-02-08 04:16:51 +08: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;
}
%fa-icon {
@include fa-icon;
}