Skip to content

Commit 24bd615

Browse files
committed
fix(material-experimental/mdc-list): use body-1 rather than subtitle-1 typography for list items
1 parent 1c91731 commit 24bd615

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
@use './list-option-theme';
55
@use '../mdc-helpers/mdc-helpers';
66
@use '../../material/core/typography/typography';
7+
@use '../../material/core/typography/typography-utils';
78
@use '../../material/core/theming/theming';
89

910

@@ -55,6 +56,10 @@
5556
@include mdc-list.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
5657
@include list-option-theme.private-list-option-typography-styles();
5758
}
59+
60+
.mat-mdc-list-item .mdc-list-item__primary-text {
61+
@include typography-utils.typography-level($config, body-1);
62+
}
5863
}
5964

6065
@mixin theme($theme-or-color-config) {

0 commit comments

Comments
 (0)