@esri/calcite-colors
Advanced tools
Comparing version 1.6.0 to 1.7.0
@@ -5,2 +5,5 @@ # Change Log | ||
## 1.7.0 - 2020-01-03 | ||
* Add ES6 module format | ||
## 1.6.0 - 2019-12-05 | ||
@@ -7,0 +10,0 @@ * updated nomenclature for pressed to press. Keep consistent with hover/press vs hovered/pressed. |
{ | ||
"name": "@esri/calcite-colors", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "Authoritative color variables for Esri", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -16,2 +16,11 @@ # Calcite Colors | ||
## ES6 Export | ||
In a modern javascript environment you can import the colors via ES6 import: | ||
```js | ||
import colors from "@esri/calcite-colors/colors.js"; | ||
console.log(colors["ui-blue"]); // => "#007ac2" | ||
``` | ||
## JSON file | ||
@@ -18,0 +27,0 @@ A simple JSON file is also included in the root directory `colors.json`. This file includes a simple object containing every color of the palette as key value pairs. |
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
53839
8
1028
59