calendar today colors

main2
Bob Mottram 2019-10-10 21:56:23 +01:00
parent 5a8f45c4d9
commit 93c5857272
1 changed files with 6 additions and 4 deletions

View File

@ -4,6 +4,8 @@
--lines-color: darkgray; --lines-color: darkgray;
--day-number: #a4a2a2; --day-number: #a4a2a2;
--day-number2: #c9c7c7; --day-number2: #c9c7c7;
--today-foreground: white;
--today-background: darkgray;
} }
body { body {
@ -107,13 +109,13 @@ tr:nth-child(even) > .calendar__day__cell:nth-child(even) {
} }
.calendar__day__cell[data-today] { .calendar__day__cell[data-today] {
background-color: #4E4F4A; background-color: var(--today-background);
border-color: #4E4F4A; border-color: var(--today-background);
color: #F6E9DC; color: var(--today-foreground);
} }
.calendar__day__cell[data-today]:after { .calendar__day__cell[data-today]:after {
content: attr(data-today); content: attr(data-today);
color: #F6E9DC; color: var(--today-foreground);
display: block; display: block;
font-size: .75rem; font-size: .75rem;
font-weight: 400; font-weight: 400;