faw_icon 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +10 -8
- data/lib/faw_icon/helper.rb +3 -0
- data/lib/faw_icon/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5005dea118faae94bd59e6ce4684d7ca5cb38cf95aee3a453ae39aff9665d6f
|
4
|
+
data.tar.gz: a9e7b52618418cbbd5b921ece6e76dcd248d6afc4d64f5061c0df1e4ba5891fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5d798712de3ca81fa93e33ae772e466f4f6acf2d2532a2308c5bc543187656d2167865d7740df7a63807fccadfab8a0b4b385d9447e94bf9b080d15f5e28a59
|
7
|
+
data.tar.gz: 557a87410b7daf5b709715f05d07750269ed327ad0dcfad747fdea53bab229eb8baa3e74cab860c99e157b1aa1b6158ffa75870b031c1780144d4ef5c7bf8d88
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -2,10 +2,7 @@
|
|
2
2
|
|
3
3
|
### Minimalistic ruby gem that exposes a tag helper for Font Awesome icon sets.
|
4
4
|
|
5
|
-
By design
|
6
|
-
https://fontawesome.com/get-started/svg-with-js.
|
7
|
-
|
8
|
-
Another great feature is that is does not bundle any icons making it super fast to download and install
|
5
|
+
By design it does not bundle any icons making it super fast to download and install
|
9
6
|
as well as providing the ability to use new icons as they become available custom ones or the PRO collection.
|
10
7
|
|
11
8
|
## Installation
|
@@ -24,12 +21,17 @@ Or install it yourself as:
|
|
24
21
|
|
25
22
|
$ gem install faw_icon
|
26
23
|
|
27
|
-
You will need to download
|
28
|
-
where you can choose
|
24
|
+
You will need to download the .zip folder from [Font Awesome](https://fontawesome.com/get-started/svg-with-js)
|
25
|
+
where you can choose either the free ones or the PRO collections
|
26
|
+
|
27
|
+
Include in your application.scss the `fontawesome/svg-with-js/css/fa-svg-with-js.css`
|
28
|
+
ideally placing in the `app/assets/stylesheets/fa-svg-with-js.css`
|
29
29
|
|
30
|
-
application.
|
30
|
+
application.scss
|
31
31
|
|
32
|
-
|
32
|
+
@import "fa-svg-with-js";
|
33
|
+
|
34
|
+
Then copy the `fontawesome/advanced-options/metadata/icons.json` in `app/assets/javascripts/icons.json`
|
33
35
|
|
34
36
|
## Usage
|
35
37
|
All options from [additional-styling](https://fontawesome.com/how-to-use/svg-with-js#additional-styling) are supported with the exception of
|
data/lib/faw_icon/helper.rb
CHANGED
data/lib/faw_icon/version.rb
CHANGED