slabs.css

1.0.2 • Public • Published

slabs.css

slabs.css

An automated, object-oriented SCSS framework for small and medium-sized applications.

Prerequisites

In order to use slabs.css you will need Node.js, npm, and gulp.js installed globally on your system.

Environment Setup

  1. Change directory to root folder:
cd  [project folder]
  1. Install modules and dependencies:
npm install
  1. Run gulp:
gulp

CSS File Structure

  • /1-settings: Preprocessors, fonts, variables
  • /2-tools: Mixins, functions
  • /3-generic: Resets or normalizing files
  • /4-elements: Bare HTML elements (H1, a, p, etc…)
  • /5-components: Majority of code goes here to style specific UI components
  • /6-utilities: Utilities and helper classes that have the most authority

The starter main.scss:

/* 1: Settings */
@import "partials/1-settings/settings.variables";

/* 2: Tools */
@import "partials/2-tools/tools.mixins";

/* 3: Generic */
@import "partials/3-generic/generic.reset";

/* 4: Elements */
@import "partials/4-elements/elements.page";
@import "partials/4-elements/elements.headings";
@import "partials/4-elements/elements.images";

/* 5: Components */
@import "partials/5-components/components.layout";
@import "partials/5-components/components.buttons";

/* 6: Utilities */
@import "partials/6-utilities/utilities";

Usage

npm

npm install slabs.css

Built With

Package Sidebar

Install

npm i slabs.css

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

97.7 kB

Total Files

17

Last publish

Collaborators

  • timothylong