mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2026-01-08 22:18:03 -05:00
Release 6.7.0 (#20418)
Co-authored-by: robmadole <robmadole@users.noreply.github.com>
This commit is contained in:
@@ -6,31 +6,44 @@
|
||||
font-weight: ~'var(--@{fa-css-prefix}-style, @{fa-style})';
|
||||
}
|
||||
|
||||
.@{fa-css-prefix}-solid,
|
||||
.@{fa-css-prefix}-regular,
|
||||
.@{fa-css-prefix}-brands,
|
||||
.fas,
|
||||
.far,
|
||||
.fab,
|
||||
.@{fa-css-prefix}-solid,
|
||||
.@{fa-css-prefix}-regular,
|
||||
.@{fa-css-prefix}-brands,
|
||||
|
||||
.@{fa-css-prefix}-sharp-solid,
|
||||
.@{fa-css-prefix}-classic,
|
||||
.@{fa-css-prefix} {
|
||||
-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,
|
||||
.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})';
|
||||
content: ~'var(@{fa-icon-property})' / "";
|
||||
}
|
||||
|
||||
.@{fa-css-prefix}-classic,
|
||||
.fas,
|
||||
.@{fa-css-prefix}-solid,
|
||||
.far,
|
||||
.@{fa-css-prefix}-regular {
|
||||
font-family: 'Font Awesome 6 Free';
|
||||
}
|
||||
|
||||
.fab,
|
||||
.@{fa-css-prefix}-brands {
|
||||
.@{fa-css-prefix}-brands,
|
||||
.fab {
|
||||
font-family: 'Font Awesome 6 Brands';
|
||||
}
|
||||
|
||||
|
||||
@@ -5,5 +5,8 @@
|
||||
readers do not read off random characters that represent icons */
|
||||
|
||||
each(.fa-icons(), {
|
||||
.@{fa-css-prefix}-@{key}::before { content: @value; }
|
||||
.@{fa-css-prefix}-@{key} {
|
||||
@{fa-icon-property}: @value;
|
||||
@{fa-duotone-icon-property}: %("%s%s", @value, @value);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -43,36 +43,26 @@
|
||||
|
||||
// sets a specific icon family to use alongside style + icon mixins
|
||||
.fa-family-classic() {
|
||||
font-family: 'Font Awesome 6 Free';
|
||||
&:extend(.fa-classic all);
|
||||
}
|
||||
|
||||
// convenience mixins for declaring pseudo-elements by CSS variable,
|
||||
// including all style-specific font properties, and both the ::before
|
||||
// and ::after elements in the duotone case.
|
||||
// including all style-specific font properties
|
||||
.fa-icon-solid(@fa-var) {
|
||||
.fa-icon;
|
||||
.fa-solid;
|
||||
&:extend(.fa-solid all);
|
||||
|
||||
&::before {
|
||||
content: @fa-var;
|
||||
}
|
||||
& { @{fa-icon-property}: @fa-var; @{fa-duotone-icon-property}: %("%s%s", @fa-var, @fa-var); }
|
||||
}
|
||||
|
||||
.fa-icon-regular(@fa-var) {
|
||||
.fa-icon;
|
||||
.fa-regular;
|
||||
&:extend(.fa-regular all);
|
||||
|
||||
&::before {
|
||||
content: @fa-var;
|
||||
}
|
||||
& { @{fa-icon-property}: @fa-var; @{fa-duotone-icon-property}: %("%s%s", @fa-var, @fa-var); }
|
||||
}
|
||||
|
||||
.fa-icon-brands(@fa-var) {
|
||||
.fa-icon;
|
||||
.fa-brands;
|
||||
&:extend(.fa-brands all);
|
||||
|
||||
&::before {
|
||||
content: @fa-var;
|
||||
}
|
||||
& { @{fa-icon-property}: @fa-var; @{fa-duotone-icon-property}: %("%s%s", @fa-var, @fa-var); }
|
||||
}
|
||||
|
||||
|
||||
612
less/_shims.less
612
less/_shims.less
File diff suppressed because it is too large
Load Diff
@@ -1,52 +1,55 @@
|
||||
// variables
|
||||
// --------------------------
|
||||
|
||||
@fa-css-prefix : fa;
|
||||
@fa-style : 900;
|
||||
@fa-style-family : "Font Awesome 6 Free";
|
||||
@fa-css-prefix : fa;
|
||||
@fa-style : 900;
|
||||
@fa-style-family : "Font Awesome 6 Free";
|
||||
|
||||
@fa-display : inline-block;
|
||||
@fa-icon-property : --fa;
|
||||
@fa-duotone-icon-property : --fa--fa;
|
||||
|
||||
@fa-fw-width : (20em / 16);
|
||||
@fa-inverse : #fff;
|
||||
@fa-display : inline-block;
|
||||
|
||||
@fa-border-color : #eee;
|
||||
@fa-border-padding : .2em .25em .15em;
|
||||
@fa-border-radius : .1em;
|
||||
@fa-border-style : solid;
|
||||
@fa-border-width : .08em;
|
||||
@fa-fw-width : (20em / 16);
|
||||
@fa-inverse : #fff;
|
||||
|
||||
@fa-size-scale-2xs : 10;
|
||||
@fa-size-scale-xs : 12;
|
||||
@fa-size-scale-sm : 14;
|
||||
@fa-size-scale-base : 16;
|
||||
@fa-size-scale-lg : 20;
|
||||
@fa-size-scale-xl : 24;
|
||||
@fa-size-scale-2xl : 32;
|
||||
@fa-border-color : #eee;
|
||||
@fa-border-padding : .2em .25em .15em;
|
||||
@fa-border-radius : .1em;
|
||||
@fa-border-style : solid;
|
||||
@fa-border-width : .08em;
|
||||
|
||||
@fa-size-scale-2xs : 10;
|
||||
@fa-size-scale-xs : 12;
|
||||
@fa-size-scale-sm : 14;
|
||||
@fa-size-scale-base : 16;
|
||||
@fa-size-scale-lg : 20;
|
||||
@fa-size-scale-xl : 24;
|
||||
@fa-size-scale-2xl : 32;
|
||||
|
||||
.fa-sizes() {
|
||||
2xs : @fa-size-scale-2xs;
|
||||
xs : @fa-size-scale-xs;
|
||||
sm : @fa-size-scale-sm;
|
||||
lg : @fa-size-scale-lg;
|
||||
xl : @fa-size-scale-xl;
|
||||
2xl : @fa-size-scale-2xl;
|
||||
2xs : @fa-size-scale-2xs;
|
||||
xs : @fa-size-scale-xs;
|
||||
sm : @fa-size-scale-sm;
|
||||
lg : @fa-size-scale-lg;
|
||||
xl : @fa-size-scale-xl;
|
||||
2xl : @fa-size-scale-2xl;
|
||||
}
|
||||
|
||||
@fa-li-width : 2em;
|
||||
@fa-li-margin : (@fa-li-width * 5/4);
|
||||
@fa-li-width : 2em;
|
||||
@fa-li-margin : (@fa-li-width * 5/4);
|
||||
|
||||
@fa-pull-margin : .3em;
|
||||
@fa-pull-margin : .3em;
|
||||
|
||||
@fa-primary-opacity : 1;
|
||||
@fa-secondary-opacity : .4;
|
||||
@fa-primary-opacity : 1;
|
||||
@fa-secondary-opacity : .4;
|
||||
|
||||
@fa-stack-vertical-align: middle;
|
||||
@fa-stack-width : (@fa-fw-width * 2);
|
||||
@fa-stack-z-index : auto;
|
||||
@fa-stack-vertical-align : middle;
|
||||
@fa-stack-width : (@fa-fw-width * 2);
|
||||
@fa-stack-z-index : auto;
|
||||
|
||||
@fa-font-display : block;
|
||||
@fa-font-path : "../webfonts";
|
||||
@fa-font-display : block;
|
||||
@fa-font-path : "../webfonts";
|
||||
|
||||
@fa-var-0: "\30";
|
||||
@fa-var-1: "\31";
|
||||
@@ -636,6 +639,7 @@
|
||||
@fa-var-arrow-up-from-ground-water: "\e4b5";
|
||||
@fa-var-martini-glass: "\f57b";
|
||||
@fa-var-glass-martini-alt: "\f57b";
|
||||
@fa-var-square-binary: "\e69b";
|
||||
@fa-var-rotate-left: "\f2ea";
|
||||
@fa-var-rotate-back: "\f2ea";
|
||||
@fa-var-rotate-backward: "\f2ea";
|
||||
@@ -1055,6 +1059,7 @@
|
||||
@fa-var-grin-squint: "\f585";
|
||||
@fa-var-hand-holding-dollar: "\f4c0";
|
||||
@fa-var-hand-holding-usd: "\f4c0";
|
||||
@fa-var-chart-diagram: "\e695";
|
||||
@fa-var-bacterium: "\e05a";
|
||||
@fa-var-hand-pointer: "\f25a";
|
||||
@fa-var-drum-steelpan: "\f56a";
|
||||
@@ -1087,6 +1092,7 @@
|
||||
@fa-var-shield-virus: "\e06c";
|
||||
@fa-var-dice-six: "\f526";
|
||||
@fa-var-mosquito-net: "\e52c";
|
||||
@fa-var-file-fragment: "\e697";
|
||||
@fa-var-bridge-water: "\e4ce";
|
||||
@fa-var-person-booth: "\f756";
|
||||
@fa-var-text-width: "\f035";
|
||||
@@ -1268,6 +1274,7 @@
|
||||
@fa-var-plug-circle-plus: "\e55f";
|
||||
@fa-var-place-of-worship: "\f67f";
|
||||
@fa-var-grip-vertical: "\f58e";
|
||||
@fa-var-hexagon-nodes: "\e699";
|
||||
@fa-var-arrow-turn-up: "\f148";
|
||||
@fa-var-level-up: "\f148";
|
||||
@fa-var-u: "\55";
|
||||
@@ -1657,6 +1664,7 @@
|
||||
@fa-var-photo-film: "\f87c";
|
||||
@fa-var-photo-video: "\f87c";
|
||||
@fa-var-folder-minus: "\f65d";
|
||||
@fa-var-hexagon-nodes-bolt: "\e69a";
|
||||
@fa-var-store: "\f54e";
|
||||
@fa-var-arrow-trend-up: "\e098";
|
||||
@fa-var-plug-circle-minus: "\e55e";
|
||||
@@ -1744,6 +1752,7 @@
|
||||
@fa-var-shield-blank: "\f132";
|
||||
@fa-var-arrow-up-short-wide: "\f885";
|
||||
@fa-var-sort-amount-up-alt: "\f885";
|
||||
@fa-var-comment-nodes: "\e696";
|
||||
@fa-var-house-medical: "\e3b2";
|
||||
@fa-var-golf-ball-tee: "\f450";
|
||||
@fa-var-golf-ball: "\f450";
|
||||
@@ -1934,6 +1943,7 @@
|
||||
@fa-var-mug-saucer: "\f0f4";
|
||||
@fa-var-coffee: "\f0f4";
|
||||
@fa-var-brush: "\f55d";
|
||||
@fa-var-file-half-dashed: "\e698";
|
||||
@fa-var-mask: "\f6fa";
|
||||
@fa-var-magnifying-glass-minus: "\f010";
|
||||
@fa-var-search-minus: "\f010";
|
||||
@@ -2124,6 +2134,7 @@
|
||||
@fa-var-debian: "\e60b";
|
||||
@fa-var-openid: "\f19b";
|
||||
@fa-var-instalod: "\e081";
|
||||
@fa-var-files-pinwheel: "\e69f";
|
||||
@fa-var-expeditedssl: "\f23e";
|
||||
@fa-var-sellcast: "\f2da";
|
||||
@fa-var-square-twitter: "\f081";
|
||||
@@ -3121,6 +3132,7 @@
|
||||
arrow-up-from-ground-water: @fa-var-arrow-up-from-ground-water;
|
||||
martini-glass: @fa-var-martini-glass;
|
||||
glass-martini-alt: @fa-var-glass-martini-alt;
|
||||
square-binary: @fa-var-square-binary;
|
||||
rotate-left: @fa-var-rotate-left;
|
||||
rotate-back: @fa-var-rotate-back;
|
||||
rotate-backward: @fa-var-rotate-backward;
|
||||
@@ -3540,6 +3552,7 @@
|
||||
grin-squint: @fa-var-grin-squint;
|
||||
hand-holding-dollar: @fa-var-hand-holding-dollar;
|
||||
hand-holding-usd: @fa-var-hand-holding-usd;
|
||||
chart-diagram: @fa-var-chart-diagram;
|
||||
bacterium: @fa-var-bacterium;
|
||||
hand-pointer: @fa-var-hand-pointer;
|
||||
drum-steelpan: @fa-var-drum-steelpan;
|
||||
@@ -3572,6 +3585,7 @@
|
||||
shield-virus: @fa-var-shield-virus;
|
||||
dice-six: @fa-var-dice-six;
|
||||
mosquito-net: @fa-var-mosquito-net;
|
||||
file-fragment: @fa-var-file-fragment;
|
||||
bridge-water: @fa-var-bridge-water;
|
||||
person-booth: @fa-var-person-booth;
|
||||
text-width: @fa-var-text-width;
|
||||
@@ -3753,6 +3767,7 @@
|
||||
plug-circle-plus: @fa-var-plug-circle-plus;
|
||||
place-of-worship: @fa-var-place-of-worship;
|
||||
grip-vertical: @fa-var-grip-vertical;
|
||||
hexagon-nodes: @fa-var-hexagon-nodes;
|
||||
arrow-turn-up: @fa-var-arrow-turn-up;
|
||||
level-up: @fa-var-level-up;
|
||||
u: @fa-var-u;
|
||||
@@ -4142,6 +4157,7 @@
|
||||
photo-film: @fa-var-photo-film;
|
||||
photo-video: @fa-var-photo-video;
|
||||
folder-minus: @fa-var-folder-minus;
|
||||
hexagon-nodes-bolt: @fa-var-hexagon-nodes-bolt;
|
||||
store: @fa-var-store;
|
||||
arrow-trend-up: @fa-var-arrow-trend-up;
|
||||
plug-circle-minus: @fa-var-plug-circle-minus;
|
||||
@@ -4229,6 +4245,7 @@
|
||||
shield-blank: @fa-var-shield-blank;
|
||||
arrow-up-short-wide: @fa-var-arrow-up-short-wide;
|
||||
sort-amount-up-alt: @fa-var-sort-amount-up-alt;
|
||||
comment-nodes: @fa-var-comment-nodes;
|
||||
house-medical: @fa-var-house-medical;
|
||||
golf-ball-tee: @fa-var-golf-ball-tee;
|
||||
golf-ball: @fa-var-golf-ball;
|
||||
@@ -4419,6 +4436,7 @@
|
||||
mug-saucer: @fa-var-mug-saucer;
|
||||
coffee: @fa-var-coffee;
|
||||
brush: @fa-var-brush;
|
||||
file-half-dashed: @fa-var-file-half-dashed;
|
||||
mask: @fa-var-mask;
|
||||
magnifying-glass-minus: @fa-var-magnifying-glass-minus;
|
||||
search-minus: @fa-var-search-minus;
|
||||
@@ -4611,6 +4629,7 @@
|
||||
debian: @fa-var-debian;
|
||||
openid: @fa-var-openid;
|
||||
instalod: @fa-var-instalod;
|
||||
files-pinwheel: @fa-var-files-pinwheel;
|
||||
expeditedssl: @fa-var-expeditedssl;
|
||||
sellcast: @fa-var-sellcast;
|
||||
square-twitter: @fa-var-square-twitter;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Free 6.7.0 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* Copyright 2024 Fonticons, Inc.
|
||||
*/
|
||||
@@ -25,5 +25,5 @@
|
||||
}
|
||||
|
||||
each(.fa-brand-icons(), {
|
||||
.@{fa-css-prefix}-@{key}:before { content: @value; }
|
||||
.@{fa-css-prefix}-@{key} { @{fa-icon-property}: @value; }
|
||||
});
|
||||
|
||||
2
less/fontawesome.less
vendored
2
less/fontawesome.less
vendored
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Free 6.7.0 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* Copyright 2024 Fonticons, Inc.
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Free 6.7.0 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* Copyright 2024 Fonticons, Inc.
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Free 6.7.0 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* Copyright 2024 Fonticons, Inc.
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Free 6.7.0 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* Copyright 2024 Fonticons, Inc.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user