Skip to content

Commit

Permalink
Update to version 6.1.2 (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
robmadole committed Jul 25, 2022
1 parent 84ca62d commit f8127d4
Show file tree
Hide file tree
Showing 15 changed files with 861 additions and 1,439 deletions.
117 changes: 27 additions & 90 deletions assets/stylesheets/font-awesome/_animated.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, cubic-bezier(0.280, 0.840, 0.420, 1));
}

.#{$fa-css-prefix}-fade {
Expand All @@ -25,7 +25,7 @@
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, cubic-bezier(.4,0,.6,1));
}

.#{$fa-css-prefix}-beat-fade {
Expand All @@ -34,7 +34,7 @@
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, cubic-bezier(.4,0,.6,1));
}

.#{$fa-css-prefix}-flip {
Expand Down Expand Up @@ -99,60 +99,26 @@
}

@keyframes #{$fa-css-prefix}-beat {
0%,
90% {
transform: scale(1);
}
45% {
transform: scale(var(--#{$fa-css-prefix}-beat-scale, 1.25));
}
0%, 90% { transform: scale(1); }
45% { transform: scale(var(--#{$fa-css-prefix}-beat-scale, 1.25)); }
}

@keyframes #{$fa-css-prefix}-bounce {
0% {
transform: scale(1, 1) translateY(0);
}
10% {
transform: scale(
var(--#{$fa-css-prefix}-bounce-start-scale-x, 1.1),
var(--#{$fa-css-prefix}-bounce-start-scale-y, 0.9)
)
translateY(0);
}
30% {
transform: scale(
var(--#{$fa-css-prefix}-bounce-jump-scale-x, 0.9),
var(--#{$fa-css-prefix}-bounce-jump-scale-y, 1.1)
)
translateY(var(--#{$fa-css-prefix}-bounce-height, -0.5em));
}
50% {
transform: scale(
var(--#{$fa-css-prefix}-bounce-land-scale-x, 1.05),
var(--#{$fa-css-prefix}-bounce-land-scale-y, 0.95)
)
translateY(0);
}
57% {
transform: scale(1, 1) translateY(var(--#{$fa-css-prefix}-bounce-rebound, -0.125em));
}
64% {
transform: scale(1, 1) translateY(0);
}
100% {
transform: scale(1, 1) translateY(0);
}
0% { transform: scale(1,1) translateY(0); }
10% { transform: scale(var(--#{$fa-css-prefix}-bounce-start-scale-x, 1.1),var(--#{$fa-css-prefix}-bounce-start-scale-y, 0.9)) translateY(0); }
30% { transform: scale(var(--#{$fa-css-prefix}-bounce-jump-scale-x, 0.9),var(--#{$fa-css-prefix}-bounce-jump-scale-y, 1.1)) translateY(var(--#{$fa-css-prefix}-bounce-height, -0.5em)); }
50% { transform: scale(var(--#{$fa-css-prefix}-bounce-land-scale-x, 1.05),var(--#{$fa-css-prefix}-bounce-land-scale-y, 0.95)) translateY(0); }
57% { transform: scale(1,1) translateY(var(--#{$fa-css-prefix}-bounce-rebound, -0.125em)); }
64% { transform: scale(1,1) translateY(0); }
100% { transform: scale(1,1) translateY(0); }
}

@keyframes #{$fa-css-prefix}-fade {
50% {
opacity: var(--#{$fa-css-prefix}-fade-opacity, 0.4);
}
50% { opacity: var(--#{$fa-css-prefix}-fade-opacity, 0.4); }
}

@keyframes #{$fa-css-prefix}-beat-fade {
0%,
100% {
0%, 100% {
opacity: var(--#{$fa-css-prefix}-beat-fade-opacity, 0.4);
transform: scale(1);
}
Expand All @@ -164,53 +130,24 @@

@keyframes #{$fa-css-prefix}-flip {
50% {
transform: rotate3d(
var(--#{$fa-css-prefix}-flip-x, 0),
var(--#{$fa-css-prefix}-flip-y, 1),
var(--#{$fa-css-prefix}-flip-z, 0),
var(--#{$fa-css-prefix}-flip-angle, -180deg)
);
transform: rotate3d(var(--#{$fa-css-prefix}-flip-x, 0), var(--#{$fa-css-prefix}-flip-y, 1), var(--#{$fa-css-prefix}-flip-z, 0), var(--#{$fa-css-prefix}-flip-angle, -180deg));
}
}

@keyframes #{$fa-css-prefix}-shake {
0% {
transform: rotate(-15deg);
}
4% {
transform: rotate(15deg);
}
8%,
24% {
transform: rotate(-18deg);
}
12%,
28% {
transform: rotate(18deg);
}
16% {
transform: rotate(-22deg);
}
20% {
transform: rotate(22deg);
}
32% {
transform: rotate(-12deg);
}
36% {
transform: rotate(12deg);
}
40%,
100% {
transform: rotate(0deg);
}
0% { transform: rotate(-15deg); }
4% { transform: rotate(15deg); }
8%, 24% { transform: rotate(-18deg); }
12%, 28% { transform: rotate(18deg); }
16% { transform: rotate(-22deg); }
20% { transform: rotate(22deg); }
32% { transform: rotate(-12deg); }
36% { transform: rotate(12deg); }
40%, 100% { transform: rotate(0deg); }
}

@keyframes #{$fa-css-prefix}-spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

8 changes: 4 additions & 4 deletions assets/stylesheets/font-awesome/_bordered-pulled.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
padding: var(--#{$fa-css-prefix}-border-padding, #{$fa-border-padding});
}

.#{$fa-css-prefix}-pull-left {
.#{$fa-css-prefix}-pull-left {
float: left;
margin-right: var(--#{$fa-css-prefix}-pull-margin, #{$fa-pull-margin});
margin-right: var(--#{$fa-css-prefix}-pull-margin, #{$fa-pull-margin});
}

.#{$fa-css-prefix}-pull-right {
.#{$fa-css-prefix}-pull-right {
float: right;
margin-left: var(--#{$fa-css-prefix}-pull-margin, #{$fa-pull-margin});
margin-left: var(--#{$fa-css-prefix}-pull-margin, #{$fa-pull-margin});
}
21 changes: 9 additions & 12 deletions assets/stylesheets/font-awesome/_brands.scss
Original file line number Diff line number Diff line change
@@ -1,33 +1,30 @@
/*!
* Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com
* Font Awesome Free 6.1.2 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 2022 Fonticons, Inc.
*/
@import "functions";
@import "variables";
@import 'functions';
@import 'variables';

:root,
:host {
:root, :host {
--#{$fa-css-prefix}-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
}

@font-face {
font-family: "Font Awesome 6 Brands";
font-family: 'Font Awesome 6 Brands';
font-style: normal;
font-weight: 400;
font-display: $fa-font-display;
src: url(fa-font-path("fa-brands-400.woff2")) format("woff2"),
url(fa-font-path("fa-brands-400.ttf")) format("truetype");
src: url(fa-font-path('fa-brands-400.woff2')) format('woff2'),
url(fa-font-path('fa-brands-400.ttf')) format('truetype');
}

.fab,
.#{$fa-css-prefix}-brands {
font-family: "Font Awesome 6 Brands";
font-family: 'Font Awesome 6 Brands';
font-weight: 400;
}

@each $name, $icon in $fa-brand-icons {
.#{$fa-css-prefix}-#{$name}:before {
content: unquote('"#{ $icon }"');
}
.#{$fa-css-prefix}-#{$name}:before { content: unquote("\"#{ $icon }\""); }
}
2 changes: 1 addition & 1 deletion assets/stylesheets/font-awesome/_core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// -------------------------

.#{$fa-css-prefix} {
font-family: var(--#{$fa-css-prefix}-style-family, "#{$fa-style-family}");
font-family: var(--#{$fa-css-prefix}-style-family, '#{$fa-style-family}');
font-weight: var(--#{$fa-css-prefix}-style, #{$fa-style});
}

Expand Down
13 changes: 2 additions & 11 deletions assets/stylesheets/font-awesome/_functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

// fa-content: convenience function used to set content property
@function fa-content($fa-var) {
@return unquote('"#{ $fa-var }"');
@return unquote("\"#{ $fa-var }\"");
}

// fa-divide: Originally obtained from the Bootstrap https://github.com/twbs/bootstrap
Expand Down Expand Up @@ -51,16 +51,7 @@
$remainder: $remainder - $divisor;
}
@if $remainder > 0 and $precision > 0 {
$remainder: fa-divide($remainder * 10, $divisor, $precision - 1) * 0.1;
$remainder: fa-divide($remainder * 10, $divisor, $precision - 1) * .1;
}
@return ($quotient + $remainder) * $sign;
}

// fa-font-path: function used to set font path to webfont files
@function fa-font-path($file) {
@if function-exists("font-path") {
@return font-path("font-awesome/#{$file}");
} @else {
@return "#{$fa-font-path}/#{$file}";
}
}
4 changes: 1 addition & 3 deletions assets/stylesheets/font-awesome/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
readers do not read off random characters that represent icons */

@each $name, $icon in $fa-icons {
.#{$fa-css-prefix}-#{$name}::before {
content: unquote('"#{ $icon }"');
}
.#{$fa-css-prefix}-#{$name}::before { content: unquote("\"#{ $icon }\""); }
}
4 changes: 1 addition & 3 deletions assets/stylesheets/font-awesome/_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
margin-left: var(--#{$fa-css-prefix}-li-margin, #{$fa-li-margin});
padding-left: 0;

> li {
position: relative;
}
> li { position: relative; }
}

.#{$fa-css-prefix}-li {
Expand Down
9 changes: 5 additions & 4 deletions assets/stylesheets/font-awesome/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}

// sets relative font-sizing and alignment (in _sizing)
@mixin fa-size($font-size) {
@mixin fa-size ($font-size) {
font-size: fa-divide($font-size, $fa-size-scale-base) * 1em; // converts step in sizing scale into an em-based value that's relative to the scale's base
line-height: fa-divide(1, $font-size) * 1em; // sets the line-height of the icon back to that of it's parent
vertical-align: (fa-divide(6, $font-size) - fa-divide(3, 8)) * 1em; // vertically centers the icon taking into account the surrounding text's descender
Expand Down Expand Up @@ -49,7 +49,7 @@
@extend .fa-solid;

&::before {
content: unquote('"#{ $fa-var }"');
content: unquote("\"#{ $fa-var }\"");
}
}

Expand All @@ -58,7 +58,7 @@
@extend .fa-regular;

&::before {
content: unquote('"#{ $fa-var }"');
content: unquote("\"#{ $fa-var }\"");
}
}

Expand All @@ -67,6 +67,7 @@
@extend .fa-brands;

&::before {
content: unquote('"#{ $fa-var }"');
content: unquote("\"#{ $fa-var }\"");
}
}

17 changes: 8 additions & 9 deletions assets/stylesheets/font-awesome/_regular.scss
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
/*!
* Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com
* Font Awesome Free 6.1.2 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 2022 Fonticons, Inc.
*/
@import "functions";
@import "variables";
@import 'functions';
@import 'variables';

:root,
:host {
:root, :host {
--#{$fa-css-prefix}-font-regular: normal 400 1em/1 "#{ $fa-style-family }";
}

@font-face {
font-family: "Font Awesome 6 Free";
font-family: 'Font Awesome 6 Free';
font-style: normal;
font-weight: 400;
font-display: $fa-font-display;
src: url(fa-font-path("fa-regular-400.woff2")) format("woff2"),
url(fa-font-path("fa-regular-400.ttf")) format("truetype");
src: url(fa-font-path('fa-regular-400.woff2')) format('woff2'),
url(fa-font-path('fa-regular-400.ttf')) format('truetype');
}

.far,
.#{$fa-css-prefix}-regular {
font-family: "Font Awesome 6 Free";
font-family: 'Font Awesome 6 Free';
font-weight: 400;
}
2 changes: 1 addition & 1 deletion assets/stylesheets/font-awesome/_rotated-flipped.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}

.#{$fa-css-prefix}-flip-both,
.#{$fa-css-prefix}-flip-horizontal.#{$fa-css-prefix}-flip-vertical {
.#{$fa-css-prefix}-flip-horizontal.#{$fa-css-prefix}-flip-vertical {
transform: scale(-1, -1);
}

Expand Down
Loading

0 comments on commit f8127d4

Please sign in to comment.