evil_icons 1.7.6 → 1.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +3 -3
- data/assets/evil-icons.css +1 -0
- data/assets/evil-icons.js +1 -1
- data/lib/evil_icons/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e0e4d32b50518dd330dbc6691b7f19f3b78c94db
|
|
4
|
+
data.tar.gz: fec40eebe5611ed8749c6ff43dbe0975c04667ef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6bb3b2c655879006bd366e88ace8748b9f432f619862cd8da50e59d8bf3de98ed1351ef82f729115b01ff455db3683eafac5a3814d284bafe0217749eca6bfed
|
|
7
|
+
data.tar.gz: 1b3de34060e8cb890469b5c139a3218605342540beb9af989221664195e7d0b316e434f6846a2a0cf02eefbb1f4283aea7e4b8f625e2ba2fe3b6f5c6fd6ad6fb
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -181,14 +181,14 @@ Use the [React component](https://github.com/saulhoward/react-evil-icons).
|
|
|
181
181
|
|
|
182
182
|
### Styling
|
|
183
183
|
|
|
184
|
-
Every icon has the `.icon` class and its modifier including the icon name. For example, the
|
|
184
|
+
Every icon has the `.icon` class and its modifier including the icon name. For example, the Facebook icon has the `.icon--ei-sc-facebook` modifier.
|
|
185
185
|
|
|
186
|
-
|
|
186
|
+
Also, an icon may have a size modifier. But we do recommend to change the size using helper's `size` parameter instead. Evil Icons have some predefined sizes: `s` (25x25, default), `m` (50×50), `l` (100×100), `xl` (150×150) and `xxl` (200×200). You may want to add more sizes, we recommend keeping the sizes multiple to 25.
|
|
187
187
|
```js
|
|
188
188
|
icons.icon("ei-arrow-right", {size: "m"})
|
|
189
189
|
```
|
|
190
190
|
|
|
191
|
-
Also you may want to add a custom class for an icon.
|
|
191
|
+
Also, you may want to add a custom class for an icon.
|
|
192
192
|
You can do this using the `class` parameter:
|
|
193
193
|
```js
|
|
194
194
|
icons.icon("ei-envelope", {class: "custom-class"})
|
data/assets/evil-icons.css
CHANGED
data/assets/evil-icons.js
CHANGED
data/lib/evil_icons/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: evil_icons
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexander Madyankin
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-
|
|
12
|
+
date: 2015-07-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: nokogiri
|