Prerequisites
Ionic Framework Version
Current Behavior
Specifying the --spinner-color has no effect on a 'circular' spinner. All other spinner shapes work as expected.
Expected Behavior
Spinner color should respect defined custom color
Steps to Reproduce
In an Angular 13 project add a spinner.
I am running Angular 13.3 but if the issue is due to the naming I mentioned in additional Info below then I expect this issue is not framework specific
const loader = await this.loadingController.create({
spinner: 'circular',
cssClass: 'my-spinner'
});
// CSS
.my-spinner {
--spinner-color: red;
}
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 6.18.2
Utility:
cordova-res : not installed globally
native-run : not installed globally
System:
NodeJS : v16.14.0
npm : 8.3.1
OS : macOS Monterey
Additional Information
Should this line not be named 'circular' instead of 'circle'?
|
:host(.spinner-circular) circle { |
Prerequisites
Ionic Framework Version
Current Behavior
Specifying the --spinner-color has no effect on a 'circular' spinner. All other spinner shapes work as expected.
Expected Behavior
Spinner color should respect defined custom color
Steps to Reproduce
In an Angular 13 project add a spinner.
I am running Angular 13.3 but if the issue is due to the naming I mentioned in additional Info below then I expect this issue is not framework specific
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 6.18.2
Utility:
cordova-res : not installed globally
native-run : not installed globally
System:
NodeJS : v16.14.0
npm : 8.3.1
OS : macOS Monterey
Additional Information
Should this line not be named 'circular' instead of 'circle'?
ionic-framework/core/src/components/spinner/spinner.scss
Line 122 in a6a772a