I'm trying to remove the focus styling from the mat-button-toggle element that Ng material offers. Reason being that it looks quite ugly.
I've tried the below but it has zero effect.
.mat-button-toggle:focus{
outline: none !important;
border: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
and
.mat-button-toggle-button:focus{
outline:none;
}
HTML
<form [formGroup]="form" class="mt-4">
<mat-button-toggle-group formControlName="userChoice" class="button-group">
<mat-button-toggle class="option-button">Button</mat-button-toggle>
</mat-button-toggle-group>
</form>