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

@netlify/netlify-design-tokens

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netlify/netlify-design-tokens

Repo contains Netlify's design tokens for sharing across products and repos

1.1.0
98

Supply Chain Security

100

Vulnerability

100

Quality

100

Maintenance

100

License

Version published
Weekly downloads
0
Maintainers
15
Weekly downloads
 
Created

Netlify Design Tokens

Repo contains Netlify's design tokens for sharing across products and repos. These tokens are co-owned by Netlify's Engineering and Marketing teams.

Install

Clone this repository, then run:

npm install

Build

Changes should be made to relevant files in the tokens folder.

Once tokens have been updated, you'll need to generate updated css files (which live in the dist/css folder).

npm run build:styles

Publish to npm

To use the updated tokens from a build, you'll need to publish a new version of the package to the npm registry.

Follow the npm docs for updating the package version and publishing.

Usage

Install the package in the project of your choice:

npm install @netlify/netlify-design-tokens

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

FAQs

Package last updated on 14 Apr 2021

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