File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 55@use ' sass:meta' ;
66
77// The prefix used to generate the fully qualified name for tokens in this file.
8- $prefix : (mdc, progress - bar );
8+ $prefix : (mdc, linear - progress );
99
1010// Tokens that can't be configured through Angular Material's current theming API,
1111// but may be in a future version of the theming API.
Original file line number Diff line number Diff line change 66@use ' ../m2/mdc/list' as tokens-mdc-list ;
77
88@use ' @material/linear-progress/linear-progress-theme' as mdc-linear-progress-theme ;
9- @use ' ../m2/mdc/progress-bar ' as tokens-mdc-progress-bar ;
9+ @use ' ../m2/mdc/linear-progress ' as tokens-mdc-linear-progress ;
1010
1111@mixin validate-slots ($component , $slots , $reference ) {
1212 @debug ' Validating #{$component } ...' ;
2727);
2828
2929@include validate-slots (
30- $component : ' m2.mdc.progress-bar ' ,
31- $slots : tokens-mdc-progress-bar .get-token-slots (),
30+ $component : ' m2.mdc.linear-progress ' ,
31+ $slots : tokens-mdc-linear-progress .get-token-slots (),
3232 $reference : mdc-linear-progress-theme .$light-theme
3333);
Original file line number Diff line number Diff line change 11@use ' ../core/mdc-helpers/mdc-helpers' ;
22@use ' @material/linear-progress/linear-progress' as mdc-linear-progress ;
33@use ' @material/linear-progress/linear-progress-theme' as mdc-linear-progress-theme ;
4- @use ' ../core/tokens/m2/mdc/progress-bar ' as m2-mdc-progress-bar ;
4+ @use ' ../core/tokens/m2/mdc/linear-progress ' as m2-mdc-linear-progress ;
55
66@include mdc-helpers .disable-mdc-fallback-declarations {
7- $mdc-progress-bar-token-slots : m2-mdc-progress-bar .get-token-slots ();
7+ $mdc-progress-bar-token-slots : m2-mdc-linear-progress .get-token-slots ();
88
99 // Add the MDC progress-bar static styles.
1010 @include mdc-linear-progress .static-styles ();
1414
1515 // Add default values for tokens that aren't outputted by the theming API.
1616 .mat-mdc-progress-bar {
17- @include mdc-linear-progress-theme .theme (m2-mdc-progress-bar .get-unthemable-tokens ());
17+ @include mdc-linear-progress-theme .theme (m2-mdc-linear-progress .get-unthemable-tokens ());
1818 }
1919}
2020
You can’t perform that action at this time.
0 commit comments