Sign In

aurora-utilities

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurora-utilities

Sass and JavaScript utilities for all your front end projects.

latest
Source
npmnpm
Version
2.0.2
Version published
Weekly downloads
2
-88.89%
Maintainers
1
Weekly downloads
 
Created
Source

Aurora Utilities

Sass and JavaScript utilities for all your front end projects.

Features

This package is collection of helpful Sass utilities that keep you focused on building new features instead of recreating the wheel over and over.

The Sass included in this package only outputs what you use, so there is no need to worry adding bloat to your project.

Sass

Aurora Utilities comes bundled with a set of helpful Sass functions and mixins that makes writing styles a breeze.

Installation

Add Aurora Utilities as a project dependency:

npm install --save-dev aurora-utilities

Sass Usage

  • For Sass use, you'll need to add Aurora Utilities to your node-sass includePaths:

    Webpack example using sass-loader:

    {
      loader: 'sass-loader',
      options: {
        sassOptions: {
        includePaths: [
          'aurora-utilities',
        ],
        }
        sourceMap: true
      }
    }
    

    Gulp example using gulp-sass:

    gulp.task('sass', function() {
      return gulp.
        .pipe(sass( {
          includePaths: [
            'node_modules/aurora-utilities/sass',
            'node_modules/sanitize.scss'
          ]
        }))
    });
    
  • Import aurora-utilities into your main sass file:

    @import 'aurora-utilities';
    
  • Use the bundled functions and mixins as required:

    .link {
      @include link($primary, $accent);
      @include decorative-link('\u007');
    }
    

Keywords

sass

FAQs

Package last updated on 04 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts