@codedrop/icon
v0.1.8
Published
icon component
Downloads
27
Readme
@codedrop/icon
icon styles.
Installation
npm install @codedrop/icon --save-dev
How to use
CSS
- PostCSS workflow:
@import '@codedrop/icon';
- Native CSS:
@import url('dist/icon.css');
- Link tag:
<link href="dist/icon.css" rel="stylesheet" type="text/css">
Developer notes
To use with default values:
@import '@codedrop/icon';
To override variables in a project:
@import '@codedrop/constants';
@import 'path/to/local/project/vars.css';
@import '@codedrop/icon/src/_icon.css';
.icon {
/* Overrides */
}