theminator
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "description": "Theminator replaces the colors and dimensions (e.g. #123456 or 12rem) in your theme with objects containing useful methods that you can use to create derived values, like a darkened version of the background color or a multiplied border width for a hover effect.", |
@@ -85,3 +85,3 @@ # Theminator | ||
An enhanced object of the same shape. Color values are wrapped with [chroma-js](https://gka.github.io/chroma.js). Dimension values are replaced with an object of the shape `{ css: string, value: number, unit: string }`. If a value is not valid, the function throws. | ||
An enhanced object of the same shape. Color values are wrapped with [chroma-js](https://gka.github.io/chroma.js). Dimension values are replaced with an object of the shape `{ css: string, number: number, unit: string }`. If a value is not valid, the function throws. | ||
@@ -106,3 +106,3 @@ ### `decorateColors(colors)` | ||
An enhanced object of the same shape. Values are replaced with an object of the shape `{ css: string, value: number, unit: string }`. Called internally by `decorate()`. | ||
An enhanced object of the same shape. Values are replaced with an object of the shape `{ css: string, number: number, unit: string }`. Called internally by `decorate()`. | ||
@@ -109,0 +109,0 @@ ## Development |
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
19853