font-awesome-sass 6.5.2 → 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: 3e2e600cd3c5c76ae6d09a0db5a079eaaf6268b4605c02dd9050f8fcdadb0f6d
4
- data.tar.gz: 0d7f24472ec202977fbc0b1f0d58c3ecec2b5b7b882ac3a6d47e0293fa6eff76
3
+ metadata.gz: 290e6930fd8c1d7ddbcb6bb6e2f347380203a629ef724e9ceed1e65c3b0db3ad
4
+ data.tar.gz: 0f394475e7fd310c057621b8040512f93cd01029baac1b4fa815218fbf78eeea
5
5
  SHA512:
6
- metadata.gz: ba8d9cbf1e13dc3e23fa2538849f9624e637bad01146e5f453be4aef7f77716b580051aebe777cf9a33dac8b280667737af920e36d9aea97d3636c5af08f01be
7
- data.tar.gz: 3bdb93a49e6b43b5677a64cb809baee75b8f8cdde400f37d8dd5bf5dcb94c463cf899790ae291d7d67787825a2e25a98bf5e73b70a511135ff30ac3a1aeb9352
6
+ metadata.gz: e726d656389ac5f9712686bacdb38813ff0e0a49b4a48f3da6cb064f20068852e908d5d345aae2486d5e94d52c0bed873c03eb8ede875c8743a5f8ce367f0aeb
7
+ data.tar.gz: f47cb166022b76a544914ed3e2600d3e6977af2c15b04358ded1f311fae335e6d617e4ec6094a2ea28bab9ede65768613aa34bfa59cdaa082c093524ad3ac44c
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Font Awesome Free 6.5.2 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
4
  * Copyright 2024 Fonticons, Inc.
5
5
  */
@@ -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,31 +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
56
  @mixin fa-icon-regular($fa-var) {
58
- @extend %fa-icon;
59
57
  @extend .fa-regular;
60
58
 
61
- &::before {
62
- content: unquote("\"#{ $fa-var }\"");
63
- }
59
+ & { #{$fa-icon-property}: unquote("\"#{ $fa-var }\""); #{$fa-duotone-icon-property}: unquote("\"#{ $fa-var }#{ $fa-var }\""); }
64
60
  }
65
61
  @mixin fa-icon-brands($fa-var) {
66
- @extend %fa-icon;
67
62
  @extend .fa-brands;
68
63
 
69
- &::before {
70
- content: unquote("\"#{ $fa-var }\"");
71
- }
64
+ & { #{$fa-icon-property}: unquote("\"#{ $fa-var }\""); #{$fa-duotone-icon-property}: unquote("\"#{ $fa-var }#{ $fa-var }\""); }
72
65
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Font Awesome Free 6.5.2 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
4
  * Copyright 2024 Fonticons, Inc.
5
5
  */
@@ -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;