Is there a way to change the color of mat checkboxes within mat select options as shown below?
<mat-form-field appearance="fill" style="width:49%">
<mat-label>Select Group</mat-label>
<mat-select [(ngModel)]="groupNames" name="group" multiple>
<mat-option *ngFor="let group of GroupList" [value]="groupName">
{{groupName}}
</mat-option>
</mat-select>
</mat-form-field>
I investigated the elements and styles in the browser and found a certain class
.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate {
background-color: var(--mat-full-pseudo-checkbox-selected-icon-color);
border-color: rgba(0, 0, 0, 0);
}
This class was influencing the background color of the checkbox (which I want to customize), but even after attempting to override it in the CSS file of my Angular project, the changes are not being applied.