tweak(builder) Changes to transparency, connector color and title boldness (#7766)

Changes to transparency, connector color and title boldness
This commit is contained in:
Swifty
2024-08-13 15:07:07 +02:00
committed by GitHub
parent 82c5cd2d79
commit 55e100ee1e
2 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -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`}
/>
);