🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@netlify/netlify-design-tokens

Package Overview
Dependencies
Maintainers
19
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netlify/netlify-design-tokens

Netlify's design tokens for sharing across products and repos

3.2.0
Source
npm
Version published
Weekly downloads
71K
6.63%
Maintainers
19
Weekly downloads
 
Created
Source

Netlify Design Tokens NPM version

Usage

Install the package in the project of your choice:

yarn add -D @netlify/netlify-design-tokens

From there, you may import any of the dist files into your codebase for reuse as desired:

CSS

@import '@netlify/netlify-design-tokens/dist/css/colors';

:root {
  --colorBlack: var(--color-black-default);
}

SCSS

@import '@netlify/netlify-design-tokens/dist/scss/colors';


$black: $color-black-default;

Javascript

import tokens from '@netlify/netlify-design-tokens';

const black = tokens.color.black.default;

FAQs

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