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

simple-colors-scss-helpers

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-colors-scss-helpers

A small set of helpers / mixins for simple-colors-scss

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

simple-colors-scss-helpers

Simple-colors-scss-helpers are some mixins and utilities that provide support for simple-colors-scss.

version size stats

Installation

Install the package via NPM:

npm install simple-colors-scss-helpers --save

Import the NPM package in your stylesheet after simple-colors-scss:

@import 'your_project/node_modules/simple-colors-scss/core';
@import 'your_project/node_modules/simple-colors-scss-helpers/helpers';

Helper mixins

Helper mixins are included for some simple tasks like setting backgrounds, text- and border colors and adding modularity.

color()

Sets color attribute with $key:

  @include color('white');

bg()

Sets background-color attribute:

  @include bg('white');

border-color()

Sets border-color attribute:

  @include border-color('white');
  // or
  @include b-color('white');

shadow()

Sets box-shadow attribute:

  @include shadow('white');

Keywords

FAQs

Package last updated on 15 Sep 2019

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