seed-input-addons

Input addon component pack for Seed

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
seed-input-addons
100.0.55 years ago6 years agoMinified + gzip package size for seed-input-addons in KB

Readme

seed-input-addons Build Status npm version
Input addons component pack for Seed!

Install

npm install seed-input-addons --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 = require('gulp');
var sass = require('gulp-sass');
var pack = require('seed-input-addons');

gulp.task('sass', function () {
  return gulp.src('./sass/**/*.scss')
    .pipe(sass({
      includePaths: pack
    }))
    .pipe(gulp.dest('./css'));
});

Once that is setup, simply @import seed-input-addons as needed in your .scss file:
// Packs
@import "pack/seed-input-addons/_index";

Options

The following variables can be found in _config.scss
// Namespaces
$seed-input-addons-input-addon-namespace: c-input-addon !default;
$seed-input-addons-input-static-namespace: c-input-static !default;

// Configs
$seed-input-addons-input-addon-background-color: #F1F3F5 !default;