@cobalt-ui/core
Advanced tools
Comparing version 1.1.1 to 1.1.2
# @cobalt-ui/core | ||
## 1.1.2 | ||
### Patch Changes | ||
- [#43](https://github.com/drwpow/cobalt-ui/pull/43) [`8bf696d`](https://github.com/drwpow/cobalt-ui/commit/8bf696d045269ba552424a0221347413a9272cc5) Thanks [@drwpow](https://github.com/drwpow)! - Fix @cobalt-ui/core package import | ||
## 1.1.1 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@cobalt-ui/core", | ||
"description": "CLI for using the W3C design token format", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"author": { | ||
@@ -28,4 +28,3 @@ "name": "Drew Powers", | ||
"type": "module", | ||
"main": "./dist/index.min.js", | ||
"module": "./dist/index.js", | ||
"main": "./dist/index.js", | ||
"dependencies": { | ||
@@ -32,0 +31,0 @@ "@cobalt-ui/utils": "^1.1.0", |
# @cobalt-ui/core | ||
Parse a `tokens.json` schema, validate it for errors, and return tokens as a | ||
normalized, flattened array. | ||
Node.js API for managing [W3C Design Token format](https://www.w3.org/community/design-tokens/) design systems. | ||
Use `@cobalt-ui/core` in the browser or in Node.js. | ||
For the CLI, use `@cobalt-ui/cli`. | ||
For building tokens and syncing with Figma, use `@cobalt-ui/cli`. | ||
## Install | ||
@@ -26,5 +23,5 @@ | ||
color: { | ||
red: {type: 'color', value: '#e34850'}, | ||
green: {type: 'color', value: '#2d9d78'}, | ||
blue: {type: 'color', value: '#2680eb'}, | ||
red: {$type: 'color', $value: '#e34850'}, | ||
green: {$type: 'color', $value: '#2d9d78'}, | ||
blue: {$type: 'color', $value: '#2680eb'}, | ||
}, | ||
@@ -31,0 +28,0 @@ }; |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
55149
37