Socket
Socket
Sign inDemoInstall

@kaizen/design-tokens

Package Overview
Dependencies
Maintainers
4
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kaizen/design-tokens - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [2.0.2](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/design-tokens@2.0.1...@kaizen/design-tokens@2.0.2) (2020-07-10)
**Note:** Version bump only for package @kaizen/design-tokens
## [2.0.1](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/design-tokens@2.0.0...@kaizen/design-tokens@2.0.1) (2020-07-09)

@@ -8,0 +16,0 @@

4

package.json
{
"name": "@kaizen/design-tokens",
"description": "Tokens used in the Kaizen Design System",
"version": "2.0.1",
"version": "2.0.2",
"homepage": "https://github.com/cultureamp/kaizen-design-system/tree/master/packages/design-tokens",

@@ -30,3 +30,3 @@ "repository": {

},
"gitHead": "1b0d7ac6427521543517ec5064c21eab20a7ebc5"
"gitHead": "8f29c959a633c82d8939bc00562909312c3c95a6"
}
# Kaizen Tokens
Design tokens for all platforms.
## About
Design Tokens are the heart of every Design System. The tokens represented here are platform-agnostic (JSON), as this will help us contribute to & facilitate the maintenance of living style guides. This package defines all the option tokens in Kaizen.
Design tokens are named and stored visual design traits, including colors, typography, and animation timings. Design Tokens are the heart of every Design System.
The tokens represented here are platform-agnostic (JSON), as this will help us contribute to & facilitate the maintenance of living style guides. This package defines all the option tokens in Kaizen.
- **Option tokens** offer options. For example, `$kz-color-wisteria-500: #898ba9;` is one color option available.
- **Decision tokens** communicate decisions about when to apply an option token to a context. For example, the color used for text is a decision.
In its current state this package supports Sass and Less variables, generated from a JSON tokens file.

@@ -12,2 +19,3 @@

## Installation
```

@@ -18,3 +26,5 @@ yarn add @kaizen/design-tokens

## Usage
### Sass
```

@@ -26,2 +36,3 @@ ## Note helper functions are provided

### Less
```

@@ -32,3 +43,4 @@ ## Note helper functions are provided

### Javascript
### JavaScript
```

@@ -39,12 +51,15 @@ import * as tokens from @kaizen/design-tokens/tokens/[color/depth/layout/spacing/typography]

## Where possible, we keep things unitless.
When adding support for another target the transformation should add the appropriate unit to the artefact. For example, converting typography sizes to Sass/Less should add REM.
### Web
All values in tokens are represented as rem, em or px.
* Use REMs for sizes and spacing (grid).
* Use EMs for media queries.
* Use px for borders.
* Use REMs for sizes and spacing (grid).
* Use EMs for media queries.
* Use px for borders.
## Contributing
See [CONRTIBUTING.md](https://github.com/cultureamp/kaizen-design-system/blob/master/packages/design-tokens/CONTRIBUTING.md)
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