Fetch the background color from the theme (#2592)

This commit is contained in:
Maurizio Vitale 2017-11-02 11:14:14 +00:00 committed by Eugenio Romano
parent 70ce85602d
commit 30ee40a4be

View File

@ -1,6 +1,8 @@
@mixin adf-toolbar-theme($theme) {
$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-font-size: 14px;
@ -13,6 +15,7 @@
.mat-toolbar {
min-height: $adf-toolbar-height;
border: 1px solid mat-color($foreground, text, .07);
background-color: $adf-toolbar-background-color;
}
.mat-toolbar-row {