Skip to content

Commit 1762da8

Browse files
authored
fix(material/datepicker): improve color contrast in calendar header (#23517)
Fixes that the color contrast of the calendar header's text was too low. Fixes #23511.
1 parent cf7a69c commit 1762da8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/material/datepicker/_datepicker-theme.scss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,11 @@ $calendar-weekday-table-font-size: 11px !default;
7878
color: theming.get-color-from-palette($foreground, icon);
7979
}
8080

81-
.mat-calendar-table-header {
82-
color: theming.get-color-from-palette($foreground, hint-text);
83-
}
84-
8581
.mat-calendar-table-header-divider::after {
8682
background: theming.get-color-from-palette($foreground, divider);
8783
}
8884

85+
.mat-calendar-table-header,
8986
.mat-calendar-body-label {
9087
color: theming.get-color-from-palette($foreground, secondary-text);
9188
}

0 commit comments

Comments
 (0)