From dc3de3416c1aceb3b7dc402a5c4813a07a7d37d0 Mon Sep 17 00:00:00 2001 From: Abbey Hart Date: Fri, 17 Jan 2020 18:26:10 -0600 Subject: [PATCH] fix(date-picker): adjust style slectors for disabled or prev/next days (#5085) --- .../src/components/date-picker/_date-picker.scss | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/components/src/components/date-picker/_date-picker.scss b/packages/components/src/components/date-picker/_date-picker.scss index adf041824b4d..9dd6b4d3ef40 100644 --- a/packages/components/src/components/date-picker/_date-picker.scss +++ b/packages/components/src/components/date-picker/_date-picker.scss @@ -316,9 +316,9 @@ } } - .#{$prefix}--date-picker__days .nextMonthDay, - .#{$prefix}--date-picker__days .prevMonthDay { - color: $text-02; + .#{$prefix}--date-picker__day.nextMonthDay, + .#{$prefix}--date-picker__day.prevMonthDay { + color: $text-05; } .#{$prefix}--date-picker__day.today, @@ -352,11 +352,10 @@ } } - .#{$prefix}--date-picker__day.disabled, - .flatpickr-day.disabled { + .#{$prefix}--date-picker__day.flatpickr-day.flatpickr-disabled { cursor: not-allowed; opacity: 0.5; - color: $ui-05; + color: $disabled-02; &:hover { background: transparent;