zondicons-css

1.0.3 • Public • Published

Zondicons css

A small plugin to easily use Zondicons on your front-end projects.

Install

npm -i zondicons-css

Copy the icons folder and the css to your public directory

cp ./node_modules/zondicons-css/src/svg public/zondicons
 
cp ./node_modules/zondicons-css/dist/zendicons.css public/zendicons.css

Add the css file to your view

<link href="/zendicons.css" rel="stylesheet">

Using less

    // on your main.less file
    @import './../../node_modules/zondicons-css/src/less/main.less';

Usage

You just need to add the zi zi-{icon} classes to your HTML elements:

<style>
.bg-red {
    background-color: red;
}
</style> 
 
<i class="zi zi-arrow-thin-up bg-red"></i>

Use the same icon-name from the original icons reference website: https://www.zondicons.com/icons.html

The icon-color will change depending on the element's background color.

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i zondicons-css

    Weekly Downloads

    4

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    141 kB

    Total Files

    305

    Last publish

    Collaborators

    • jeffochoa