entypo-stylus

0.1.0 • Public • Published

Entypo Stylus

Provides pre-defined classes and functions for displaying icons using the Entypo font-face.

Installing

$ npm install entypo-stylus

Using

To use, just import the library and define the path to your fonts in your stylus stylesheets.

@import "entypo-stylus" 
 
entypo-define('Entypo', '/path/to/entypo', 'entypo')
entypo-define('Entypo Social', '/path/to/entypo-social', 'entypo-social')

And use the classes in your HTML (the icon will be added as a ::before pseudo-element):

<li class="entypo-pencil">Edit</li>

To see the names for the characters, see the Entypo Charmap.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i entypo-stylus

      Weekly Downloads

      1

      Version

      0.1.0

      License

      MIT

      Last publish

      Collaborators

      • killdream