@dialpad/dialtone-tokens
Advanced tools
Comparing version 1.23.3 to 1.23.4
{ | ||
"name": "@dialpad/dialtone-tokens", | ||
"version": "1.23.3", | ||
"version": "1.23.4", | ||
"description": "Design tokens for Dialtone.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,3 +5,5 @@ # Design Tokens for Dialtone | ||
Design tokens are all the defined values that are part of the design system, such as color, spacing, typography, and more. The goal is to store design tokens as JSON and output and publish them to many different formats (CSS, LESS, Android, iOS, etc) upon build. | ||
Design tokens are all the defined values that are part of the design system, such as color, spacing, typography, and | ||
more. The goal is to store design tokens as JSON and output and publish them to many different formats (CSS, LESS, | ||
Android, iOS, etc) upon build. | ||
@@ -15,3 +17,4 @@ ## Usage | ||
#### Install Dependency | ||
``` | ||
```shell | ||
npm install @dialpad/dialtone-tokens | ||
@@ -22,9 +25,9 @@ ``` | ||
```css | ||
@import "node_modules/@dialpad/dialtone-css/css/variables.css"; | ||
``` | ||
@import "node_modules/@dialpad/dialtone/css/variables.css"; | ||
``` | ||
#### Use CSS Token | ||
``` | ||
```css | ||
.my-css-class { | ||
@@ -39,9 +42,9 @@ color: var(--dt-color-purple-200) | ||
```less | ||
@import "node_modules/@dialpad/dialtone-css/less/variables.less"; | ||
``` | ||
@import "node_modules/@dialpad/dialtone/less/variables.less"; | ||
``` | ||
#### Use LESS Token | ||
``` | ||
```less | ||
.my-css-class { | ||
@@ -57,7 +60,7 @@ color: @dt-color-purple-200 | ||
### Android (compose/xml) | ||
#### pom.xml | ||
``` | ||
```xml | ||
<dependency> | ||
@@ -72,3 +75,3 @@ <groupId>design.dialpad.tokens</groupId> | ||
``` | ||
```shell | ||
mvn install | ||
@@ -89,4 +92,2 @@ ``` | ||
## Quick Start for Contributors | ||
@@ -93,0 +94,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1703943
41443
95