1.0.13 • Published 12 months ago
kpmp-common-styles v1.0.13
kpmp-common-styles
The sass stylesheets used across the KPMP applications
Installation
$ npm i kpmp-common-styles --save
$ npm i sass -g
Usage
There are a couple ways to use this library:
- Import the compiled index.css onto a react page
import "kpmp-common-styles/index.css";
- Import the uncompiled sass into another sass file to allow the application library to handle sass compilation
@import "../node_modules/kpmp-common-styles/common-values.scss";
To modify
Make any changes inside of the .scss files and then convert the .scss to .css using the following command:
$ sass index.scss dist/index.css