@financial-times/o-colors
Advanced tools
Comparing version 6.0.6 to 6.0.7
@@ -33,4 +33,4 @@ const getHexValues = (mixer, base) => { | ||
for (let i = 0; i <= 5; i += 2) { | ||
const mixPair = expandHexValues(hexToDecimal(mixer.substr(i, 2))); // extract r, g, b pairs for mixer color | ||
const basePair = expandHexValues(hexToDecimal(base.substr(i, 2))); // extract r, g, b pairs for base color | ||
const mixPair = hexToDecimal(expandHexValues(mixer.substr(i, 2))); // extract r, g, b pairs for mixer color | ||
const basePair = hexToDecimal(expandHexValues(base.substr(i, 2))); // extract r, g, b pairs for base color | ||
@@ -37,0 +37,0 @@ // combine the r/g/b pairs from each color, based on percentage |
{ | ||
"name": "@financial-times/o-colors", | ||
"type": "module", | ||
"version": "6.0.6", | ||
"version": "6.0.7", | ||
"description": "The default colour palette for all FT products. The palette supports colour contrast checking, colour mixing and toneing.", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
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