Socket
Socket
Sign inDemoInstall

@gr4vy/poutine-tokens

Package Overview
Dependencies
Maintainers
4
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gr4vy/poutine-tokens

Poutine tokens contains all of the design tokens for building interfaces at Gr4vy. These are platform agnostic and exported to common formats, e.g. SCSS variables, CSS, JSON and ES6.


Version published
Weekly downloads
180
decreased by-38.98%
Maintainers
4
Weekly downloads
 
Created
Source

Poutine Tokens

Poutine tokens contains all of the design tokens for building interfaces at Gr4vy. These are platform agnostic and exported to common formats, e.g. SCSS variables, CSS, JSON and ES6.

Get Started

Install Dependencies

yarn add @gr4vy/poutine-tokens

Import (ES6)

import { ColorPositive60 } from '@gr4vy/poutine-tokens/js/tokens'

console.log(`${ColorPositive60} sparks joy 🎉`)

Import (JSON)

import tokens from '@gr4vy/poutine-tokens/json/tokens.json'

console.log(`${tokens.color.positive[80]} sparks joy 🎉`)

Import (SCSS)

@use '@gr4vy/poutine-tokens/scss/_variables.scss' as *;

.error {
  background-color: $color-negative-60;
}

FAQs

Package last updated on 20 Dec 2023

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