I was looking to customize the label color for a specific mat-tab. Here's the CSS code I used:
.mat-tab-label {
min-width: 25px !important;
padding: 5px;
background-color: transparent;
color: white;
opacity: 1 !important;
font-weight: 700;
}
While this successfully changed the color of the tab, it affected all mat-tabs in the entire application. Is there a way to target only a particular tab for this style change?