font-awesome-sass 6.5.1 → 6.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4102c3962232f6e320a736e7cb7b8f2fca648b3e82d124938fa4cfe3b93332cf
4
- data.tar.gz: 72db1a4b4b68b92c6240b87a701b2474c836b5460adf62e9431b63e2dbc17e25
3
+ metadata.gz: 290e6930fd8c1d7ddbcb6bb6e2f347380203a629ef724e9ceed1e65c3b0db3ad
4
+ data.tar.gz: 0f394475e7fd310c057621b8040512f93cd01029baac1b4fa815218fbf78eeea
5
5
  SHA512:
6
- metadata.gz: 21234102220259c4ed39dd2e46a21f319c4fdd259d9d905f3d2aa528fd7aa7e1be5c99fa8614b600fbbe68f823e2220ed5af42b8185598d675a8490481abb716
7
- data.tar.gz: 9adc16b310c911f102059872b491fa40abc6af84dc43976fbf3ce28f78fa8c5bcd48ff1daa6d9f1e8b39defeaf2dacc4a050799978933e991efd5994c8c9444b
6
+ metadata.gz: e726d656389ac5f9712686bacdb38813ff0e0a49b4a48f3da6cb064f20068852e908d5d345aae2486d5e94d52c0bed873c03eb8ede875c8743a5f8ce367f0aeb
7
+ data.tar.gz: f47cb166022b76a544914ed3e2600d3e6977af2c15b04358ded1f311fae335e6d617e4ec6094a2ea28bab9ede65768613aa34bfa59cdaa082c093524ad3ac44c
@@ -150,4 +150,3 @@
150
150
  0% { transform: rotate(0deg); }
151
151
  100% { transform: rotate(360deg); }
152
152
  }
153
-
@@ -9,12 +9,12 @@
9
9
  padding: var(--#{$fa-css-prefix}-border-padding, #{$fa-border-padding});
10
10
  }
11
11
 
12
- .#{$fa-css-prefix}-pull-left {
12
+ .#{$fa-css-prefix}-pull-left {
13
13
  float: left;
14
14
  margin-right: var(--#{$fa-css-prefix}-pull-margin, #{$fa-pull-margin});
15
15
  }
16
16
 
17
- .#{$fa-css-prefix}-pull-right {
17
+ .#{$fa-css-prefix}-pull-right {
18
18
  float: right;
19
19
  margin-left: var(--#{$fa-css-prefix}-pull-margin, #{$fa-pull-margin});
20
20
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com
2
+ * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
3
3
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
- * Copyright 2023 Fonticons, Inc.
4
+ * Copyright 2024 Fonticons, Inc.
5
5
  */
6
6
  @import 'functions';
7
7
  @import 'variables';
@@ -26,5 +26,5 @@
26
26
  }
27
27
 
28
28
  @each $name, $icon in $fa-brand-icons {
29
- .#{$fa-css-prefix}-#{$name}:before { content: unquote("\"#{ $icon }\""); }
29
+ .#{$fa-css-prefix}-#{$name} { #{$fa-icon-property}: unquote("\"#{ $icon }\""); }
30
30
  }
@@ -6,15 +6,13 @@
6
6
  font-weight: var(--#{$fa-css-prefix}-style, #{$fa-style});
7
7
  }
8
8
 
9
- .#{$fa-css-prefix},
10
- .#{$fa-css-prefix}-classic,
11
- .#{$fa-css-prefix}-sharp,
12
9
  .fas,
13
- .#{$fa-css-prefix}-solid,
14
10
  .far,
15
- .#{$fa-css-prefix}-regular,
16
11
  .fab,
17
- .#{$fa-css-prefix}-brands {
12
+ .#{$fa-css-prefix}-solid,
13
+ .#{$fa-css-prefix}-regular,
14
+ .#{$fa-css-prefix}-brands,
15
+ .#{$fa-css-prefix} {
18
16
  -moz-osx-font-smoothing: grayscale;
19
17
  -webkit-font-smoothing: antialiased;
20
18
  display: var(--#{$fa-css-prefix}-display, #{$fa-display});
@@ -24,20 +22,28 @@
24
22
  text-rendering: auto;
25
23
  }
26
24
 
27
- .fas,
25
+ .fas::before,
26
+ .far::before,
27
+ .fab::before,
28
+ .#{$fa-css-prefix}-solid::before,
29
+ .#{$fa-css-prefix}-regular::before,
30
+ .#{$fa-css-prefix}-brands::before,
31
+ .#{$fa-css-prefix}::before {
32
+ content: var(#{$fa-icon-property});
33
+ }
34
+
28
35
  .#{$fa-css-prefix}-classic,
36
+ .fas,
29
37
  .#{$fa-css-prefix}-solid,
30
38
  .far,
31
39
  .#{$fa-css-prefix}-regular {
32
40
  font-family: 'Font Awesome 6 Free';
33
41
  }
34
-
35
- .fab,
36
- .#{$fa-css-prefix}-brands {
42
+ .#{$fa-css-prefix}-brands,
43
+ .fab {
37
44
  font-family: 'Font Awesome 6 Brands';
38
45
  }
39
46
 
40
-
41
47
  %fa-icon {
42
48
  @include fa-icon;
43
49
  }
@@ -5,6 +5,8 @@
5
5
  readers do not read off random characters that represent icons */
6
6
 
7
7
  @each $name, $icon in $fa-icons {
8
- .#{$fa-css-prefix}-#{$name}::before { content: unquote("\"#{ $icon }\""); }
8
+ .#{$fa-css-prefix}-#{$name} {
9
+ #{$fa-icon-property}: unquote("\"#{ $icon }\"");
10
+ }
9
11
  }
10
12
 
@@ -10,7 +10,7 @@
10
10
  }
11
11
 
12
12
  .#{$fa-css-prefix}-li {
13
- left: calc(var(--#{$fa-css-prefix}-li-width, #{$fa-li-width}) * -1);
13
+ left: calc(-1 * var(--#{$fa-css-prefix}-li-width, #{$fa-li-width}));
14
14
  position: absolute;
15
15
  text-align: center;
16
16
  width: var(--#{$fa-css-prefix}-li-width, #{$fa-li-width});
@@ -42,34 +42,24 @@
42
42
  }
43
43
 
44
44
  // sets a specific icon family to use alongside style + icon mixins
45
+ @mixin fa-family-classic() {
46
+ @extend .fa-classic;
47
+ }
45
48
 
46
49
  // convenience mixins for declaring pseudo-elements by CSS variable,
47
- // including all style-specific font properties, and both the ::before
48
- // and ::after elements in the duotone case.
50
+ // including all style-specific font properties
49
51
  @mixin fa-icon-solid($fa-var) {
50
- @extend %fa-icon;
51
52
  @extend .fa-solid;
52
53
 
53
- &::before {
54
- content: unquote("\"#{ $fa-var }\"");
55
- }
54
+ & { #{$fa-icon-property}: unquote("\"#{ $fa-var }\""); #{$fa-duotone-icon-property}: unquote("\"#{ $fa-var }#{ $fa-var }\""); }
56
55
  }
57
-
58
56
  @mixin fa-icon-regular($fa-var) {
59
- @extend %fa-icon;
60
57
  @extend .fa-regular;
61
58
 
62
- &::before {
63
- content: unquote("\"#{ $fa-var }\"");
64
- }
59
+ & { #{$fa-icon-property}: unquote("\"#{ $fa-var }\""); #{$fa-duotone-icon-property}: unquote("\"#{ $fa-var }#{ $fa-var }\""); }
65
60
  }
66
-
67
61
  @mixin fa-icon-brands($fa-var) {
68
- @extend %fa-icon;
69
62
  @extend .fa-brands;
70
63
 
71
- &::before {
72
- content: unquote("\"#{ $fa-var }\"");
73
- }
64
+ & { #{$fa-icon-property}: unquote("\"#{ $fa-var }\""); #{$fa-duotone-icon-property}: unquote("\"#{ $fa-var }#{ $fa-var }\""); }
74
65
  }
75
-
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com
2
+ * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
3
3
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
- * Copyright 2023 Fonticons, Inc.
4
+ * Copyright 2024 Fonticons, Inc.
5
5
  */
6
6
  @import 'functions';
7
7
  @import 'variables';
@@ -11,6 +11,7 @@
11
11
  --#{$fa-css-prefix}-font-regular: normal 400 1em/1 '#{ $fa-style-family }';
12
12
  }
13
13
 
14
+
14
15
  @font-face {
15
16
  font-family: 'Font Awesome 6 Free';
16
17
  font-style: normal;
@@ -22,10 +22,10 @@
22
22
  }
23
23
 
24
24
  .#{$fa-css-prefix}-flip-both,
25
- .#{$fa-css-prefix}-flip-horizontal.#{$fa-css-prefix}-flip-vertical {
25
+ .#{$fa-css-prefix}-flip-horizontal.#{$fa-css-prefix}-flip-vertical {
26
26
  transform: scale(-1, -1);
27
27
  }
28
28
 
29
29
  .#{$fa-css-prefix}-rotate-by {
30
- transform: rotate(var(--#{$fa-css-prefix}-rotate-angle, none));
30
+ transform: rotate(var(--#{$fa-css-prefix}-rotate-angle, 0));
31
31
  }