ionic 5 How to set CSS Custom Properties dynamically code example
Example: ionic change css propery
// use Shadow Parts
// https://ionicframework.com/docs/api/toast#css-shadow-parts
ion-toast::part(button) {
background: red;
border-radius: 14px;
}