seed-color-scheme
Color scheme system pack for Seed!
Install
npm install seed-color-scheme --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-color-scheme as needed in your .scss
file:
// Packs
Usage
Adding colors
Add colors to the global color scheme by using the _color
mixin:
// My awesome custom color scheme ); // Add my colors to the global color scheme
Using colors
After you've successfully added/defined colors in your color scheme, use the _color
function to use the color:
}
Default color scheme
Since v0.1.0, seed-color-scheme provides a default color scheme with default namespaces.
// Base )); // Colors // Primary 100: 200: 300: 400: 500: 600: 700: 800: 900: ), 200: 300: 400: 500: 600: 700: 800: ), 200: 300: 400: 500: 600: 700: 800: ), // Secondary 100: 200: 300: 400: 500: 600: 700: 800: 900: ), 100: 200: 300: 400: 500: 600: 700: 800: 900: ), 100: 200: 300: 400: 500: 600: 700: 800: 900: ), 100: 200: 300: 400: 500: 600: 700: 800: 900: ), 100: 200: 300: 400: 500: 600: 700: 800: 900: ),), // Namespace: Brand ),), // Namespace: Background ), ),), // Namespace: Border ), ),), // Namespace: Text ),), // Namespace: Link ),), // Namespace: States ), ), ), ), ), ),),