<ion-infinite-scroll [enabled]="morePagesAvailable" (ionInfinite)="doInfinite($event)">
<ion-infinite-scroll-content
loadingSpinner="bubbles"
loadingText="Caricando più post ...">
</ion-infinite-scroll-content>
</ion-infinite-scroll>
And they works fine with a white background. Now I need to change the background color to black but now the text of the two components it’s not visible anymore because it’s black by default.
How can I change che color of the two components?
I tried with a CSS class but the color it’s not applied.
How is it possible to customize these components?
First, I recommand you to wait for the Ionic V4.
Why? Because they are changing the way you are styling the main theme.
In the V3. You can’t change a SCSS variable for one container, now you can:
It’s usable actually but not stable.
It’s about month now.
Else, just play with the CSS classes over the chrome inspector to see what happened. I’m pretty sure you can find some tools to help you search it too.