Socket
Book a DemoInstallSign in
Socket

icomoon-scss-mixins

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

icomoon-scss-mixins

Small mixin utilities for using IcoMoon sets with SCSS

1.0.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

icomoon-scss-mixins

Simple SCSS mixins to enable working with IcoMoon icon sets in a little more performant way, whilst also being easier to use.

Installation

This module is on npm, so feel free to grab from there:

$ npm i icomoon-scss-mixins

Examples

// import the mixins to your project SCSS setup
@import '../node_modules/icomoon-scss-mixins/scss/mixins.scss';

// define the name of your font, the path to your font, and the icons
@include icomoon('my-fonts', '../fonts/my-fonts', (
  arrow-right: "\e900",
  arrow-left: "\e901"
  // etc...
))

The path to your font should be the path to the icomoon resources (eot, svg, ttf, woff), just without any of the extensions provided (as they'll be loaded automatically).

Keywords

scss

FAQs

Package last updated on 03 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.