[AAE-6057] Customize text color in the header (#7325)

* [AAE-6057] Customize text color in the header

* [AAE-6057] Updates documents

* [AAE-6057] Use css variables to update header colors

* Revert "[AAE-6057] Updates documents"

This reverts commit 1915535c01b77c58d9a6d87bb242e04715bcbc6f.

* [AAE-6057] Fix for css name change

* [AAE-6057] Removing has-mat-color

* [AAE-6057] Removing redundant tests
This commit is contained in:
Bartosz Sekuła
2021-10-29 08:49:05 +02:00
committed by GitHub
parent 08b9cd144f
commit b3140b626c
8 changed files with 57 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
adf-layout-header .mat-toolbar-single-row {
color: var(--theme-primary-color-default-contrast) !important;
adf-layout-header .mat-toolbar-single-row {
color: var(--adf-header-text-color) !important;
background-color: var(--adf-header-background-color);
position: relative;
padding: 0 24px;

View File

@@ -48,6 +48,8 @@
--adf-card-view-label-color: mat-color($foreground, text, 0.4),
--adf-card-view-datetime-border-color: mat-color($foreground, text, 0.42),
--adf-upload-border-color: mat-color($foreground, text, 0.14),
--adf-header-background-color: mat-color($primary),
--adf-header-text-color: mat-color($primary, default-contrast),
--theme-hover-bg-color: mat-color($background, hover),
--theme-text-color: mat-color($foreground, text, 0.54),