seed-badge
Badge component pack for Seed!
Install
npm install seed-badge --save
Documentation
Check out our documentation of this pack.
Basic Usage
SCSS
This seed pack needs to be imported into your sass pipeline. Below is an example using Gulp:
var gulp = ;var sass = ;var pack = ; gulp;
Once that is setup, simply @import
seed-badge as needed in your .scss
file:
// Packs ;
Options
The following variables can be found in _config.scss
// Namespace ; // Border ; // Colors ;; // Font ;;; // Padding ; // Config for state prefix // options: true || false // if true, then badge states will compile with the defined state prefix // Default is ".is-" // Example: // .is-success { // ... // } ;;