summaryrefslogtreecommitdiff
path: root/tempo.js
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-04-15 05:48:26 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-04-15 05:48:26 -0700
commitcb2b45a5d6b1972b20dc715dfdf16320435167e4 (patch)
tree2103bdd84e0f74d967f3ba9bb567b4ca834c27a2 /tempo.js
parent566ea4b8b6a5c9f16cbeb280c73df836fee741fe (diff)
downloadtempo-cb2b45a5d6b1972b20dc715dfdf16320435167e4.tar.gz
tempo-cb2b45a5d6b1972b20dc715dfdf16320435167e4.tar.xz
add option for date colour
Diffstat (limited to 'tempo.js')
-rw-r--r--tempo.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/tempo.js b/tempo.js
index a18be78..3dcb1b9 100644
--- a/tempo.js
+++ b/tempo.js
@@ -35,6 +35,10 @@ function startTempo() {
if (fg)
document.body.style.color = fg;
+ let fg_date = localStorage['fg_date'];
+ if (fg_date)
+ document.getElementById('dateval').style.color = fg_date;
+
let bg = localStorage['bg'];
if (bg)
document.body.style.backgroundColor = bg;