Style "mat-sort-header-sorted" has no effect in mat-table tutorial?
Using ::ng-deep
can access class that is defined in tag as alternative to style it.
::ng-deep is deprecated and can be removed, also can be used
ViewEncapsulation.None in component decorator to avoid using ::ng-deep
::ng-deep .mat-sort-header-sorted {
color: red; /*change color of header*/
}
::ng-deep .mat-sort-header-arrow {
color: red; /*change color of arrow*/
}