Compare commits

..

6 Commits

Author SHA1 Message Date
8926f5fb9b fix: Fix adding unwanted class 'null' 2017-08-04 15:33:11 -07:00
f72c5dd215 docs: Add npm install instructions 2017-08-01 12:18:57 -07:00
43dbba3a0a docs: Fix npm link 2017-08-01 12:15:56 -07:00
dc2410025f docs: Update README.md 2017-08-01 12:10:26 -07:00
365b5d13d5 docs: Add Travis badge to README.md 2017-08-01 11:36:04 -07:00
2ac73d6167 fix: Fix bold icon 2017-07-30 00:41:06 -07:00
3 changed files with 13 additions and 4 deletions

View File

@ -1,10 +1,19 @@
# Feather
[![Travis branch](https://img.shields.io/travis/colebemis/feather/master.svg?style=flat-square)](https://travis-ci.org/colebemis/feather)
[![npm](https://img.shields.io/npm/v/feather-icons.svg?style=flat-square)](https://www.npmjs.com/package/feather-icons)
[![npm](https://img.shields.io/npm/dm/feather-icons.svg?style=flat-square)](https://npm-stat.com/charts.html?package=feather-icons&from=2017-06-01)
[![Code Climate](https://img.shields.io/codeclimate/github/colebemis/feather.svg?style=flat-square)](https://codeclimate.com/github/colebemis/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

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6,4V20h9a4,4,0,0,0,4-4h0a4,4,0,0,0-4-4H14a4,4,0,0,0,4-4h0a4,4,0,0,0-4-4Z" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6,4h8a4,4,0,0,1,4,4h0a4,4,0,0,1-4,4H6Z" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/><path d="M6,12h9a4,4,0,0,1,4,4h0a4,4,0,0,1-4,4H6Z" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/></svg>

Before

Width:  |  Height:  |  Size: 264 B

After

Width:  |  Height:  |  Size: 372 B

View File

@ -41,7 +41,7 @@ function replaceElement(element, options) {
return;
}
const elementClassAttr = element.getAttribute('class');
const elementClassAttr = element.getAttribute('class') || '';
const classNames = (
options.class ? `${options.class} ${elementClassAttr}` : elementClassAttr
);