Skip to content

Commit 6489f99

Browse files
committed
fix(material/list): navitation list active item color
Navigation List active items should have color of on-secondary-container, since they have a background color of secondary-container Fixes #32734
1 parent c7cc0be commit 6489f99

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/material/list/list.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,5 +181,9 @@ mat-action-list button {
181181

182182
&.mdc-list-item--activated {
183183
background-color: token-utils.slot(list-active-indicator-color, $fallbacks);
184+
185+
.mdc-list-item__primary-text {
186+
color: var(--mat-sys-on-secondary-container, currentColor);
187+
}
184188
}
185189
}

0 commit comments

Comments
 (0)