From 93c5857272d2cc4ae62f7361b3e3a2aacb5ee756 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 10 Oct 2019 21:56:23 +0100 Subject: [PATCH] calendar today colors --- epicyon-calendar.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/epicyon-calendar.css b/epicyon-calendar.css index 17744552a..c39be7d3c 100644 --- a/epicyon-calendar.css +++ b/epicyon-calendar.css @@ -4,6 +4,8 @@ --lines-color: darkgray; --day-number: #a4a2a2; --day-number2: #c9c7c7; + --today-foreground: white; + --today-background: darkgray; } body { @@ -107,13 +109,13 @@ tr:nth-child(even) > .calendar__day__cell:nth-child(even) { } .calendar__day__cell[data-today] { - background-color: #4E4F4A; - border-color: #4E4F4A; - color: #F6E9DC; + background-color: var(--today-background); + border-color: var(--today-background); + color: var(--today-foreground); } .calendar__day__cell[data-today]:after { content: attr(data-today); - color: #F6E9DC; + color: var(--today-foreground); display: block; font-size: .75rem; font-weight: 400;