Skip to content

Commit 5e7af26

Browse files
kyle-burkekara
authored andcommitted
fix(card): update color property to use theme's text color. (#3952)
1 parent e82d0f1 commit 5e7af26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/card/_card-theme.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
.mat-card {
1010
background: mat-color($background, card);
11-
color: mat-color($foreground, base);
11+
color: mat-color($foreground, text);
1212
}
1313

1414
.mat-card-subtitle {

src/lib/list/_list-theme.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
.mat-list, .mat-nav-list {
1010
.mat-list-item {
11-
color: mat-color($foreground, base);
11+
color: mat-color($foreground, text);
1212
}
1313

1414
.mat-subheader {

0 commit comments

Comments
 (0)