diff options
| author | neauoire <aliceffekt@gmail.com> | 2019-11-09 11:52:50 -0500 |
|---|---|---|
| committer | neauoire <aliceffekt@gmail.com> | 2019-11-09 11:52:50 -0500 |
| commit | a3c0cb9bacc785f933ac98ceb69ce478b69cd599 (patch) | |
| tree | e2a1d89aba48e46fab8cf8fb21fe02ecc90b6acc | |
| parent | f9693c85cc13e5e9b5e6f5cd400d1c0784a44a11 (diff) | |
*
| -rw-r--r-- | editor/scripts/benchmark.js | 1 | ||||
| -rw-r--r-- | editor/scripts/lib/theme.js | 16 |
2 files changed, 8 insertions, 9 deletions
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 = `<span style='color:var(--f_high)'>${cat}</span> ${score}/${this.matches().length * 5} <span style='color:var(--f_low)'>${perc.toFixed(1)}%</span>` 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' } |
