Rollback background color. (#2609)

By default, toolbars use a neutral background color based on the current theme (light or dark). This can be changed to 'primary', 'accent', or 'warn'.
This commit is contained in:
Maurizio Vitale 2017-11-06 13:00:04 +00:00 committed by Eugenio Romano
parent 256b6d1c5e
commit 7146ee51a2

View File

@ -1,8 +1,6 @@
@mixin adf-toolbar-theme($theme) { @mixin adf-toolbar-theme($theme) {
$foreground: map-get($theme, foreground); $foreground: map-get($theme, foreground);
$background: map-get($theme, background);
$adf-toolbar-background-color: mat-color($background, background) !default;
$adf-toolbar-height: 48px; $adf-toolbar-height: 48px;
$adf-toolbar-font-size: 14px; $adf-toolbar-font-size: 14px;
@ -15,7 +13,6 @@
.mat-toolbar { .mat-toolbar {
min-height: $adf-toolbar-height; min-height: $adf-toolbar-height;
border: 1px solid mat-color($foreground, text, .07); border: 1px solid mat-color($foreground, text, .07);
background-color: $adf-toolbar-background-color;
} }
.mat-toolbar-row { .mat-toolbar-row {