Skip to content

rolfcleveringa/scss-utilities

Repository files navigation

scss-utilities

NPM License: MIT

A collection of Sass functions and mixins.

Please don't use this package yet. For now it's just to test some things with npm packages.

Installation

NPM

In the command line with NPM:

npm install scss-utilities --save-dev

Sass

Import the Sass package at the top of your main Sass file:

// Import the package in
@use "scss-utilities" as *;

Depending on your setup, you may need to include the full path name:

@use "../node_modules/scss-utilities/scss-utilities" as *;

Note: please make sure you add the correct path. It may be you have your sass file in a subdirectory.

Usage

scss-utilities is a collection of usefull mixins and functions. You can use them directly in your own code.

@use "scss-utilities" as *;

ul {
    @include list-unstyled();
}

In order to prevent naming conflicts, you can also prefix the package, like so:

@use "scss-utilities" as su;

ul {
    @include su.list-unstyled();
}

Support

  • Create a GitHub issue for bug reports and feature requests.

License

This project is licensed under the MIT License. See the LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages