From cbc2df9cee81e6cc6a1e912d61e6ca5c4635d005 Mon Sep 17 00:00:00 2001 From: rajgandhi1 Date: Tue, 13 May 2025 17:43:50 +0530 Subject: [PATCH 1/3] fix: symbol replace text box dark mode contrast (#6827) --- src/clientSideScene/ClientSideSceneComp.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clientSideScene/ClientSideSceneComp.tsx b/src/clientSideScene/ClientSideSceneComp.tsx index dfff5b6661..004de63634 100644 --- a/src/clientSideScene/ClientSideSceneComp.tsx +++ b/src/clientSideScene/ClientSideSceneComp.tsx @@ -615,7 +615,7 @@ const ConstraintSymbol = ({ {isConstrained ? 'Constrained' : 'Unconstrained'} - + {displayName} From c89ca853709ba935a29abe62eeb27fa95735cbf7 Mon Sep 17 00:00:00 2001 From: rajgandhi1 Date: Thu, 15 May 2025 17:35:46 +0530 Subject: [PATCH 2/3] correct fix for rename popup white text on white background #6827 --- src/clientSideScene/ClientSideSceneComp.tsx | 2 +- src/index.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/clientSideScene/ClientSideSceneComp.tsx b/src/clientSideScene/ClientSideSceneComp.tsx index 004de63634..dfff5b6661 100644 --- a/src/clientSideScene/ClientSideSceneComp.tsx +++ b/src/clientSideScene/ClientSideSceneComp.tsx @@ -615,7 +615,7 @@ const ConstraintSymbol = ({ {isConstrained ? 'Constrained' : 'Unconstrained'} - + {displayName} diff --git a/src/index.css b/src/index.css index 8af86efda2..e45ffa79d6 100644 --- a/src/index.css +++ b/src/index.css @@ -212,6 +212,11 @@ code { z-index: 99999999999 !important; } +.cm-rename-popup input { + color: black !important; + background: white !important; +} + @keyframes blink { 0%, 100% { From d7e5c1f5864702baedc89b911eb2fcc0ccfbe221 Mon Sep 17 00:00:00 2001 From: rajgandhi1 Date: Thu, 15 May 2025 18:08:11 +0530 Subject: [PATCH 3/3] added comments explaining the change --- src/index.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.css b/src/index.css index e45ffa79d6..063b7e1ffc 100644 --- a/src/index.css +++ b/src/index.css @@ -213,6 +213,7 @@ code { } .cm-rename-popup input { + /* use black text on white background in both light and dark mode */ color: black !important; background: white !important; }