Skip to content

gyselroth/icon-collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVG icon collection

npm GitHub release GitHub license

This library provides an icon collection based on svg.

Installation

npm --save install @gyselroth/icon-collection

Documentation & Overview

Please visit the docs.

Usage example

<div class="gr-icon gr-i-file"></div>

Colorize your icons

You can use an icon with any color you like. If you do you have to switch from the css class gr-icon to gr-mask-icon. An icon with gr-mask-icon takes the color from background-color.

<div style="background-color: #F01;" class="gr-mask-icon gr-i-file"></div>

Browser Support

If you want to use color masks, please see browser support for css masks.