New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jjwesterkamp/sass-utils

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jjwesterkamp/sass-utils

Generic SCSS utilities for web projects.

  • 3.0.0-beta1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
30
decreased by-61.54%
Maintainers
1
Weekly downloads
 
Created
Source

@jjwesterkamp/sass-utils npm version

Generic SCSS utilities for web projects. This package provides several utilities in the form of sass mixins that help with writing common repetitive CSS rule sets. View changelog.

Installation

Install the package from npm:

$ npm install --save-dev @jjwesterkamp/sass-utils

Usage

1. Setup required SCSS variables

A few variables are required by this package. Copy the config file into your project, and modify the variables to your needs. Then import it into your SCSS project:

@import 'sass-utils.config';

2. Import functions & mixins

To get started quickly import the index files importing all functions and mixins:

@import 'sass-utils.config';

@import '~@jjwesterkamp/sass-utils/scss/functions.index';
@import '~@jjwesterkamp/sass-utils/scss/mixins.index';

Alternatively you may import only the specific mixins that you need:

@import "~@jjwesterkamp/sass-utils/scss/mixins/absolute-block-pseudo";
@import "~@jjwesterkamp/sass-utils/scss/mixins/absolute-overlay";
@import "~@jjwesterkamp/sass-utils/scss/mixins/autofill-style";
// ...

License

The MIT licence (MIT). See the license file for more information.

Keywords

FAQs

Package last updated on 26 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc