@siimple/libdeprecated

Core scss library for siimple

Usage no npm install needed!

<script type="module">
  import siimpleLib from 'https://cdn.skypack.dev/@siimple/lib';
</script>

README

@siimple/lib

npm npm npm Join us on Gitter

@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.