mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
tweak(builder) Changes to transparency, connector color and title boldness (#7766)
Changes to transparency, connector color and title boldness
This commit is contained in:
@@ -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] ">
|
||||
|
||||
@@ -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`}
|
||||
/>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user