mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 10:05:27 +08:00
[desktop] fix bug 63875
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user