From 386bf60f37be04c52e12c45c3ee01542ec4ef00e Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Sat, 24 Apr 2021 19:42:14 +0300 Subject: [PATCH] [themes] debug themes --- apps/common/main/lib/controller/Themes.js | 2 +- apps/common/main/resources/less/colors-table-classic.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/common/main/lib/controller/Themes.js b/apps/common/main/lib/controller/Themes.js index 0986d3bb7..48ea99edc 100644 --- a/apps/common/main/lib/controller/Themes.js +++ b/apps/common/main/lib/controller/Themes.js @@ -206,7 +206,7 @@ define([ }) this.api = api; - var theme_name = Common.localStorage.getItem('ui-theme', id_default_light_theme); + var theme_name = Common.localStorage.getItem('ui-theme') || id_default_light_theme; if ( !$('body').hasClass(theme_name) ) { $('body').addClass(theme_name); diff --git a/apps/common/main/resources/less/colors-table-classic.less b/apps/common/main/resources/less/colors-table-classic.less index c92beb202..f944eb714 100644 --- a/apps/common/main/resources/less/colors-table-classic.less +++ b/apps/common/main/resources/less/colors-table-classic.less @@ -54,7 +54,7 @@ // Canvas colors --canvas-background: #e2e2e2; --canvas-content-background: #fff; - --canvas-page-border: #555; + --canvas-page-border: #ccc; --canvas-ruler-background: #555; --canvas-ruler-margins-background: #444;