diff options
Diffstat (limited to 'editor/scripts')
| -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' } |
