faw_icon 1.0.0 → 1.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 +6 -3
- data/lib/faw_icon/helper.rb +2 -0
- data/lib/faw_icon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b69d366739f42aafd6f92431f5ae8a1ee59535cfc9fa91e5e8ac66a22049741
|
4
|
+
data.tar.gz: a154a2060a44811bb507320c3884363cb6a8334a93b08e5429a0e5e9f04922fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d989553d5322b1850732ca0c067c26553274b1c1ad88e4caed3203f31e2a6077fe55f6a184e350afbc2048b9fc6ee9e886007718dbeb77c029bd7e4f5d424fe3
|
7
|
+
data.tar.gz: eda0ed8cb67f58528b1ecd1b014fa89d7528b554fc34561a1e27a4e5deadfd46431822684328459bb065ecfc30c6b77462984c2d2332c963373fffa4f1fc033e
|
data/README.md
CHANGED
@@ -101,7 +101,7 @@ A mapping for the properties has been introduced in an attempt to make them more
|
|
101
101
|
|
102
102
|
| Original property | Mapped property | Required | Original value | Mapped value | Type |
|
103
103
|
|-------------------|-----------------|----------|--------------------|------------------------------|---------|
|
104
|
-
| class | style | yes | fas, far, fal, fab | solid, regular, light, brand | string |
|
104
|
+
| class | style | yes | fas, far, fal, fab, fad | solid, regular, light, brand, duotone | string |
|
105
105
|
| class | name | yes | fa-user | user | string |
|
106
106
|
| class | fixed_width | no | fa-fw | true | boolean |
|
107
107
|
| class | spin | no | fa-spin | true | boolean |
|
@@ -120,10 +120,13 @@ Then just use them like this
|
|
120
120
|
<%= faw_icon 'light', 'info', {fixed_width: true} %>
|
121
121
|
<%= faw_icon 'regular', 'sync', {spin: true} %>
|
122
122
|
<%= faw_icon 'brand', 'android', {transform: 'grow-5'} %>
|
123
|
+
<%= faw_icon 'duotone', 'abacus' %>
|
123
124
|
|
124
125
|
Bear in mind that the `brand` icons only come in one style called `brand`(!)
|
125
|
-
and the rest come in
|
126
|
-
Find them all in the [gallery](https://fontawesome.com/icons?d=gallery)
|
126
|
+
and the rest come in four variations but not all are available in the free collection.
|
127
|
+
Find them all in the [gallery](https://fontawesome.com/icons?d=gallery)
|
128
|
+
|
129
|
+
Note: Duotone style works just like all other icons, just use the 'duotone' style property.
|
127
130
|
|
128
131
|
## Contributing
|
129
132
|
|
data/lib/faw_icon/helper.rb
CHANGED
data/lib/faw_icon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faw_icon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alexwebgr
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|