Skip to content

Commit ce27341

Browse files
karajelbourn
authored andcommitted
fix(theme): fix card and list colors for dark themes (#667)
Closes #350
1 parent e808452 commit ce27341

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/card/card.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ md-card {
1717
border-radius: $md-card-border-radius;
1818
font-family: $md-font-family;
1919
background: md-color($md-background, card);
20+
color: md-color($md-foreground, base);
2021
}
2122

2223
md-card:hover {

src/components/list/list.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ based on whether the list is in dense mode.
4242
font-size: $font-size;
4343
height: $base-height;
4444
padding: 0 $md-list-side-padding;
45+
color: md-color($md-foreground, base);
4546
}
4647

4748
&.md-list-avatar .md-list-item {

0 commit comments

Comments
 (0)