font-awesome-sass 5.15.1 → 6.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +22 -66
- data/assets/fonts/font-awesome/fa-brands-400.ttf +0 -0
- data/assets/fonts/font-awesome/fa-brands-400.woff2 +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.ttf +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.woff2 +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.ttf +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.woff2 +0 -0
- data/assets/stylesheets/_font-awesome.scss +11 -4
- data/assets/stylesheets/font-awesome/_animated.scss +201 -5
- data/assets/stylesheets/font-awesome/_bordered-pulled.scss +13 -13
- data/assets/stylesheets/font-awesome/_brands.scss +33 -0
- data/assets/stylesheets/font-awesome/_core.scss +16 -4
- data/assets/stylesheets/font-awesome/_fixed-width.scss +2 -1
- data/assets/stylesheets/font-awesome/_functions.scss +66 -0
- data/assets/stylesheets/font-awesome/_icons.scss +8 -1459
- data/assets/stylesheets/font-awesome/_list.scss +7 -5
- data/assets/stylesheets/font-awesome/_mixins.scss +50 -34
- data/assets/stylesheets/font-awesome/_regular.scss +27 -0
- data/assets/stylesheets/font-awesome/_rotated-flipped.scss +25 -18
- data/assets/stylesheets/font-awesome/_screen-reader.scss +12 -3
- data/assets/stylesheets/font-awesome/_shims.scss +1195 -652
- data/assets/stylesheets/font-awesome/_sizing.scss +16 -0
- data/assets/stylesheets/font-awesome/_solid.scss +26 -0
- data/assets/stylesheets/font-awesome/_stacked.scss +5 -4
- data/assets/stylesheets/font-awesome/_variables.scss +4183 -780
- data/font-awesome-sass.gemspec +1 -2
- data/lib/font-awesome-sass.rb +0 -18
- data/lib/font_awesome/sass/rails/engine.rb +1 -1
- data/lib/font_awesome/sass/rails/helpers.rb +1 -0
- data/lib/font_awesome/sass/version.rb +1 -1
- metadata +12 -35
- data/assets/fonts/font-awesome/fa-brands-400.eot +0 -0
- data/assets/fonts/font-awesome/fa-brands-400.svg +0 -3717
- data/assets/fonts/font-awesome/fa-brands-400.woff +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.eot +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.svg +0 -801
- data/assets/fonts/font-awesome/fa-regular-400.woff +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.eot +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.svg +0 -5028
- data/assets/fonts/font-awesome/fa-solid-900.woff +0 -0
- data/assets/stylesheets/_font-awesome-compass.scss +0 -5
- data/assets/stylesheets/_font-awesome-sprockets.scss +0 -5
- data/assets/stylesheets/_v4-shims.scss +0 -6
- data/assets/stylesheets/font-awesome/_larger.scss +0 -23
- 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.1 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
|
-
//
|
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:
|
10
|
-
width:
|
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
|
}
|