[themes] apply theme to "presenter" view

This commit is contained in:
Maxim Kadushkin 2021-02-03 10:12:26 +03:00
parent a24f5c0068
commit 3ef5d0e738
2 changed files with 4 additions and 1 deletions

View file

@ -569,7 +569,7 @@
background-color: @highlight-button-pressed;
color: @dropdown-link-active-color;
span.color {
border-color: rgba(255,255,255,0.7);
border-color: @icon-normal;
}
}
}

View file

@ -96,6 +96,9 @@ require([
using : 'reporter'
});
var value = localStorage.getItem("uitheme");
api.asc_setSkin(value == "theme-dark" ? 'flatDark' : "flat");
var setDocumentTitle = function(title) {
(title) && (window.document.title += (' - ' + title));
};