From 6e7288fa13e749b880b32c8342e57404bedb7cbd Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Thu, 11 Nov 2021 16:03:10 +0400 Subject: [PATCH] Correct logo and fonts --- apps/common/mobile/resources/less/about.less | 14 ++++++++++---- .../mobile/resources/less/colors-table-dark.less | 2 ++ .../common/mobile/resources/less/colors-table.less | 2 ++ apps/common/mobile/resources/less/common.less | 3 +++ 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/apps/common/mobile/resources/less/about.less b/apps/common/mobile/resources/less/about.less index 132de3586..dadcafe97 100644 --- a/apps/common/mobile/resources/less/about.less +++ b/apps/common/mobile/resources/less/about.less @@ -36,9 +36,15 @@ } .logo { - display: inline-block; - width: 100%; - height: 55px; - background: ~"url(@{common-image-about-path}/logo_s.svg) no-repeat center"; + display: inline-block; + width: 100%; + height: 55px; + background: ~"url(@{common-image-about-path}/logo_s.svg) no-repeat center"; } } + +.theme-type-dark { + .about .logo { + background: ~"url(@{common-image-about-path}/logo-white_s.svg) no-repeat center"; + } +} \ No newline at end of file diff --git a/apps/common/mobile/resources/less/colors-table-dark.less b/apps/common/mobile/resources/less/colors-table-dark.less index 5042db029..485e7d387 100644 --- a/apps/common/mobile/resources/less/colors-table-dark.less +++ b/apps/common/mobile/resources/less/colors-table-dark.less @@ -30,5 +30,7 @@ --toolbar-tab-normal: #757575; --component-disabled-opacity: .4; + + --image-border-types-filter: invert(100%) brightness(4); } } \ No newline at end of file diff --git a/apps/common/mobile/resources/less/colors-table.less b/apps/common/mobile/resources/less/colors-table.less index 715160830..cf7d4a7b4 100644 --- a/apps/common/mobile/resources/less/colors-table.less +++ b/apps/common/mobile/resources/less/colors-table.less @@ -28,6 +28,8 @@ --toolbar-tab-normal:fade(#FFF, 50%); --component-disabled-opacity: .4; + + --image-border-types-filter: none; } @brand-word: var(--brand-word); diff --git a/apps/common/mobile/resources/less/common.less b/apps/common/mobile/resources/less/common.less index b466b9be6..7d88042aa 100644 --- a/apps/common/mobile/resources/less/common.less +++ b/apps/common/mobile/resources/less/common.less @@ -92,6 +92,9 @@ max-height: initial; -webkit-line-clamp: initial; } + .font-item img { + filter: var(--image-border-types-filter, none) + } } .shapes {