Skip to content

Commit 3eb9b34

Browse files
author
Andrew Seguin
committed
fix(material/datepicker): use system colors
1 parent 513774c commit 3eb9b34

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/material/datepicker/_datepicker-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
m2-datepicker.get-color-tokens($theme, primary));
3636
}
3737

38-
.mat-datepicker-content {
38+
.mat-datepicker-content, .mat-datepicker-toggle-active {
3939
&.mat-accent {
4040
@include token-utils.create-token-values-mixed(
4141
m2-datepicker.get-color-tokens($theme, secondary));

src/material/datepicker/_m2-datepicker.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
datepicker-calendar-date-hover-state-background-color: m3-utils.color-with-opacity(
4141
map.get($system, primary), map.get($system, hover-state-layer-opacity)),
4242

43-
datepicker-toggle-active-state-icon-color: map.get($theme, on-primary),
43+
datepicker-toggle-active-state-icon-color: map.get($system, primary),
4444
datepicker-toggle-icon-color: map.get($system, on-surface-variant),
4545
datepicker-calendar-body-label-text-color: map.get($system, on-surface-variant),
4646
datepicker-calendar-period-button-text-color: map.get($system, on-surface),

0 commit comments

Comments
 (0)