@looker/design-tokens
Advanced tools
Comparing version 2.6.0 to 2.6.1
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.disabledSwatchColor = exports.calendarMixColor = exports.tabShadowColor = exports.iconButtonColorDerivation = exports.buttonShadow = void 0; | ||
exports.calendarMixColor = exports.tabShadowColor = exports.iconButtonColorDerivation = exports.buttonShadow = void 0; | ||
@@ -44,6 +44,2 @@ var _rgba = _interopRequireDefault(require("polished/lib/color/rgba")); | ||
exports.calendarMixColor = calendarMixColor; | ||
const disabledSwatchColor = color => color && color !== 'transparent' ? (0, _rgba.default)(color, 0.85) : undefined; | ||
exports.disabledSwatchColor = disabledSwatchColor; | ||
//# sourceMappingURL=helpers.js.map |
{ | ||
"name": "@looker/design-tokens", | ||
"license": "MIT", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"sideEffects": false, | ||
@@ -6,0 +6,0 @@ "publishConfig": { |
@@ -6,2 +6,1 @@ import type { ExtendedStatefulColor } from '../color/types/stateful'; | ||
export declare const calendarMixColor: () => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>; | ||
export declare const disabledSwatchColor: (color?: string | undefined) => string | undefined; |
@@ -30,5 +30,2 @@ import rgba from 'polished/lib/color/rgba'; | ||
}; | ||
export var disabledSwatchColor = function disabledSwatchColor(color) { | ||
return color && color !== 'transparent' ? rgba(color, 0.85) : undefined; | ||
}; | ||
//# sourceMappingURL=helpers.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
549056
3939