Skip to content

Commit b4f1830

Browse files
authored
Tweak dark-theme colors in calendar view (#268)
Some texts were unreadable before when the dark theme was used (like black text on a dark gray button). Change the affected text colors for a better contrast.
1 parent b2a7b1d commit b4f1830

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Calendars/Calendar.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,11 @@
77
margin: 10px 0;
88
}
99
}
10+
11+
/* tweak some colors for dark theme */
12+
.theme-dark .rbc-toolbar button:not(:focus):not(:hover):not(.rbc-active) {
13+
color: #fff;
14+
}
15+
.theme-dark .rbc-now a, .theme-dark .rbc-today a {
16+
color: #000;
17+
}

0 commit comments

Comments
 (0)