Font-Awesome/less/_core.less

39 lines
792 B
Plaintext
Raw Normal View History

2022-02-08 04:16:51 +08:00
// base icon class definition
// -------------------------
2022-03-16 03:08:55 +08:00
.@{fa-css-prefix} {
2022-09-01 05:02:43 +08:00
font-family: ~"var(--@{fa-css-prefix}-style-family, '@{fa-style-family}')";
2022-02-08 04:16:51 +08:00
font-weight: ~'var(--@{fa-css-prefix}-style, @{fa-style})';
}
.@{fa-css-prefix},
.fas,
2022-07-26 01:48:16 +08:00
.@{fa-css-prefix}-solid,
2022-09-01 05:02:43 +08:00
.fass,
.@{fa-css-prefix}-sharp,
2022-02-08 04:16:51 +08:00
.far,
2022-07-26 01:48:16 +08:00
.@{fa-css-prefix}-regular,
2022-02-08 04:16:51 +08:00
.fab,
2022-07-26 01:48:16 +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;
text-rendering: auto;
}
2022-09-01 05:02:43 +08:00
.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';
}