Ion-loading spinner color

Hi all,
I’m very new to Ionic and I need to know how to change the spinner color of the ion-loading component.
I see in the documentation that I can set it via --spinner-color CSS Custom Properties but unfortunately I cannot understand how I can use the CSS Custom Properties.
Do I have to set it in my page.scss file? It doesn’t work…
Please, any sample is really welcome.