From cb2b45a5d6b1972b20dc715dfdf16320435167e4 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Fri, 15 Apr 2022 05:48:26 -0700 Subject: add option for date colour --- tempo.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tempo.js') 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; -- cgit v1.2.3-70-g09d2