From e997ea26cc1fe6e15ca7c8328027b0fe5469c9d2 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Tue, 9 Jan 2024 14:19:06 +0100 Subject: [PATCH] Fix disabled neighboring tiles text color --- packages/react-calendar/src/Calendar.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/react-calendar/src/Calendar.css b/packages/react-calendar/src/Calendar.css index 4aa38f07..82baa28d 100644 --- a/packages/react-calendar/src/Calendar.css +++ b/packages/react-calendar/src/Calendar.css @@ -109,6 +109,13 @@ .react-calendar__tile:disabled { background-color: #f0f0f0; + color: #ababab; +} + +.react-calendar__month-view__days__day--neighboringMonth:disabled, +.react-calendar__decade-view__years__year--neighboringDecade:disabled, +.react-calendar__century-view__decades__decade--neighboringCentury:disabled { + color: #cdcdcd; } .react-calendar__tile:enabled:hover,