@logojoy/color-rules
Advanced tools
Comparing version 0.21.30 to 0.22.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.22.0](https://github.com/LookaApp/design-studio/compare/@logojoy/color-rules@0.21.30...@logojoy/color-rules@0.22.0) (2024-03-25) | ||
### Features | ||
* add better handling of error scenarios when dealing with colors ([d27ff12](https://github.com/LookaApp/design-studio/commit/d27ff129e1264c48d0cf2beee04803ea74abaffa)) | ||
## [0.21.30](https://github.com/LookaApp/design-studio/compare/@logojoy/color-rules@0.21.29...@logojoy/color-rules@0.21.30) (2024-01-08) | ||
@@ -8,0 +19,0 @@ |
@@ -38,4 +38,4 @@ "use strict"; | ||
// TODO: individual features it is a TinyColor, we should look to make this consistent, or this will be solved in typescript | ||
if (colorScheme.primaryColor && | ||
colorScheme.primaryColor.hex === colorScheme.tertiaryColor.hex) { | ||
if ((colorScheme === null || colorScheme === void 0 ? void 0 : colorScheme.primaryColor) && | ||
(colorScheme === null || colorScheme === void 0 ? void 0 : colorScheme.primaryColor.hex) === colorScheme.tertiaryColor.hex) { | ||
options.colorSchema = ingredient_helpers_1.TWO_COLOR; | ||
@@ -42,0 +42,0 @@ } |
{ | ||
"name": "@logojoy/color-rules", | ||
"version": "0.21.30", | ||
"version": "0.22.0", | ||
"author": "Logojoy", | ||
@@ -18,3 +18,3 @@ "license": "UNLICENSED", | ||
"devDependencies": { | ||
"@logojoy/colors-pipeline": "0.25.2", | ||
"@logojoy/colors-pipeline": "0.26.0", | ||
"@logojoy/eslint-config": "0.1.1", | ||
@@ -44,3 +44,3 @@ "@logojoy/eslint-config-mocha": "0.1.1", | ||
}, | ||
"gitHead": "ad9199b9ce4b8c49729548bfb94fcaced8765567" | ||
"gitHead": "1698e0fc7d1cf6e773e01752f3b3aaa264bf7c2a" | ||
} |
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
174328