In my Angular application, I am utilizing mat-select. My goal is to alter the text color within the select component, however, no matter what I try, the color remains unchanged.
<mat-select style="color: red" [(ngModel)]="someValue">
<mat-option>class="empty-select"</mat-option>
<mat-option class="not-empty-select" *ngFor="let unit of units [value]="unit">{{unit}}</mat-option>
</mat-select>
Interestingly, changing the background color works perfectly fine, but the text color stubbornly refuses to change.