You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP →

font-color-contrast

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

font-color-contrast - npm Package Compare versions

Comparing version

to
1.0.2

{
"name": "font-color-contrast",
"version": "1.0.1",
"version": "1.0.2",
"description": "NodeJS module to use black or white font according to the given background color",

@@ -5,0 +5,0 @@ "main": "font-color-contrast.js",

@@ -24,3 +24,3 @@ # font-color-contrast

```javascript
var fontColorContrast = require('../font-color-contrast.js');
var fontColorContrast = require('font-color-contrast');

@@ -27,0 +27,0 @@ var lightGreenBackground: "#b6e9be";