@2ui/sass

UI Tools: Sass

Usage no npm install needed!

<script type="module">
  import 2uiSass from 'https://cdn.skypack.dev/@2ui/sass';
</script>

README

2ui-sass

UI Tools, Sass

Local Dev

To output main.css, and watch for changes

npm start

To generate Sassdocs, and open in a browser (no auto reload, and need to build after every change)

npm run sassdoc

Usage

To use in your project

npm install --save @2ui/sass

Include CSS in your Sass file

This will depend on your configuration, but something like this

@import "~@2ui/sass";

Include Sass in your Sass file

If you want to use the functions in your Sass file

@import "~@2ui/sass/src/lib";

And you can override existing variables before importing, because variables are declared using Sass !default