mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
[desktop] load themes from desktop app
This commit is contained in:
@ -62,7 +62,7 @@
|
||||
!window.uitheme.id && window.uitheme.set_id(localStorage.getItem("ui-theme-id"));
|
||||
window.uitheme.iscontentdark = localStorage.getItem("content-theme") == 'dark';
|
||||
|
||||
let objtheme = localStorage.getItem("ui-theme");
|
||||
let objtheme = window.uitheme.colors ? window.uitheme : localStorage.getItem("ui-theme");
|
||||
if ( !!objtheme ) {
|
||||
if ( typeof(objtheme) == 'string' &&
|
||||
objtheme.startsWith("{") && objtheme.endsWith("}") )
|
||||
|
||||
Reference in New Issue
Block a user