colors styling fix.

This commit is contained in:
mustafahlvc 2017-10-13 15:43:22 +03:00
parent fbe9cb83a2
commit 470b851eae

View File

@ -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 the base text color is black...
@if (rgba(black, 1) == rgba($baseTextColor, 1)) { @if (rgba(black, 1) == rgba($baseTextColor, 1)) {
&.secondary-text,
.secondary-text,
.mat-icon, .mat-icon,
.icon { .icon {
color: rgba(0, 0, 0, 0.54);
}
&.secondary-text,
.secondary-text {
color: rgba(0, 0, 0, 0.54) !important; 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, .mat-icon,
.icon { .icon {
color: rgba(255, 255, 255, 1) !important; color: rgba(255, 255, 255, 1);
} }
&.secondary-text, &.secondary-text,