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