Skip to content

Commit

Permalink
fix(datepicker): calendar panel theme supports dark mode in multi the…
Browse files Browse the repository at this point in the history
…me scenario (angular#11267)

Closes angular#11265
  • Loading branch information
rudzikdawid authored and jelbourn committed Jun 22, 2018
1 parent ee7d3fa commit 9e6553d
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions src/components/datepicker/calendar-theme.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/** Theme styles for mdCalendar. */
.md-THEME_NAME-theme {
.md-calendar {
background: '{{background-hue-1}}';
color: '{{foreground-1-0.87}}';

.md-calendar.md-THEME_NAME-theme {
background: '{{background-hue-1}}';
color: '{{foreground-1-0.87}}';

tr:last-child td {
border-bottom-color: '{{background-hue-2}}';
tr:last-child td {
border-bottom-color: '{{background-hue-2}}';
}
}
}
.md-THEME_NAME-theme {

.md-calendar-day-header {
background: '{{background-500-0.32}}';
color: '{{foreground-1-0.87}}';
Expand Down Expand Up @@ -46,4 +46,8 @@
.md-calendar-month-label-disabled {
color: '{{foreground-3}}';
}

.md-calendar-month-label md-icon {
color: '{{foreground-1}}';
}
}

0 comments on commit 9e6553d

Please sign in to comment.