File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 11@use ' sass:map' ;
2+ @use ' ./m2' ;
23
34// Gets the theme's system values as a flat map.
45@function get-system ($theme ) {
78 @return $system ;
89 }
910
11+ // If the $theme is a typography-config, convert it to a system map.
12+ @if map .has-key ($theme , body-1 ) {
13+ @return m2 .md-sys-typescale-values ($theme );
14+ }
15+
1016 @return ();
1117}
Original file line number Diff line number Diff line change 156156 // TODO(mmalerba): Discuss with MDC about adding them, or create custom tokens.
157157 .mdc-list-group__subheader {
158158 $system : m2-utils .get-system ($theme );
159- font : map .get ($system , label-large , font );
159+ font : map .get ($system , label-large );
160160 letter-spacing : map .get ($system , label-large-tracking );
161161 }
162162 }
You can’t perform that action at this time.
0 commit comments