Skip to content

Commit dc3de34

Browse files
abbeyhrtjoshblack
authored andcommitted
fix(date-picker): adjust style slectors for disabled or prev/next days (carbon-design-system#5085)
1 parent baf2e0a commit dc3de34

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

packages/components/src/components/date-picker/_date-picker.scss

+5-6
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,9 @@
316316
}
317317
}
318318

319-
.#{$prefix}--date-picker__days .nextMonthDay,
320-
.#{$prefix}--date-picker__days .prevMonthDay {
321-
color: $text-02;
319+
.#{$prefix}--date-picker__day.nextMonthDay,
320+
.#{$prefix}--date-picker__day.prevMonthDay {
321+
color: $text-05;
322322
}
323323

324324
.#{$prefix}--date-picker__day.today,
@@ -352,11 +352,10 @@
352352
}
353353
}
354354

355-
.#{$prefix}--date-picker__day.disabled,
356-
.flatpickr-day.disabled {
355+
.#{$prefix}--date-picker__day.flatpickr-day.flatpickr-disabled {
357356
cursor: not-allowed;
358357
opacity: 0.5;
359-
color: $ui-05;
358+
color: $disabled-02;
360359

361360
&:hover {
362361
background: transparent;

0 commit comments

Comments
 (0)