font-awesome-sass 5.14.0 → 6.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -66
  3. data/assets/fonts/font-awesome/fa-brands-400.ttf +0 -0
  4. data/assets/fonts/font-awesome/fa-brands-400.woff2 +0 -0
  5. data/assets/fonts/font-awesome/fa-regular-400.ttf +0 -0
  6. data/assets/fonts/font-awesome/fa-regular-400.woff2 +0 -0
  7. data/assets/fonts/font-awesome/fa-solid-900.ttf +0 -0
  8. data/assets/fonts/font-awesome/fa-solid-900.woff2 +0 -0
  9. data/assets/stylesheets/_font-awesome.scss +11 -4
  10. data/assets/stylesheets/font-awesome/_animated.scss +201 -5
  11. data/assets/stylesheets/font-awesome/_bordered-pulled.scss +13 -13
  12. data/assets/stylesheets/font-awesome/_brands.scss +33 -0
  13. data/assets/stylesheets/font-awesome/_core.scss +16 -4
  14. data/assets/stylesheets/font-awesome/_fixed-width.scss +2 -1
  15. data/assets/stylesheets/font-awesome/_functions.scss +66 -0
  16. data/assets/stylesheets/font-awesome/_icons.scss +8 -1448
  17. data/assets/stylesheets/font-awesome/_list.scss +7 -5
  18. data/assets/stylesheets/font-awesome/_mixins.scss +50 -34
  19. data/assets/stylesheets/font-awesome/_regular.scss +27 -0
  20. data/assets/stylesheets/font-awesome/_rotated-flipped.scss +25 -18
  21. data/assets/stylesheets/font-awesome/_screen-reader.scss +12 -3
  22. data/assets/stylesheets/font-awesome/_shims.scss +1195 -652
  23. data/assets/stylesheets/font-awesome/_sizing.scss +16 -0
  24. data/assets/stylesheets/font-awesome/_solid.scss +26 -0
  25. data/assets/stylesheets/font-awesome/_stacked.scss +5 -4
  26. data/assets/stylesheets/font-awesome/_variables.scss +4181 -771
  27. data/font-awesome-sass.gemspec +1 -2
  28. data/lib/font-awesome-sass.rb +0 -18
  29. data/lib/font_awesome/sass/rails/engine.rb +1 -1
  30. data/lib/font_awesome/sass/rails/helpers.rb +1 -0
  31. data/lib/font_awesome/sass/version.rb +1 -1
  32. metadata +10 -33
  33. data/assets/fonts/font-awesome/fa-brands-400.eot +0 -0
  34. data/assets/fonts/font-awesome/fa-brands-400.svg +0 -3637
  35. data/assets/fonts/font-awesome/fa-brands-400.woff +0 -0
  36. data/assets/fonts/font-awesome/fa-regular-400.eot +0 -0
  37. data/assets/fonts/font-awesome/fa-regular-400.svg +0 -805
  38. data/assets/fonts/font-awesome/fa-regular-400.woff +0 -0
  39. data/assets/fonts/font-awesome/fa-solid-900.eot +0 -0
  40. data/assets/fonts/font-awesome/fa-solid-900.svg +0 -5015
  41. data/assets/fonts/font-awesome/fa-solid-900.woff +0 -0
  42. data/assets/stylesheets/_font-awesome-compass.scss +0 -5
  43. data/assets/stylesheets/_font-awesome-sprockets.scss +0 -5
  44. data/assets/stylesheets/_v4-shims.scss +0 -6
  45. data/assets/stylesheets/font-awesome/_larger.scss +0 -23
  46. data/assets/stylesheets/font-awesome/_path.scss +0 -56
@@ -0,0 +1,16 @@
1
+ // sizing icons
2
+ // -------------------------
3
+
4
+ // literal magnification scale
5
+ @for $i from 1 through 10 {
6
+ .#{$fa-css-prefix}-#{$i}x {
7
+ font-size: $i * 1em;
8
+ }
9
+ }
10
+
11
+ // step-based scale (with alignment)
12
+ @each $size, $value in $fa-sizes {
13
+ .#{$fa-css-prefix}-#{$size} {
14
+ @include fa-size($value);
15
+ }
16
+ }
@@ -0,0 +1,26 @@
1
+ /*!
2
+ * Font Awesome Free 6.1.0 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
+ * Copyright 2022 Fonticons, Inc.
5
+ */
6
+ @import "functions";
7
+ @import "variables";
8
+
9
+ :root,
10
+ :host {
11
+ --#{$fa-css-prefix}-font-solid: normal 900 1em/1 "#{ $fa-style-family }";
12
+ }
13
+
14
+ @font-face {
15
+ font-family: "Font Awesome 6 Free";
16
+ font-style: normal;
17
+ font-weight: 900;
18
+ font-display: $fa-font-display;
19
+ src: url(fa-font-path("fa-solid-900.woff2")) format("woff2"), url(fa-font-path("fa-solid-900.ttf")) format("truetype");
20
+ }
21
+
22
+ .fas,
23
+ .#{$fa-css-prefix}-solid {
24
+ font-family: "Font Awesome 6 Free";
25
+ font-weight: 900;
26
+ }
@@ -1,4 +1,4 @@
1
- // Stacked Icons
1
+ // stacking icons
2
2
  // -------------------------
3
3
 
4
4
  .#{$fa-css-prefix}-stack {
@@ -6,8 +6,8 @@
6
6
  height: 2em;
7
7
  line-height: 2em;
8
8
  position: relative;
9
- vertical-align: middle;
10
- width: ($fa-fw-width*2);
9
+ vertical-align: $fa-stack-vertical-align;
10
+ width: $fa-stack-width;
11
11
  }
12
12
 
13
13
  .#{$fa-css-prefix}-stack-1x,
@@ -16,6 +16,7 @@
16
16
  position: absolute;
17
17
  text-align: center;
18
18
  width: 100%;
19
+ z-index: var(--#{$fa-css-prefix}-stack-z-index, #{$fa-stack-z-index});
19
20
  }
20
21
 
21
22
  .#{$fa-css-prefix}-stack-1x {
@@ -27,5 +28,5 @@
27
28
  }
28
29
 
29
30
  .#{$fa-css-prefix}-inverse {
30
- color: $fa-inverse;
31
+ color: var(--#{$fa-css-prefix}-inverse, #{$fa-inverse});
31
32
  }