Skip to content

Commit 405960d

Browse files
authored
fix(calendar): fix range preview inactive dates text color (#15670)
1 parent f563acd commit 405960d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

projects/igniteui-angular/src/lib/core/styles/components/calendar/_calendar-component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@
179179
@extend %date-range-preview !optional;
180180
}
181181

182+
@include e(date, $mods: ('range-preview', 'inactive')) {
183+
@extend %date-range-preview-inactive !optional;
184+
}
185+
182186
@include e(date, $mods: ('range-preview', 'current')) {
183187
@extend %date-range-preview-current !optional;
184188
}

projects/igniteui-angular/src/lib/core/styles/components/calendar/_calendar-theme.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2354,6 +2354,12 @@
23542354
}
23552355
}
23562356

2357+
%date-range-preview-inactive {
2358+
%date-inner {
2359+
color: var-get($theme, 'inactive-color');
2360+
}
2361+
}
2362+
23572363
%date-range-preview-current {
23582364
%date-inner {
23592365
color: var-get($theme, 'date-selected-current-range-foreground');

0 commit comments

Comments
 (0)