diff --git a/apps/documenteditor/main/index.html.deploy b/apps/documenteditor/main/index.html.deploy
index f8a97819b..f1a891883 100644
--- a/apps/documenteditor/main/index.html.deploy
+++ b/apps/documenteditor/main/index.html.deploy
@@ -203,6 +203,11 @@
window.frameEditorId = params["frameEditorId"];
window.parentOrigin = params["parentOrigin"];
+ var ui_theme_name = params.uitheme || localStorage.getItem("ui-theme");
+ if ( !!ui_theme_name ) {
+ document.documentElement.classList.add(ui_theme_name);
+ }
+
if ( window.AscDesktopEditor ) {
window.desktop = window.AscDesktopEditor;
window.on_native_message = function (cmd, param) {
diff --git a/apps/presentationeditor/main/index.html.deploy b/apps/presentationeditor/main/index.html.deploy
index 0c8eb334f..a1e52ed51 100644
--- a/apps/presentationeditor/main/index.html.deploy
+++ b/apps/presentationeditor/main/index.html.deploy
@@ -240,6 +240,11 @@
window.frameEditorId = params["frameEditorId"];
window.parentOrigin = params["parentOrigin"];
+ var ui_theme_name = params.uitheme || localStorage.getItem("ui-theme");
+ if ( !!ui_theme_name ) {
+ document.documentElement.classList.add(ui_theme_name);
+ }
+
if ( window.AscDesktopEditor ) {
window.desktop = window.AscDesktopEditor;
window.on_native_message = function (cmd, param) {
diff --git a/apps/spreadsheeteditor/main/index.html.deploy b/apps/spreadsheeteditor/main/index.html.deploy
index cafb71dd4..b41ed3ec2 100644
--- a/apps/spreadsheeteditor/main/index.html.deploy
+++ b/apps/spreadsheeteditor/main/index.html.deploy
@@ -240,6 +240,11 @@
window.frameEditorId = params["frameEditorId"];
window.parentOrigin = params["parentOrigin"];
+ var ui_theme_name = params.uitheme || localStorage.getItem("ui-theme");
+ if ( !!ui_theme_name ) {
+ document.documentElement.classList.add(ui_theme_name);
+ }
+
if ( window.AscDesktopEditor ) {
window.desktop = window.AscDesktopEditor;
window.on_native_message = function (cmd, param) {
diff --git a/apps/spreadsheeteditor/main/index_internal.html.deploy b/apps/spreadsheeteditor/main/index_internal.html.deploy
index 5e88aef87..5abd0e270 100644
--- a/apps/spreadsheeteditor/main/index_internal.html.deploy
+++ b/apps/spreadsheeteditor/main/index_internal.html.deploy
@@ -170,6 +170,10 @@
window.frameEditorId = params["frameEditorId"];
window.parentOrigin = params["parentOrigin"];
+ if ( !!params.uitheme ) {
+ document.documentElement.classList.add(params.uitheme);
+ }
+
if ( window.AscDesktopEditor ) {
window.desktop = window.AscDesktopEditor;
window.on_native_message = function (cmd, param) {