Skip to content
Snippets Groups Projects
Commit 69848d3a authored by Fadil's avatar Fadil Committed by pybelecalo
Browse files

[US TRTL-615] Fix header font color set

parent 2ccc9aea
No related branches found
No related tags found
No related merge requests found
......@@ -214,8 +214,12 @@ export class ThemeService {
if (this.defaultMap.hasOwnProperty(key)) {
if (([ThemeColorType.VITAMUI_PRIMARY, ThemeColorType.VITAMUI_SECONDARY, ThemeColorType.VITAMUI_GREY] as string[]).includes(key)) {
this.add10Declinations(key, colors, customerColors);
} else if (ThemeColorType.VITAMUI_HEADER_FOOTER === key) {
colors[key + '-font'] = this.calculateFontColor(this.applicationColorMap[key]);
} else if (key === ThemeColorType.VITAMUI_HEADER_FOOTER) {
if (customerColors[key]) {
colors[key + '-font'] = this.calculateFontColor(customerColors[key]);
} else {
colors[key + '-font'] = this.calculateFontColor(this.applicationColorMap[key]);
}
}
colors[key] = getColorFromMaps(key, this.defaultMap, this.applicationColorMap, customerColors);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment