Socket
Socket
Sign inDemoInstall

@financial-times/o-colors

Package Overview
Dependencies
Maintainers
18
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/o-colors - npm Package Compare versions

Comparing version 6.0.6 to 6.0.7

4

demos/src/shared/colors-mix.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc