[desktop] fix bug 63875

This commit is contained in:
maxkadushkin
2023-09-20 00:53:40 +03:00
parent 1b7a99e22c
commit 95243a6e9d

View File

@ -55,6 +55,12 @@ if ( window.AscDesktopEditor ) {
type: theme.type,
}
if ( /dark|light/.test(theme.system) ) {
window.uitheme.is_system_theme_dark = function () {
return theme.system == 'dark';
}
}
if ( map_themes && map_themes[theme.id] ) {
window.uitheme.colors = map_themes[theme.id].colors;
// window.desktop.themes = map_themes;