aboutsummaryrefslogtreecommitdiff
path: root/benchmark/scripts
diff options
context:
space:
mode:
authorDevine Lu Linvega <aliceffekt@gmail.com>2018-09-15 15:10:06 +1200
committerDevine Lu Linvega <aliceffekt@gmail.com>2018-09-15 15:10:06 +1200
commit70aa9f1773a82afe09d7a764028408a003279856 (patch)
treeb1b1b380c7605ccafcfc25e122284d60f36f2107 /benchmark/scripts
parentef19f4e562cfca7d5eca50e22283d94ff890a1d7 (diff)
*
Diffstat (limited to 'benchmark/scripts')
-rw-r--r--benchmark/scripts/benchmark.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/scripts/benchmark.js b/benchmark/scripts/benchmark.js
index d62ae33..ef5590d 100644
--- a/benchmark/scripts/benchmark.js
+++ b/benchmark/scripts/benchmark.js
@@ -12,7 +12,7 @@ function Benchmark()
if(bid.substr(0,1) != "b" || bid.indexOf("_inv") > -1){ continue; }
let bc = theme.active[bid]
let rating = new Color(fc).contrast(new Color(bc));
- if(rating < 3){
+ if(rating < 1.5){
html += `Low contrast(${rating.toFixed(2)}): <b>${fid}</b> ${bid} <i>${bc}</i>\n`
}
count += 1