mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
Fetch the background color from the theme (#2592)
This commit is contained in:
parent
70ce85602d
commit
30ee40a4be
@ -1,6 +1,8 @@
|
|||||||
|
|
||||||
@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;
|
||||||
|
|
||||||
@ -13,6 +15,7 @@
|
|||||||
.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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user