From 7212b64adbc58a5dc108721d6e44f88728da3ae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 26 Apr 2020 02:39:23 +0200 Subject: Month view better colors. --- module/output/html.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'module/output') diff --git a/module/output/html.scm b/module/output/html.scm index 2b8f52a9..4d8ebc05 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -452,9 +452,10 @@ [(day-date . events) `(div (@ (class "cal-cell")) (div (@ (class "date-info " - ,(when (or (date< day-date start-date) - (date< end-date day-date)) - "non-current") + ,(if (or (date< day-date start-date) + (date< end-date day-date)) + "non-current" + "current") )) (span (@ (class "day-number")) ,(date->string day-date "~e")) ,(when (= 1 (day day-date)) -- cgit v1.2.3