Skip to content

Commit 99ef074

Browse files
authored
fix(calendar): fix range preview inactive dates text color (#15671)
1 parent 12162d7 commit 99ef074

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
@@ -2389,6 +2389,12 @@
23892389
}
23902390
}
23912391

2392+
%date-range-preview-inactive {
2393+
%date-inner {
2394+
color: var-get($theme, 'inactive-color');
2395+
}
2396+
}
2397+
23922398
%date-range-preview-current {
23932399
%date-inner {
23942400
color: var-get($theme, 'date-selected-current-range-foreground');

0 commit comments

Comments
 (0)