Skip to content

Commit

Permalink
bug(tab): change color for disabled tab label
Browse files Browse the repository at this point in the history
  • Loading branch information
jefersonestevo committed Mar 7, 2017
1 parent 4e4c6a6 commit 8a668d7
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 8a668d7

Please sign in to comment.