@littlemissrobot/sass-container
v2.0.21
Published
Little Miss Robot container setup providing classes to define multiple container elements that apply a reusable max-width
Downloads
118
Readme
Little Miss Robot - Sass container (DEV)
This repository provides a configuration object, to generate classes for a "container" layout. The container layout set a maximum width on content and centers it with spacing on the left and the right.
Setup
- Install the dependencies:
npm install
- Start the development environment:
npm run start
Scripts
| Command | Description |
| --------------- | ----------------------------------------------------------------------------------------------------------- |
| npm run start
| Start the development environment where Sass starts compiling the tests/index.scss file to the dist folder. |
| npm run lint
| Use stylelint to lint sass and css to check if everything is formatted correctly. |
Structure
| Folder | Description |
| ------------------------ | --------------------------------------------------------------------------- |
| lib
| Contains all the code that should be published to NPM as a package. |
| tests.html, tests.scss
| Testing files during development of the package, should never be published. |