Skip to content

Commit 605d908

Browse files
committed
fixup! fix(material-experimental/mdc-list): use body-1 rather than subtitle-1 typography for list items
1 parent c47bc82 commit 605d908

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/material-experimental/mdc-list/_list-theme.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
@include list-option-theme.private-list-option-typography-styles();
5858
}
5959

60+
// According to the public spec this should be subtitle-1.
61+
// However, body-1 and subtitle-1 are nearly identical in the public spec,
62+
// and the Google-specific spec states that it should be body-1.
63+
// For consistency, we use body-1 for both public and Google internal.
6064
.mat-mdc-list-item .mdc-list-item__primary-text {
6165
@include typography-utils.typography-level($config, body-1);
6266
}

0 commit comments

Comments
 (0)