I have the following p-inputSwitch.
<p-inputSwitch class="ml-1 mr-1 align-middle"
(onChange)="setDefaultValues($event)"
[ngModel]="defaultValuesToggle">
</p-inputSwitch>
Is there a way to change the color from blue when selected? I have tried the following, but nothing changes the color:
.p-inputswitch {
background: red !important;
}
.p-inputswitch .p-inputswitch-slider {
background: red !important;
}