🐛 fix(tabsContext.tsx): update stroke color of edges to use a shorter hex code for better readability

🐛 fix(tabsContext.tsx): update stroke color of edges to use a consistent color code for better consistency
This commit is contained in:
Cristhian Zanforlin Lousa 2023-07-13 14:34:28 -03:00
commit f2724f1116

View file

@ -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 "