🐛 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:
parent
0e40bb0a87
commit
f2724f1116
1 changed files with 2 additions and 2 deletions
|
|
@ -195,7 +195,7 @@ export function TabsProvider({ children }: { children: ReactNode }) {
|
||||||
if (!flow.data || !flow.data.edges) return;
|
if (!flow.data || !flow.data.edges) return;
|
||||||
flow.data.edges.forEach((edge) => {
|
flow.data.edges.forEach((edge) => {
|
||||||
edge.className = "";
|
edge.className = "";
|
||||||
edge.style = { stroke: "#555555" };
|
edge.style = { stroke: "#555" };
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -472,7 +472,7 @@ export function TabsProvider({ children }: { children: ReactNode }) {
|
||||||
sourceHandle,
|
sourceHandle,
|
||||||
targetHandle,
|
targetHandle,
|
||||||
id,
|
id,
|
||||||
style: { stroke: "inherit" },
|
style: { stroke: "#555" },
|
||||||
className:
|
className:
|
||||||
targetHandle.split("|")[0] === "Text"
|
targetHandle.split("|")[0] === "Text"
|
||||||
? "stroke-gray-800 "
|
? "stroke-gray-800 "
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue