px-starter-kit-design
The Predix UI Starter Kit is one of Predix's meta kits and simply ties together a few key dependencies that are usually the starting point for any new project. It is a fork of inuitcss' starter-kit.
The Starter Kit specifically contains Px and inuitcss default variables and mixins, as well as Nicolas Gallagher’s Normalize.css, global box-sizing
, and viewport rules.
Additionally, the Starter Kit includes unobtrusive helper and trump classes for use within a project. This enables by default utilities to help with responsive implementation and micro spacing strategies.
Dependencies
Strictly speaking, the px-starter-kit-design
module is just a collection of dependencies and nothing else. There is no Sass file, just modules you can import into your project as a starting point.
Installation
$ bower install --save-dev https://github.com/PredixDev/px-starter-kit-design.git
Usage
Use the following as a template for your Sass file. Inside this template,the modules must be imported in the following order (read more about why the order matters):
// Settings
@import "px-colors-design/_settings.colors.scss";
// Tools
// Generic
@import "px-normalize-design/_generic.normalize.scss";
@import "px-box-sizing-design/_generic.box-sizing.scss";
@import "px-helpers-design/_generic.helpers.scss";
// Base
@import "px-flexbox-design/_base.flexbox.scss";
@import "px-viewport-design/_base.viewport.scss";
// Meta
// Objects
// Component
// Your css goes in here
// Trumps
@import "px-spacing-responsive-design/_trumps.spacing-responsive.scss";
@import "px-widths-responsive-design/_trumps.widths-responsive.scss";