A CSS framework for consistent sizing, spacing and typography.
Please see the full documentation for demos and details.
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:
/* Example of Kingdom CSS usage */// 1: Set your variables first// For this example we have just picked a primary color:;// 2: Import the level of Kingdom you want:;// 3: Optionally import the Kingdom utility classes you want:;;// ...// 4: Optionally import any Kingdom extensions you want:;// .../* 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// ...