Skip to content

A small plugin to easily use zondicons in your front-end projects.

Notifications You must be signed in to change notification settings

jeffochoa/zondicons-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A small plugin to easily use zondicons in your front-end projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published