@dreamcommerce/aurora 3.0.0-289 → 3.0.0-290
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -172,7 +172,7 @@ _rollupPluginBabelHelpers.defineProperty(ColorPickerUtils, "findVariable", funct
|
|
|
172
172
|
return (_Object$values$find = Object.values(variables).find(function (v) {
|
|
173
173
|
var variableTiny = _ColorPickerUtils.getTinyColorInstance(v.value);
|
|
174
174
|
var colorTiny = _ColorPickerUtils.getTinyColorInstance(color);
|
|
175
|
-
return variableTiny.
|
|
175
|
+
return variableTiny.toHex8String() === colorTiny.toHex8String();
|
|
176
176
|
})) === null || _Object$values$find === void 0 ? void 0 : _Object$values$find.name;
|
|
177
177
|
});
|
|
178
178
|
_rollupPluginBabelHelpers.defineProperty(ColorPickerUtils, "normalizeLinearGradient", function (color) {
|
|
@@ -168,7 +168,7 @@ _defineProperty(ColorPickerUtils, "findVariable", function (variables, color) {
|
|
|
168
168
|
return (_Object$values$find = Object.values(variables).find(function (v) {
|
|
169
169
|
var variableTiny = _ColorPickerUtils.getTinyColorInstance(v.value);
|
|
170
170
|
var colorTiny = _ColorPickerUtils.getTinyColorInstance(color);
|
|
171
|
-
return variableTiny.
|
|
171
|
+
return variableTiny.toHex8String() === colorTiny.toHex8String();
|
|
172
172
|
})) === null || _Object$values$find === void 0 ? void 0 : _Object$values$find.name;
|
|
173
173
|
});
|
|
174
174
|
_defineProperty(ColorPickerUtils, "normalizeLinearGradient", function (color) {
|