Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230087

Changing the toast background colour in Ionic 4

$
0
0

Thank you that worked. I added the code in /theme/variable.scss.

Is there any chance you could tell me how to manipulate the colour of the close button as well?
That is to say turn the close button text to red as well?

At the moment the toast button seems to be have the following classes:

<ion-button ion-activable="" class="toast-button button button-md button-clear button-clear-md ion-color-light hydrated" fill="clear">OK</ion-button>

Where would I specify that I would like instead of the ion-color-light style class to use the ion-style-dark?


Viewing all articles
Browse latest Browse all 230087

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>