Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@przeprogramowani/design-tokens

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@przeprogramowani/design-tokens

Design tokens collection for Przeprogramowani Design System

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
1
Created
Source

@przeprogramowani/design-tokens

Design Tokens are the smallest pieces of the design system — such as colors, typography, spacing, and more. They are used in place of hard-coded values to maintain a scalable and consistent visual system for UI development.

Installation

npm install @przeprogramowani/design-tokens

Usage

We provide tokens in three formats: CSS, JS and TS. You can import them in your project as needed.

CSS

To use the CSS Custom Properties from our package, add the following import to the main CSS file or to the <head> of your HTML page:

@import 'path_to_node_modules/@przeprogramowani/design-tokens/dist/css/tokens.css';

Or in JavaScript, if you use a bundler that supports CSS imports:

import '@przeprogramowani/design-tokens/dist/css/tokens.css';

JS/TS

import { ButtonTextColor } from '@przeprogramowani/design-tokens';

Keywords

design tokens

FAQs

Package last updated on 10 Apr 2024

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