From 1803cb52a38471200809eb3f511bd2b50482e8cc Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Fri, 13 Aug 2021 19:40:08 +0300 Subject: [PATCH] Fix alt-key hint color for dark theme --- apps/common/main/resources/less/colors-table-classic.less | 1 + apps/common/main/resources/less/colors-table-dark.less | 1 + apps/common/main/resources/less/colors-table.less | 1 + apps/common/main/resources/less/hint-manager.less | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/common/main/resources/less/colors-table-classic.less b/apps/common/main/resources/less/colors-table-classic.less index 33f7e75bc..50b2dc03a 100644 --- a/apps/common/main/resources/less/colors-table-classic.less +++ b/apps/common/main/resources/less/colors-table-classic.less @@ -45,6 +45,7 @@ --text-inverse: #fff; --text-toolbar-header: #fff; --text-contrast-background: #fff; + --text-alt-key-hint: #444; --icon-normal: #444; --icon-normal-pressed: #fff; diff --git a/apps/common/main/resources/less/colors-table-dark.less b/apps/common/main/resources/less/colors-table-dark.less index 4ffcbeb42..1772e0277 100644 --- a/apps/common/main/resources/less/colors-table-dark.less +++ b/apps/common/main/resources/less/colors-table-dark.less @@ -46,6 +46,7 @@ --text-inverse: #333; --text-toolbar-header: fade(#fff, 80%); --text-contrast-background: #fff; + --text-alt-key-hint: #2a2a2a; --icon-normal: fade(#fff, 80%); --icon-normal-pressed: fade(#fff, 80%); diff --git a/apps/common/main/resources/less/colors-table.less b/apps/common/main/resources/less/colors-table.less index f1224fc6c..177ab6b13 100644 --- a/apps/common/main/resources/less/colors-table.less +++ b/apps/common/main/resources/less/colors-table.less @@ -188,6 +188,7 @@ @text-inverse: var(--text-inverse); @text-toolbar-header: var(--text-toolbar-header); @text-contrast-background: var(--text-contrast-background); +@text-alt-key-hint: var(--text-alt-key-hint); // Icon // ------------------------- diff --git a/apps/common/main/resources/less/hint-manager.less b/apps/common/main/resources/less/hint-manager.less index df74acec3..ef0541000 100644 --- a/apps/common/main/resources/less/hint-manager.less +++ b/apps/common/main/resources/less/hint-manager.less @@ -8,7 +8,7 @@ text-align: center; background-color: @background-alt-key-hint-ie; background-color: @background-alt-key-hint; - color: @text-normal; + color: @text-alt-key-hint; font-size: 12px; line-height: 18px; padding: 0 4px;