From a357e280c2069cd77d5e47f3bdbb5f2a2eac0939 Mon Sep 17 00:00:00 2001 From: Lorenzo Blasa Date: Wed, 10 Aug 2022 04:13:11 -0700 Subject: [PATCH] Fix highlight selection background colour Summary: There was a regression in which the selection background color made the selection hard to read in dark mode. Reviewed By: mweststrate Differential Revision: D38572894 fbshipit-source-id: c46d384175132112e1223434534a379318bfa2ea --- .../flipper-plugin/src/ui/data-inspector/DataInspectorNode.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/flipper-plugin/src/ui/data-inspector/DataInspectorNode.tsx b/desktop/flipper-plugin/src/ui/data-inspector/DataInspectorNode.tsx index 651c52feb..39162fb97 100644 --- a/desktop/flipper-plugin/src/ui/data-inspector/DataInspectorNode.tsx +++ b/desktop/flipper-plugin/src/ui/data-inspector/DataInspectorNode.tsx @@ -50,7 +50,7 @@ const BaseContainer = styled.div<{ paddingLeft: 10, userSelect: 'text', width: '100%', - backgroundColor: props.hovered ? '#f9f9f9' : '', + backgroundColor: props.hovered ? theme.selectionBackgroundColor : '', })); BaseContainer.displayName = 'DataInspector:BaseContainer';