From 470b851eae3cc9e790e837d81d931aded73dafd4 Mon Sep 17 00:00:00 2001 From: mustafahlvc Date: Fri, 13 Oct 2017 15:43:22 +0300 Subject: [PATCH] colors styling fix. --- src/app/core/scss/partials/_colors.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/app/core/scss/partials/_colors.scss b/src/app/core/scss/partials/_colors.scss index f2d3a7c5..0bfdfa10 100644 --- a/src/app/core/scss/partials/_colors.scss +++ b/src/app/core/scss/partials/_colors.scss @@ -51,10 +51,13 @@ $matColorHues: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, A100, A200, A400 // If the base text color is black... @if (rgba(black, 1) == rgba($baseTextColor, 1)) { - &.secondary-text, - .secondary-text, .mat-icon, .icon { + color: rgba(0, 0, 0, 0.54); + } + + &.secondary-text, + .secondary-text { color: rgba(0, 0, 0, 0.54) !important; } @@ -80,7 +83,7 @@ $matColorHues: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, A100, A200, A400 .mat-icon, .icon { - color: rgba(255, 255, 255, 1) !important; + color: rgba(255, 255, 255, 1); } &.secondary-text,