Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/outpunk/evil-icons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Madyankin <alexander@madyankin.name>2015-06-05 12:30:14 +0300
committerAlexander Madyankin <alexander@madyankin.name>2015-06-05 12:30:14 +0300
commit96bbaaffc5ce75463e5dcfe192b437bf3577f6d2 (patch)
treeecd5f0765852aea97d429cdf3c7c78f9debf54be
parent2828551083d61d3a3293f0842f7a848095484076 (diff)
Update README.md
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 704e762..6768739 100644
--- a/README.md
+++ b/README.md
@@ -181,14 +181,14 @@ Use the [React component](https://github.com/saulhoward/react-evil-icons).
### Styling
-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.
+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.
-In addition, 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 to keep the sizes multiple to 25.
+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.
```js
icons.icon("ei-arrow-right", {size: "m"})
```
-Also you may want to add a custom class for an icon.
+Also, you may want to add a custom class for an icon.
You can do this using the `class` parameter:
```js
icons.icon("ei-envelope", {class: "custom-class"})