Ionic 5 ion-button outline with background

How to add background to the outline button ionic 5?
i made this code but it doesn’t work

html

<ion-button class="show-background" fill="outline" color="danger">Test</ion-button>

scss

ion-button.show-background {
--background: white;
}
1 Like