[PE] fix loade colors

This commit is contained in:
maxkadushkin
2023-08-21 12:40:36 +03:00
parent dff728ff4f
commit 5e131edbf9

View File

@ -82,6 +82,12 @@
if ( objtheme.colors ) {
let colors = [];
for (let c in objtheme.colors) {
// TODO: new PE brand color, clear for ver 7.7
if ( c == 'toolbar-header-presentation' &&
objtheme.colors[c] == '#aa5252' )
objtheme.colors[c] = '#BE664F';
//
colors.push('--' + c + ':' + objtheme.colors[c]);
}