aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevine Lu Linvega <aliceffekt@gmail.com>2018-09-15 06:59:28 +1200
committerDevine Lu Linvega <aliceffekt@gmail.com>2018-09-15 06:59:28 +1200
commita13ae06bf27f94d2ab4f4527d957a354dbb9b33c (patch)
treef369fd926158db4bb47b95c4ba2b341841017983
parent10b8f55b923b3f86d7a70a0bef0f8047348ae062 (diff)
Improved tester
-rw-r--r--benchmark/index.html4
-rw-r--r--benchmark/links/theme.css8
2 files changed, 8 insertions, 4 deletions
diff --git a/benchmark/index.html b/benchmark/index.html
index e944121..c82e6b3 100644
--- a/benchmark/index.html
+++ b/benchmark/index.html
@@ -33,11 +33,11 @@
if(bid.substr(0,1) != "b"){ continue; }
let bc = theme.active[bid]
if(fc != bc){ continue; }
- html += `<b>${fid}</b>(${fc}) -> ${bid}(${bc})\n`
+ html += `<b>${fid}</b> ${bid} <i>${bc}</i>\n`
count += 1
}
}
- el.innerHTML = html+`\n${count} conflicts`;
+ el.innerHTML = html+`\n<i>${count} conflicts</i>`;
}
</script>
</body>
diff --git a/benchmark/links/theme.css b/benchmark/links/theme.css
index df65d7d..20bcc28 100644
--- a/benchmark/links/theme.css
+++ b/benchmark/links/theme.css
@@ -1,9 +1,13 @@
body { background:var(--background) !important }
-.f_high { font-weight:bold; color:var(--f_high) !important; stroke:var(--f_high) !important }
+.f_high { color:var(--f_high) !important; stroke:var(--f_high) !important }
.f_med { color:var(--f_med) !important ; stroke:var(--f_med) !important }
.f_low { color:var(--f_low) !important ; stroke:var(--f_low) !important }
.f_inv { color:var(--f_inv) !important ; stroke:var(--f_inv) !important }
.b_high { background:var(--b_high) !important; fill:var(--b_high) !important }
.b_med { background:var(--b_med) !important ; fill:var(--b_med) !important }
.b_low { background:var(--b_low) !important ; fill:var(--b_low) !important }
-.b_inv { background:var(--b_inv) !important ; fill:var(--b_inv) !important } \ No newline at end of file
+.b_inv { background:var(--b_inv) !important ; fill:var(--b_inv) !important }
+
+pre { color:var(--f_high) !important; }
+pre b { color:var(--f_med) !important; }
+pre i { color:var(--f_low) !important; } \ No newline at end of file