Skip to content

Commit 290f710

Browse files
jefersonestevommalerba
authored andcommitted
fix(tabs): change color for disabled tab label (#3483)
Fixes #3481
1 parent b9b014a commit 290f710

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/lib/tabs/_tabs-common.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ $mat-tab-animation-duration: 500ms !default;
1414
font-weight: 500;
1515
cursor: pointer;
1616
box-sizing: border-box;
17-
color: currentColor;
1817
opacity: 0.6;
1918
min-width: 160px;
2019
text-align: center;

src/lib/tabs/_tabs-theme.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,12 @@
2626
.mat-ink-bar {
2727
background-color: mat-color($primary, 500);
2828
}
29+
30+
.mat-tab-label, .mat-tab-link {
31+
color: currentColor;
32+
33+
&.mat-tab-disabled {
34+
color: mat-color($foreground, disabled-text);
35+
}
36+
}
2937
}

0 commit comments

Comments
 (0)