Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

seed-table

0.0.4 • Public • Published

seed-table Build Status npm version dependencies Status

Table component pack for Seed!

Install

npm install seed-table --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-table');
 
gulp.task('sass', function () {
  return gulp.src('./sass/**/*.scss')
    .pipe(sass({
      includePaths: pack
    }))
    .pipe(gulp.dest('./css'));
});

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

// Packs 
@import "pack/seed-table/_index";

Options

The following variables can be found in _config.scss

// Namespaces 
$seed-table-namespace: c-table !default;
 
// Configs 
$seed-table-background-color-hover: #F1F3F5 !default;
$seed-table-background-color-striped: #F9FAFA !default;
$seed-table-border-color: #E3E8EB !default;
$seed-table-border-width: 1px !default;
$seed-table-th-border-width: 1px !default;
 
$seed-table-padding-sizes: (
  md: 12px,
  sm: 8px,
  xs: 4px
!default;

install

npm i seed-table

Downloadsweekly downloads

24

version

0.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability