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

@puppet/sass-variables

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@puppet/sass-variables

Puppet Sass Variables is a set of public Sass variables corresponding to Puppet Design System color palettes, typography, borders, and spacing.

  • 1.4.1
  • npm
  • Socket score

Version published
Weekly downloads
659
increased by134.52%
Maintainers
2
Weekly downloads
 
Created

Puppet Sass Variables

Puppet Sass Variables is a set of public Sass variables corresponding to Puppet Design System color palettes, typography, borders, and spacing.

sass-variables

To use public Sass variables, add @puppet/sass-variables to your project:

npm install @puppet/sass-variables

Reference the public variables from your Sass files:

@import '~@puppet/sass-variables/index';

.my-text {
  color: $puppet-amber;
}
@import '~@puppet/sass-variables/index';

.my-class {
  @include puppet-type-body(subtle);

  background-color: $puppet-n200;
  border: $puppet-common-border;
}

See the Sass files for a complete list of common variables and mixins (e.g. _common.scss, _typography.scss, and color _palettes.scss )

FAQs

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