0.2.0 • Published 6 years ago

captain-icons v0.2.0

Weekly downloads
4
License
CC-BY-SA-4.0
Repository
github
Last release
6 years ago

Captain Icons

A npm package that easily provides the awesome Captain Icon's +350 FREE vector icons to empower your mobile and designs.

npm

Installation

1. Add the library to your project

$ npm i captain-icon
$ yarn add captain-icon

2. Reference the fonts on the HTML's head

<head>
  <link href="path/to/dist/captain-icons.css" rel="stylesheet">
</head>

Usage

<i class="cap-icon ci-camera"></i>

Cheat Sheet

For details and embeddings codes, click here.

Configuration

The following variables are allowed to be set externally:

VariableDescriptionDefault value
$captain-icon-selectorDefines main icon selectorcap-icon
$captain-icon-slugDefines the icon selectorci
$captain-icon-font-pathDefines the fonts' pathweb-fonts

How to contribute

Code of Conduct

Everyone interacting in the Captain-Icons project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

License

The package is available as open source under the terms of the CC BY-SA 4.0.

Copyright

(c) Designed by Mario del Valle. Licensed under the CC BY-SA 4.0.