@kaizen/design-tokens
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.2.0](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/design-tokens@1.1.0...@kaizen/design-tokens@1.2.0) (2020-02-18) | ||
### Features | ||
* regenerate design token scss and less files ([#286](https://github.com/cultureamp/kaizen-design-system/issues/286)) ([8570bbb](https://github.com/cultureamp/kaizen-design-system/commit/8570bbb)) | ||
# [1.1.0](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/design-tokens@1.0.0...@kaizen/design-tokens@1.1.0) (2020-02-18) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@kaizen/design-tokens", | ||
"description": "Tokens used in the Kaizen Design System", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"homepage": "https://github.com/cultureamp/kaizen-design-system/tree/master/packages/component-library", | ||
@@ -30,3 +30,3 @@ "repository": { | ||
}, | ||
"gitHead": "e727370cd958996b752ea5eb75e074fb893d5088" | ||
"gitHead": "037373b9ee1ea6e31bc84568ab1e57363f599c75" | ||
} |
@@ -5,7 +5,7 @@ # Kaizen Tokens | ||
## 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 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. | ||
In its current state this package supports Sass and Less variables, generated from a JSON tokens file. | ||
In its current state this package supports Sass and Less variables, generated from a JSON tokens file. | ||
**Please note** that the helpers in this package are specifically for accessing and using these design tokens. Component-specific helpers are best suited for kaizen-component-library. | ||
**Please note** that the helpers in this package are specifically for accessing and using these design tokens. Component-specific helpers are best suited for kaizen-component-library. | ||
@@ -30,3 +30,3 @@ ## Installation | ||
### Javascript | ||
### Javascript | ||
``` | ||
@@ -37,6 +37,6 @@ 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. | ||
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. | ||
### Web | ||
All values in tokens are represented as rem, em or px. | ||
@@ -46,1 +46,4 @@ * Use REMs for sizes and spacing (grid). | ||
* Use px for borders. | ||
## Contributing | ||
See [CONRTIBUTING.md](https://github.com/cultureamp/kaizen-design-system/blob/master/packages/design-tokens/CONTRIBUTING.md) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26625
46