Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 687 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 687 Bytes

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:

  1. Import the compiled index.css onto a react page
import "kpmp-common-styles/index.css";
  1. 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