From f63dab08274fc5d9d41447039758fa0b3e7f28eb Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Mon, 28 Jun 2021 17:26:13 +0300 Subject: [PATCH] [DE] fix skeleton theme colors --- apps/common/main/lib/controller/Themes.js | 3 ++- apps/documenteditor/main/index.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/common/main/lib/controller/Themes.js b/apps/common/main/lib/controller/Themes.js index 32373d23b..64330b04a 100644 --- a/apps/common/main/lib/controller/Themes.js +++ b/apps/common/main/lib/controller/Themes.js @@ -255,7 +255,8 @@ define([ }, currentThemeId: function () { - return get_ui_theme_name(Common.localStorage.getItem('ui-theme')) || id_default_light_theme; + var t = Common.localStorage.getItem('ui-theme') || Common.localStorage.getItem('ui-theme-id'); + return get_ui_theme_name(t) || id_default_light_theme; }, defaultThemeId: function (type) { diff --git a/apps/documenteditor/main/index.html b/apps/documenteditor/main/index.html index 0f0757a29..71bc2810b 100644 --- a/apps/documenteditor/main/index.html +++ b/apps/documenteditor/main/index.html @@ -14,7 +14,7 @@ --toolbar-header-document: #2a2a2a; --background-toolbar: #404040; --border-toolbar: #2a2a2a; - --highlight-button-hover: #e0e0e0; + --highlight-button-hover: #555; --highlight-header-button-hover: rgba(255,255,255,.05); --canvas-background: #666666; /*--canvas-content-background: #fff;*/