From a3c0cb9bacc785f933ac98ceb69ce478b69cd599 Mon Sep 17 00:00:00 2001 From: neauoire Date: Sat, 9 Nov 2019 11:52:50 -0500 Subject: * --- editor/scripts/benchmark.js | 1 - editor/scripts/lib/theme.js | 16 ++++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'editor/scripts') diff --git a/editor/scripts/benchmark.js b/editor/scripts/benchmark.js index f1b75d0..28b906c 100644 --- a/editor/scripts/benchmark.js +++ b/editor/scripts/benchmark.js @@ -44,7 +44,6 @@ function Benchmark () { } const perc = (score / (this.matches().length * 5)) * 100 - const cat = errors > 0 ? 'fix errors' : perc === 100 ? 'perfect' : perc > 80 ? 'good' : perc > 75 ? 'average' : 'bad' document.getElementById('score').innerHTML = `${cat} ${score}/${this.matches().length * 5} ${perc.toFixed(1)}%` diff --git a/editor/scripts/lib/theme.js b/editor/scripts/lib/theme.js index abb491b..4fc799c 100644 --- a/editor/scripts/lib/theme.js +++ b/editor/scripts/lib/theme.js @@ -10,14 +10,14 @@ function Theme (client) { this.active = {} this.default = { - background: '#eee', - f_high: '#000', - f_med: '#999', - f_low: '#ccc', - f_inv: '#000', - b_high: '#000', - b_med: '#888', - b_low: '#aaa', + background: '#eeeeee', + f_high: '#000000', + f_med: '#999999', + f_low: '#cccccc', + f_inv: '#000000', + b_high: '#000000', + b_med: '#888888', + b_low: '#aaaaaa', b_inv: '#ffb545' } -- cgit v1.2.3