mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
8926f5fb9b | |||
f72c5dd215 | |||
43dbba3a0a | |||
dc2410025f | |||
365b5d13d5 |
13
README.md
13
README.md
@ -1,10 +1,19 @@
|
|||||||
# Feather
|
# Feather
|
||||||
|
|
||||||
|
[](https://travis-ci.org/colebemis/feather)
|
||||||
|
[](https://www.npmjs.com/package/feather-icons)
|
||||||
|
[](https://npm-stat.com/charts.html?package=feather-icons&from=2017-06-01)
|
||||||
|
[](https://codeclimate.com/github/colebemis/feather)
|
||||||
|
|
||||||
## What is Feather?
|
## What is Feather?
|
||||||
|
|
||||||
Feather is a collection of **simply beautiful open source icons**. Each icon is designed on a 24x24 grid with an emphasis on simplicity, consistency and legibility.
|
Feather is a collection of **simply beautiful open source icons**. Each icon is designed on a 24x24 grid with an emphasis on simplicity, consistency and readability.
|
||||||
|
|
||||||
[feathericons.com](https://feathericons.com)
|
**[feathericons.com](https://feathericons.com)**
|
||||||
|
|
||||||
|
```
|
||||||
|
npm install feather-icons
|
||||||
|
```
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ function replaceElement(element, options) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const elementClassAttr = element.getAttribute('class');
|
const elementClassAttr = element.getAttribute('class') || '';
|
||||||
const classNames = (
|
const classNames = (
|
||||||
options.class ? `${options.class} ${elementClassAttr}` : elementClassAttr
|
options.class ? `${options.class} ${elementClassAttr}` : elementClassAttr
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user