From f2724f1116cec7650658f816413074e08ac3ba0e Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Thu, 13 Jul 2023 14:34:28 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(tabsContext.tsx):=20update?= =?UTF-8?q?=20stroke=20color=20of=20edges=20to=20use=20a=20shorter=20hex?= =?UTF-8?q?=20code=20for=20better=20readability=20=F0=9F=90=9B=20fix(tabsC?= =?UTF-8?q?ontext.tsx):=20update=20stroke=20color=20of=20edges=20to=20use?= =?UTF-8?q?=20a=20consistent=20color=20code=20for=20better=20consistency?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/contexts/tabsContext.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/contexts/tabsContext.tsx b/src/frontend/src/contexts/tabsContext.tsx index a7ddf11f8..479131db2 100644 --- a/src/frontend/src/contexts/tabsContext.tsx +++ b/src/frontend/src/contexts/tabsContext.tsx @@ -195,7 +195,7 @@ export function TabsProvider({ children }: { children: ReactNode }) { if (!flow.data || !flow.data.edges) return; flow.data.edges.forEach((edge) => { edge.className = ""; - edge.style = { stroke: "#555555" }; + edge.style = { stroke: "#555" }; }); } @@ -472,7 +472,7 @@ export function TabsProvider({ children }: { children: ReactNode }) { sourceHandle, targetHandle, id, - style: { stroke: "inherit" }, + style: { stroke: "#555" }, className: targetHandle.split("|")[0] === "Text" ? "stroke-gray-800 "