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: 788a53b69e51aa0b8d91bdcf6c8a7f326e6df2bf2cce38714600b6a08fc98403
4
- data.tar.gz: 7c9708c7c7757b16a38c595692163e7bf60ae2ba186ace50c72d910bea3760cb
3
+ metadata.gz: 937c300888761ee2c6beeb2ff899a14432bb7bde729de62d24f3af9d487c242d
4
+ data.tar.gz: e3051e2ba3db30656a5542acdd12d478c523199410e5e791d8034662bc30cea7
5
5
  SHA512:
6
- metadata.gz: 12b85e2f0f93ef03af9a1d2608cdd4a6333253bd4b6ff347a9fc9accea1663d6a4847f77a7635a2d0240d653c788eb20f62fdd6500dcbdcc2e5893b49eb7ca6a
7
- data.tar.gz: 3cef459992ee3a6c1a2c4c66f062d6410675befc35be9f14315ff98d88c100cc5567f8a34f372b03cc14ee235ad80308a50ce94937f1525202e1b5cada2f9d2e
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?#iefix') format('embedded-opentype'),
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?#iefix') format('embedded-opentype'),
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?#iefix') format('embedded-opentype'),
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,
@@ -4,6 +4,7 @@
4
4
  $fa-sass-asset-helper: false !default;
5
5
 
6
6
  $fa-font-path: if($fa-sass-asset-helper, "font-awesome", "../fonts/font-awesome") !default;
7
+
7
8
  $fa-font-size-base: 16px !default;
8
9
  $fa-css-prefix: fa !default;
9
10
  $fa-version: "5.0.6" !default;
@@ -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-400.#{ext}"
13
+ app.config.assets.precompile << "font-awesome/fa-solid-900.#{ext}"
14
14
  end
15
15
  end
16
16
  end
@@ -1,5 +1,5 @@
1
1
  module FontAwesome
2
2
  module Sass
3
- VERSION = '5.0.6.1'.freeze
3
+ VERSION = '5.0.6.2'.freeze
4
4
  end
5
5
  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.1
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-09 00:00:00.000000000 Z
11
+ date: 2018-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass