Ionic 4 non-theme button color


I want to add a few ion-buttons (like a twitter button) with colors that are not my primary, secondary, etc. brand colors (but twitters brand color for example). Since they are not one of the color attribute choices and I can’t overwrite the css of the shadow dom, how would i do that?

does that may work?

 <ion-button class="your-style-class"....

 ion-button.your-style-class.button {
     color: yellow;
     --background: red;

Works like a charm! Thank you!

Awesome, cool to hear that :slight_smile: