Bump font awesome to 6.5.0

This commit is contained in:
2023-12-07 20:33:52 +01:00
parent 3611f2206f
commit d767e335f9
39 changed files with 426 additions and 21 deletions

View File

@@ -13,10 +13,13 @@
.#{$fa-css-prefix}-solid,
.far,
.#{$fa-css-prefix}-regular,
.fasr,
.fal,
.#{$fa-css-prefix}-light,
.fasl,
.fat,
.#{$fa-css-prefix}-thin,
.fast,
.fad,
.#{$fa-css-prefix}-duotone,
.fass,
@@ -56,8 +59,14 @@
}
.fass,
.fasr,
.fasl,
.fast,
.#{$fa-css-prefix}-sharp {
font-family: 'Font Awesome 6 Sharp';
}
.fass,
.#{$fa-css-prefix}-sharp {
font-weight: 900;
}

View File

@@ -3,8 +3,10 @@
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen readers do not read off random characters that represent icons */
@each $name, $icon in $fa-icons {
.fad.#{$fa-css-prefix}-#{$name}::after, .#{$fa-css-prefix}-duotone.#{$fa-css-prefix}-#{$name}::after {
content: unquote("\"#{ $icon }#{ $icon }\"");
}
}

View File

@@ -7,3 +7,4 @@ readers do not read off random characters that represent icons */
@each $name, $icon in $fa-icons {
.#{$fa-css-prefix}-#{$name}::before { content: unquote("\"#{ $icon }\""); }
}

View File

@@ -110,6 +110,33 @@
}
}
@mixin fa-icon-sharp-regular($fa-var) {
@extend %fa-icon;
@extend .fa-sharp-regular;
&::before {
content: unquote("\"#{ $fa-var }\"");
}
}
@mixin fa-icon-sharp-light($fa-var) {
@extend %fa-icon;
@extend .fa-sharp-light;
&::before {
content: unquote("\"#{ $fa-var }\"");
}
}
@mixin fa-icon-sharp-thin($fa-var) {
@extend %fa-icon;
@extend .fa-sharp-thin;
&::before {
content: unquote("\"#{ $fa-var }\"");
}
}
@mixin fa-icon-brands($fa-var) {
@extend %fa-icon;
@extend .fa-brands;

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
/*!
* Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 6.5.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2022 Fonticons, Inc.
* Copyright 2023 Fonticons, Inc.
*/
@import 'functions';
@import 'variables';

View File

@@ -1,7 +1,7 @@
/*!
* Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 6.5.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2022 Fonticons, Inc.
* Copyright 2023 Fonticons, Inc.
*/
@import 'functions';
@import 'variables';

View File

@@ -1,7 +1,7 @@
/*!
* Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 6.5.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2022 Fonticons, Inc.
* Copyright 2023 Fonticons, Inc.
*/
// Font Awesome core compile (Web Fonts-based)
// -------------------------

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,7 +1,7 @@
/*!
* Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 6.5.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2022 Fonticons, Inc.
* Copyright 2023 Fonticons, Inc.
*/
@import 'functions';
@import 'variables';

View File

@@ -1,7 +1,7 @@
/*!
* Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 6.5.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2022 Fonticons, Inc.
* Copyright 2023 Fonticons, Inc.
*/
@import 'functions';
@import 'variables';

View File

@@ -0,0 +1,26 @@
/*!
* Font Awesome Pro 6.5.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2023 Fonticons, Inc.
*/
@import 'functions';
@import 'variables';
:root, :host {
--#{$fa-css-prefix}-style-family-sharp: 'Font Awesome 6 Sharp';
--#{$fa-css-prefix}-font-sharp-light: normal 300 1em/1 'Font Awesome 6 Sharp';
}
@font-face {
font-family: 'Font Awesome 6 Sharp';
font-style: normal;
font-weight: 300;
font-display: $fa-font-display;
src: url('#{$fa-font-path}/fa-sharp-light-300.woff2') format('woff2'),
url('#{$fa-font-path}/fa-sharp-light-300.ttf') format('truetype');
}
.fasl,
.#{$fa-css-prefix}-light {
font-weight: 300;
}

View File

@@ -0,0 +1,26 @@
/*!
* Font Awesome Pro 6.5.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2023 Fonticons, Inc.
*/
@import 'functions';
@import 'variables';
:root, :host {
--#{$fa-css-prefix}-style-family-sharp: 'Font Awesome 6 Sharp';
--#{$fa-css-prefix}-font-sharp-regular: normal 400 1em/1 'Font Awesome 6 Sharp';
}
@font-face {
font-family: 'Font Awesome 6 Sharp';
font-style: normal;
font-weight: 400;
font-display: $fa-font-display;
src: url('#{$fa-font-path}/fa-sharp-regular-400.woff2') format('woff2'),
url('#{$fa-font-path}/fa-sharp-regular-400.ttf') format('truetype');
}
.fasr,
.#{$fa-css-prefix}-regular {
font-weight: 400;
}

View File

@@ -1,7 +1,7 @@
/*!
* Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 6.5.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2022 Fonticons, Inc.
* Copyright 2023 Fonticons, Inc.
*/
@import 'functions';
@import 'variables';
@@ -21,6 +21,6 @@
}
.fass,
.#{$fa-css-prefix}-sharp-solid {
.#{$fa-css-prefix}-solid {
font-weight: 900;
}

View File

@@ -0,0 +1,26 @@
/*!
* Font Awesome Pro 6.5.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2023 Fonticons, Inc.
*/
@import 'functions';
@import 'variables';
:root, :host {
--#{$fa-css-prefix}-style-family-sharp: 'Font Awesome 6 Sharp';
--#{$fa-css-prefix}-font-sharp-thin: normal 100 1em/1 'Font Awesome 6 Sharp';
}
@font-face {
font-family: 'Font Awesome 6 Sharp';
font-style: normal;
font-weight: 100;
font-display: $fa-font-display;
src: url('#{$fa-font-path}/fa-sharp-thin-100.woff2') format('woff2'),
url('#{$fa-font-path}/fa-sharp-thin-100.ttf') format('truetype');
}
.fast,
.#{$fa-css-prefix}-thin {
font-weight: 100;
}

View File

@@ -1,7 +1,7 @@
/*!
* Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 6.5.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2022 Fonticons, Inc.
* Copyright 2023 Fonticons, Inc.
*/
@import 'functions';
@import 'variables';

View File

@@ -1,7 +1,7 @@
/*!
* Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 6.5.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2022 Fonticons, Inc.
* Copyright 2023 Fonticons, Inc.
*/
@import 'functions';
@import 'variables';

View File

@@ -1,7 +1,7 @@
/*!
* Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 6.5.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2022 Fonticons, Inc.
* Copyright 2023 Fonticons, Inc.
*/
// V4 shims compile (Web Fonts-based)
// -------------------------