README
@siimple/lib
@siimple/lib is the core scss library for the siimple ecosystem.
Installation
Install @siimple/lib using npm:
$ npm install --save @siimple/lib
Usage
Import this library as a module in your .scss
files using the @use rule. There is a basic example:
@use "@siimple/lib" as siimple;
.button {
background-color: siimple.$primary;
color: siimple.$white;
}
You can override the default variables defined in the library. Check the configuring modules section of the Sass documentation.
@use "@siimple/lib" as siimple with (
$primary: #000000
);
.button {
background-color: siimple.$primary;
color: siimple.$white;
}
License
Code copyright 2020 Josemi Juanes. Code released under the MIT license.