Revision 58614
Added by Konstantinos Triantafyllou almost 4 years ago
customization.component.ts | ||
---|---|---|
54 | 54 |
|
55 | 55 |
});*/ |
56 | 56 |
|
57 |
// TODO When customization is updated remove trhe followin and update appendCss in index.html
|
|
57 |
// TODO When customization is updated remove the following and update appendCss in index.html
|
|
58 | 58 |
appendCss(""); |
59 | 59 |
if(typeof document === 'undefined') { |
60 | 60 |
return; |
61 | 61 |
} |
62 |
document.documentElement.style.setProperty('--portal-main-color', '#4687E6'); |
|
63 |
document.documentElement.style.setProperty('--portal-dark-color', '#2D72D6'); |
|
62 |
if(this.communityId === 'covid-19') { |
|
63 |
document.documentElement.style.setProperty('--portal-main-color', '#03ADEE'); |
|
64 |
document.documentElement.style.setProperty('--portal-dark-color', '#F15157'); |
|
65 |
} else { |
|
66 |
document.documentElement.style.setProperty('--portal-main-color', '#4687E6'); |
|
67 |
document.documentElement.style.setProperty('--portal-dark-color', '#2D72D6'); |
|
68 |
} |
|
64 | 69 |
|
65 | 70 |
|
66 | 71 |
} |
Also available in: Unified diff
[Connect | Trunk]: Change Curators and Organizations base on new mocks