my code is like this :
<mat-select class="select" [formControl]="tasksFormControl" multiple panelClass="myPanelClass" disableOptionCentering>
<mat-option class="option" [value]="1" (click)="selectAllTasks(ev_tasks)"
#ev_tasks
>SelectAll</mat-option>
<mat-optgroup class="group" *ngFor="let group of taskGroups" label="'hello world'"
[disabled]="group.disabled">
<mat-option class="option" *ngFor="let task of group.tasks" [value]="task">
{{task.task_name}}
</mat-option>
</mat-optgroup>
</mat-select>
I can't change the mat-option text color no matter what I try. any ideas?
i want it to have the followign attirubtes :
{
background: #fff
color:black;}