From c491d97dee91a650b939b5a0dae711adaade598a Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Mon, 4 Dec 2023 18:40:47 +0100 Subject: [PATCH] fix: selection bar not having the right color when the editor does not have focus --- src/lib/components/modes/treemode/JSONNode.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/components/modes/treemode/JSONNode.scss b/src/lib/components/modes/treemode/JSONNode.scss index 856e8b34..675fbbb7 100644 --- a/src/lib/components/modes/treemode/JSONNode.scss +++ b/src/lib/components/modes/treemode/JSONNode.scss @@ -175,7 +175,7 @@ &.jse-selected :global(.jse-collapsed-items), &.jse-selected-value :global(.jse-collapsed-items) { background-color: $selection-background-color; - --jse-collapsed-items-background-color: $collapsed-items-selected-background-color; + --jse-collapsed-items-background-color: #{$collapsed-items-selected-background-color}; } // value selected (part 2) @@ -227,8 +227,8 @@ // lighter selection color when the editor doesn't have focus :global(.jse-main:not(.jse-focus)) { .jse-json-node { - --jse-selection-background-color: $selection-background-inactive-color; - --jse-context-menu-pointer-background: $context-menu-pointer-hover-background; + --jse-selection-background-color: #{$selection-background-inactive-color}; + --jse-context-menu-pointer-background: #{$context-menu-pointer-hover-background}; } }