From f74530b4ca6bb8709d1f1844023183c8dc2cc337 Mon Sep 17 00:00:00 2001 From: kendoow Date: Fri, 12 Apr 2024 12:45:33 +0300 Subject: [PATCH] fixed opacity for icons --- src/assets/icons/theme.svg | 2 +- src/components/SandboxBlock/SandboxBlock.scss | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/assets/icons/theme.svg b/src/assets/icons/theme.svg index 186efe478ad..02f5b26e7c6 100644 --- a/src/assets/icons/theme.svg +++ b/src/assets/icons/theme.svg @@ -1,3 +1,3 @@ - + diff --git a/src/components/SandboxBlock/SandboxBlock.scss b/src/components/SandboxBlock/SandboxBlock.scss index b3fcdccb817..0a9d8af7d9c 100644 --- a/src/components/SandboxBlock/SandboxBlock.scss +++ b/src/components/SandboxBlock/SandboxBlock.scss @@ -118,10 +118,17 @@ $block: '.#{variables.$ns}sandbox-block'; &__control-icon { cursor: pointer; height: 18px; + + svg { + path { + opacity: 0.5; + } + } + &-disabled { svg { path { - fill: var(--g-color-text-secondary); + fill: var(--g-color-text-hint); } } }