AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
tweak(builder) Changes to transparency, connector color and title boldness (#7766)
Swifty55e100ee1e69
diff --git a/rnd/autogpt_builder/src/components/CustomNode.tsx b/rnd/autogpt_builder/src/components/CustomNode.tsxindex 9e50b3b5c7..3be5a3dbfa 100644--- a/rnd/autogpt_builder/src/components/CustomNode.tsx+++ b/rnd/autogpt_builder/src/components/CustomNode.tsx@@ -277,12 +277,12 @@ const CustomNode: FC<NodeProps<CustomNodeData>> = ({ data, id }) => {return (<div- className={`custom-node dark-theme border rounded-xl shandow-md bg-white/[.8] ${data.status?.toLowerCase() ?? ""}`}+ className={`custom-node dark-theme border rounded-xl shandow-md bg-white/[.9] ${data.status?.toLowerCase() ?? ""}`}onMouseEnter={handleHovered}onMouseLeave={handleMouseLeave}>- <div className="mb-2 p-3 bg-gray-300 rounded-t-xl">- <div className="p-3 text-lg font-bold">+ <div className="mb-2 p-3 bg-gray-300/[.7] rounded-t-xl">+ <div className="p-3 text-lg font-semibold font-roboto">{beautifyString(data.blockType?.replace(/Block$/, "") || data.title)}</div><div className="flex gap-[5px] ">diff --git a/rnd/autogpt_builder/src/components/NodeHandle.tsx b/rnd/autogpt_builder/src/components/NodeHandle.tsxindex 0a908cf3ab..7bfae99e26 100644--- a/rnd/autogpt_builder/src/components/NodeHandle.tsx+++ b/rnd/autogpt_builder/src/components/NodeHandle.tsx@@ -42,7 +42,7 @@ const NodeHandle: FC<HandleProps> = ({const dot = (<div- className={`w-4 h-4 m-1 border-2 bg-white ${isConnected ? getTypeBgColor(schema.type || "any") : "border-gray-600"} rounded-full transition-colors duration-100 group-hover:bg-gray-300`}+ className={`w-4 h-4 m-1 border-2 bg-white ${isConnected ? getTypeBgColor(schema.type || "any") : "border-gray-300"} rounded-full transition-colors duration-100 group-hover:bg-gray-300`}/>);