Socket
Book a DemoInstallSign in
Socket

@nulogy/tokens

Package Overview
Dependencies
Maintainers
3
Versions
62
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

latest
Source
npmnpm
Version
6.1.1
Version published
Weekly downloads
225
-40.32%
Maintainers
3
Weekly downloads
 
Created
Source

@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.

  • Salesforce

📦 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 scss, css, or javascript values for some reason.

yarn add @nulogy/tokens

✨ Usage

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

  • nds_tokens.js for javascript constants, used by @nulogy/components and converted into theme file
  • nds_tokens.css for access to css variables
  • nds_tokens.d.ts for TypeScript declarations

💬 Questions

FAQs

Package last updated on 10 Mar 2025

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