font-awesome-sass 5.0.6.1 → 5.0.6.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 937c300888761ee2c6beeb2ff899a14432bb7bde729de62d24f3af9d487c242d
|
4
|
+
data.tar.gz: e3051e2ba3db30656a5542acdd12d478c523199410e5e791d8034662bc30cea7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17740b6800d2c01963df6d465acdf80e4e7d2888f841dfa80d76051e3539e212f7a57f21454783940423f910965929444dd15bf5fe1686e871147f0e9452d716
|
7
|
+
data.tar.gz: 37903f0068359c30fab4cdd62642ad39aafb1dacdc2140c89f5b4ae7ea54617fe1ead22cd07dc5e165545d71946c58767016359bb3c73676bab8d9611b582418
|
data/README.md
CHANGED
@@ -47,6 +47,8 @@ includes the sprockets assets helper Sass functions used for finding the proper
|
|
47
47
|
@import "font-awesome";
|
48
48
|
```
|
49
49
|
|
50
|
+
If `app/assets/stylesheets/application.css.scss` does not exist then rename `app/assets/stylesheets/application.css` and add the `@import` statements below the `*= require` statements but outside of the comment block.
|
51
|
+
|
50
52
|
#### Rails Helper usage
|
51
53
|
|
52
54
|
With Font Awesome 5.x you now need to select what style of icon you want to use. Font Awesome 5.x has 3 styles:
|
@@ -5,36 +5,36 @@
|
|
5
5
|
font-family: 'Font Awesome 5 Free';
|
6
6
|
font-style: normal;
|
7
7
|
font-weight: 900;
|
8
|
-
src: url('#{$fa-font-path}/fa-solid-900.eot');
|
9
|
-
src: url('#{$fa-font-path}/fa-solid-900.eot
|
10
|
-
url('#{$fa-font-path}/fa-solid-900.woff2') format('woff2'),
|
11
|
-
url('#{$fa-font-path}/fa-solid-900.woff') format('woff'),
|
12
|
-
url('#{$fa-font-path}/fa-solid-900.ttf') format('truetype'),
|
13
|
-
url('#{$fa-font-path}/fa-solid-900.svg#fontawesome') format('svg');
|
8
|
+
src: url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-solid-900.eot'), '#{$fa-font-path}/fa-solid-900.eot'));
|
9
|
+
src: url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-solid-900.eot#iefix'), '#{$fa-font-path}/fa-solid-900.eot#iefix')) format('embedded-opentype'),
|
10
|
+
url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-solid-900.woff2'), '#{$fa-font-path}/fa-solid-900.woff2')) format('woff2'),
|
11
|
+
url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-solid-900.woff'), '#{$fa-font-path}/fa-solid-900.woff')) format('woff'),
|
12
|
+
url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-solid-900.ttf'), '#{$fa-font-path}/fa-solid-900.ttf')) format('truetype'),
|
13
|
+
url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-solid-900.svg#fontawesome'), '#{$fa-font-path}/fa-solid-900.svg#fontawesome')) format('svg');
|
14
14
|
}
|
15
15
|
|
16
16
|
@font-face {
|
17
17
|
font-family: 'Font Awesome 5 Free';
|
18
18
|
font-style: normal;
|
19
19
|
font-weight: 400;
|
20
|
-
src: url('#{$fa-font-path}/fa-regular-400.eot');
|
21
|
-
src: url('#{$fa-font-path}/fa-regular-400.eot
|
22
|
-
url('#{$fa-font-path}/fa-regular-400.woff2') format('woff2'),
|
23
|
-
url('#{$fa-font-path}/fa-regular-400.woff') format('woff'),
|
24
|
-
url('#{$fa-font-path}/fa-regular-400.ttf') format('truetype'),
|
25
|
-
url('#{$fa-font-path}/fa-regular-400.svg#fontawesome') format('svg');
|
20
|
+
src: url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-regular-400.eot'), '#{$fa-font-path}/fa-regular-400.eot'));
|
21
|
+
src: url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-regular-400.eot#iefix'), '#{$fa-font-path}/fa-regular-400.eot#iefix')) format('embedded-opentype'),
|
22
|
+
url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-regular-400.woff2'), '#{$fa-font-path}/fa-regular-400.woff2')) format('woff2'),
|
23
|
+
url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-regular-400.woff'), '#{$fa-font-path}/fa-regular-400.woff')) format('woff'),
|
24
|
+
url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-regular-400.ttf'), '#{$fa-font-path}/fa-regular-400.ttf')) format('truetype'),
|
25
|
+
url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-regular-400.svg#fontawesome'), '#{$fa-font-path}/fa-regular-400.svg#fontawesome')) format('svg');
|
26
26
|
}
|
27
27
|
|
28
28
|
@font-face {
|
29
29
|
font-family: 'Font Awesome 5 Brands';
|
30
30
|
font-style: normal;
|
31
31
|
font-weight: normal;
|
32
|
-
src: url('#{$fa-font-path}/fa-brands-400.eot');
|
33
|
-
src: url('#{$fa-font-path}/fa-brands-400.eot
|
34
|
-
url('#{$fa-font-path}/fa-brands-400.woff2') format('woff2'),
|
35
|
-
url('#{$fa-font-path}/fa-brands-400.woff') format('woff'),
|
36
|
-
url('#{$fa-font-path}/fa-brands-400.ttf') format('truetype'),
|
37
|
-
url('#{$fa-font-path}/fa-brands-400.svg#fontawesome') format('svg');
|
32
|
+
src: url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-brands-400.eot'), '#{$fa-font-path}/fa-brands-400.eot'));
|
33
|
+
src: url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-brands-400.eot#iefix'), '#{$fa-font-path}/fa-brands-400.eot#iefix')) format('embedded-opentype'),
|
34
|
+
url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-brands-400.woff2'), '#{$fa-font-path}/fa-brands-400.woff2')) format('woff2'),
|
35
|
+
url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-brands-400.woff'), '#{$fa-font-path}/fa-brands-400.woff')) format('woff'),
|
36
|
+
url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-brands-400.ttf'), '#{$fa-font-path}/fa-brands-400.ttf')) format('truetype'),
|
37
|
+
url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}/fa-brands-400.svg#fontawesome'), '#{$fa-font-path}/fa-brands-400.svg#fontawesome')) format('svg');
|
38
38
|
}
|
39
39
|
|
40
40
|
.fa,
|
@@ -10,7 +10,7 @@ module FontAwesome
|
|
10
10
|
%w[eot svg ttf woff woff2].each do |ext|
|
11
11
|
app.config.assets.precompile << "font-awesome/fa-brands-400.#{ext}"
|
12
12
|
app.config.assets.precompile << "font-awesome/fa-regular-400.#{ext}"
|
13
|
-
app.config.assets.precompile << "font-awesome/fa-solid-
|
13
|
+
app.config.assets.precompile << "font-awesome/fa-solid-900.#{ext}"
|
14
14
|
end
|
15
15
|
end
|
16
16
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: font-awesome-sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.6.
|
4
|
+
version: 5.0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Travis Chase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|