seed-progress-bar

0.0.2 • Public • Published

seed-progress-bar Build Status npm version

Progress bar component pack for Seed!

Install

npm install seed-progress-bar --save

Basic Usage

SCSS

This seed pack needs to be imported into your sass pipeline. Below is an example using Gulp:

var gulp = require('gulp');
var sass = require('gulp-sass');
var pack = require('seed-progress-bar');
 
gulp.task('sass', function () {
  return gulp.src('./sass/**/*.scss')
    .pipe(sass({
      includePaths: pack
    }))
    .pipe(gulp.dest('./css'));
});

Once that is setup, simply @import seed-progress-bar as needed in your .scss file:

// Packs 
@import "pack/seed-progress-bar/_index";

Options

The following variables can be found in _config.scss

// Namespaces 
$seed-progress-bar-namespace: c-progress-bar !default;
$seed-progress-bar-bar-namespace: #{$seed-progress-bar-namespace}__bar !default;
 
 
// Configs 
$seed-progress-bar-background-color: #E3E8EB !default;
$seed-progress-bar-border-radius: 3px !default;
$seed-progress-bar-color: #3197D6 !default;
$seed-progress-bar-height: 16px !default;
$seed-progress-bar-transition: width 0.5s ease;
 
$seed-progress-bar-sizes: (
  lg: 24px,
  md: 16px,
  sm: 8px,
  xs: 4px
!default;

Package Sidebar

Install

npm i seed-progress-bar

Weekly Downloads

272

Version

0.0.2

License

MIT

Last publish

Collaborators

  • itsjonq