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

@nulogy/tokens

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


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

@nulogy/tokens

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

npm (scoped)

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.

📦 Installation

⚠️ Note that this package is primarily designed to be used by @nulogy/components and @nulogy/css. You probably shouldn't be pulling this into an application, unless you need access to raw sass, css, or javascript values for some reason.

yarn add @nulogy/tokens

✨ Usage

After installing, you'll have access to three variable files:

  • _variables.scss for sass variables, used by @nulogy/css
  • _exports.js for javascript constants, used by @nulogy/components and converted into theme file
  • variables.css for access to css variables

💬 Questions

FAQs

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