File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/material/progress-spinner Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1111 // Add the MDC progress spinner static styles.
1212 @include mdc-circular-progress .static-styles ();
1313
14- // Add the official slots for the MDC circular progress.
15- @include mdc-circular-progress-theme .theme-styles ($mdc-circular-progress-token-slots );
16-
17- // Add default values for tokens that aren't outputted by the theming API.
1814 .mat-mdc-progress-spinner {
15+ // Add the official slots for the MDC circular progress.
16+ @include mdc-circular-progress-theme .theme-styles ($mdc-circular-progress-token-slots );
17+
18+ // Add default values for tokens that aren't outputted by the theming API.
1919 @include mdc-circular-progress-theme .theme (m2-mdc-circular-progress .get-unthemable-tokens ());
2020 }
2121}
Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ const BASE_STROKE_WIDTH = 10;
8080 'tabindex' : '-1' ,
8181 '[class._mat-animation-noopable]' : `_noopAnimations` ,
8282 '[class.mdc-circular-progress--indeterminate]' : 'mode === "indeterminate"' ,
83+ '[style.width.px]' : 'diameter' ,
84+ '[style.height.px]' : 'diameter' ,
8385 '[style.--mdc-circular-progress-size]' : 'diameter + "px"' ,
8486 '[style.--mdc-circular-progress-active-indicator-width]' : 'diameter + "px"' ,
8587 '[attr.aria-valuemin]' : '0' ,
You can’t perform that action at this time.
0 commit comments