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

@nulogy/tokens

Package Overview
Dependencies
Maintainers
7
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nulogy/tokens

Design tokens for the Nulogy Design System - http://nulogy.design

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
322
increased by10.65%
Maintainers
7
Weekly downloads
 
Created
Source

@nulogy/tokens

This is where Nulogy's design tokens are stored and converted using Style Dictionary

What are tokens?

Design tokens are the visual design atoms of the design system — specifically, they are named entities that store visual design attributes. We use them in place of hard-coded values (such as hex values for color or pixel values for spacing) in order to maintain a scalable and consistent visual system for UI development.

Adding tokens

  1. Add or update tokens in the /src/ folder
  2. Run yarn build to convert those tokens into _variables.scss for Sass and exports.js for React usage

Your application can them import and use whichever format is required.

New export formats can be added in config.js.

Usage

$ yarn add @nulogy/tokens

In JS

import * as tokens from '@nulogy/tokens' Black is: {tokens.color_base_black}

FAQs

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