From 290f71097bd82dd5442cf54ff5e9e6944cd492c8 Mon Sep 17 00:00:00 2001 From: Jeferson Estevo Date: Mon, 13 Mar 2017 18:12:08 -0300 Subject: [PATCH] fix(tabs): change color for disabled tab label (#3483) Fixes #3481 --- src/lib/tabs/_tabs-common.scss | 1 - src/lib/tabs/_tabs-theme.scss | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/lib/tabs/_tabs-common.scss b/src/lib/tabs/_tabs-common.scss index f39276135ed..a299450900d 100644 --- a/src/lib/tabs/_tabs-common.scss +++ b/src/lib/tabs/_tabs-common.scss @@ -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; diff --git a/src/lib/tabs/_tabs-theme.scss b/src/lib/tabs/_tabs-theme.scss index 285e7dfa738..3ef8625cb26 100644 --- a/src/lib/tabs/_tabs-theme.scss +++ b/src/lib/tabs/_tabs-theme.scss @@ -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); + } + } }