Skip to content

Commit

Permalink
fix(material/datepicker): improve color contrast in calendar header (#…
Browse files Browse the repository at this point in the history
…23517)

Fixes that the color contrast of the calendar header's text was too low.

Fixes #23511.

(cherry picked from commit 1762da8)
  • Loading branch information
crisbeto authored and andrewseguin committed Sep 13, 2021
1 parent 4fa5e6c commit b487323
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/material/datepicker/_datepicker-theme.scss
Expand Up @@ -78,14 +78,11 @@ $calendar-weekday-table-font-size: 11px !default;
color: theming.get-color-from-palette($foreground, icon);
}

.mat-calendar-table-header {
color: theming.get-color-from-palette($foreground, hint-text);
}

.mat-calendar-table-header-divider::after {
background: theming.get-color-from-palette($foreground, divider);
}

.mat-calendar-table-header,
.mat-calendar-body-label {
color: theming.get-color-from-palette($foreground, secondary-text);
}
Expand Down

0 comments on commit b487323

Please sign in to comment.