2017 © Pedro Peláez
 

library kingdom-css

A CSS framework for consistent sizing, spacing and typography.

image

bjuppa/kingdom-css

A CSS framework for consistent sizing, spacing and typography.

  • Tuesday, May 29, 2018
  • by bjuppa
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • Vue
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Kingdom

A CSS framework for consistent sizing, spacing and typography., (*1)

Please see the full documentation for demos and details., (*2)

Installation via npm

npm install kingdom-css

Usage in Sass

Import the stuff you want, just make sure the paths are right for your own file structure:, (*3)

/* Example of Kingdom CSS usage */

// 1: Set your variables first
// For this example we have just picked a primary color:
$colors: (primary: rgb(71, 40, 43));

// 2: Import the level of Kingdom you want:
@import "../node_modules/kingdom-css/src/L3-rhythm";

// 3: Optionally import the Kingdom utility classes you want:
@import "../node_modules/kingdom-css/src/utilities/spacing";
@import "../node_modules/kingdom-css/src/utilities/sizing";
// ...

// 4: Optionally import any Kingdom extensions you want:
@import "../node_modules/kingdom-css/src/extensions/forms";
// ...

/* Done! Now complete the masterpiece with your own Sass! */

// You may extend the placeholders Kingdom provides,
// as well as any mixins or functions from Kingdom's modules.

// Here's a quick example of a card component you could write:
.my-card {
  @extend %border;
  @include space-inside();
}
// ...

The Versions

29/05 2018

dev-master

9999999-dev

A CSS framework for consistent sizing, spacing and typography.

  Sources   Download

MIT

19/04 2018

v0.2.0

0.2.0.0

A CSS framework for consistent sizing, spacing and typography.

  Sources   Download

MIT

29/03 2018

dev-nuxt

dev-nuxt

A CSS framework for consistent sizing, spacing and typography.

  Sources   Download

MIT