Update contrast function and tests

This commit is contained in:
Synchro
2015-12-07 13:50:35 +01:00
parent 51ae9c6c8e
commit 6dd409aba3
2 changed files with 28 additions and 20 deletions

View File

@@ -38,7 +38,7 @@
saturate-filter: saturate(5%);
contrast-white: #000000;
contrast-black: #ffffff;
contrast-red: #ffffff;
contrast-red: #000000;
contrast-green: #000000;
contrast-blue: #ffffff;
contrast-yellow: #000000;
@@ -49,11 +49,11 @@
contrast-light-thresh: #111111;
contrast-dark-thresh: #eeeeee;
contrast-high-thresh: #eeeeee;
contrast-low-thresh: #111111;
contrast-low-thresh: #eeeeee;
contrast-light-thresh-per: #111111;
contrast-dark-thresh-per: #eeeeee;
contrast-high-thresh-per: #eeeeee;
contrast-low-thresh-per: #111111;
contrast-low-thresh-per: #eeeeee;
replace: "Hello, World!";
replace-captured: "This is a new string.";
replace-with-flags: "2 + 2 = 4";