File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/material-experimental/mdc-table Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 5454 theming .get-typography-config ($config-or-theme ));
5555 @include mdc-helpers .mat-using-mdc-typography ($config ) {
5656 @include mdc-data-table .core-styles ($query : mdc-helpers .$mat-typography-styles-query );
57+
58+ // MDC's header cell typography uses the `subtitle-2` config value. Due to legacy reasons,
59+ // this value is mapped from Angular Material's `subheading-1` config value. This is not
60+ // a perfect mapping because the Material spec shows the header having `font-weight: 500`
61+ // instead of `subheading-1`'s default weight of 400. This override makes sure that the
62+ // heading has the expected weight of 500.
63+ .mat-mdc-header-cell {
64+ font-weight : 500 ;
65+ }
5766 }
5867}
5968
You can’t perform that action at this time.
0 commit comments