Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@clocklimited/backline-mixins

Package Overview
Dependencies
Maintainers
8
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clocklimited/backline-mixins

A collection of useful SCSS mixins

  • 2.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
8
Created
Source

Backline Mixins

A scss port of stylus-mixins, with some added features and modernisation.

TODO:

  • Documentation in progress. For now, read test files for example usage.

Installation

npm install --save backline-mixins

or

yarn add backline-mixins

Add backline-mixins to your node-sass includePaths option.

{
  loader: 'sass-loader',
  options: {
    includePaths: [
      ...require('backline-mixins').includePaths
    ]
  }
}

Import backline-mixins in each .scss as required

@import 'backline-mixins';

Changelog

v2.0.0 removes use of / as division operator. Replaces with math.div().

As of v2.0.0 backline-mixins requires dart sass 1.23.0+ to work correctly. SASS:Math (and therefore math:div) is not available in Lib or Ruby SASS, and not on Dart before 1.23.0.

Development

Clone this repo and install dependencies. All styles have test coverage and Prettier formatting to ensure everything works as expected.

Running Tests

yarn test

Updating documentation

This project uses SassDoc to generate docs using documentation-specific comments.

To regenerate documentation, run:

yarn docs

FAQs

Package last updated on 06 Sep 2022

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