Skip to content

Commit

Permalink
fix(tabs): change color for disabled tab label (#3483)
Browse files Browse the repository at this point in the history
Fixes #3481
  • Loading branch information
jefersonestevo authored and mmalerba committed Mar 13, 2017
1 parent b9b014a commit 290f710
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/tabs/_tabs-common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ $mat-tab-animation-duration: 500ms !default;
font-weight: 500;
cursor: pointer;
box-sizing: border-box;
color: currentColor;
opacity: 0.6;
min-width: 160px;
text-align: center;
Expand Down
8 changes: 8 additions & 0 deletions src/lib/tabs/_tabs-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,12 @@
.mat-ink-bar {
background-color: mat-color($primary, 500);
}

.mat-tab-label, .mat-tab-link {
color: currentColor;

&.mat-tab-disabled {
color: mat-color($foreground, disabled-text);
}
}
}

0 comments on commit 290f710

Please sign in to comment.