mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
updated node hadles dark mode
This commit is contained in:
@@ -32,7 +32,7 @@ const NodeHandle: FC<HandleProps> = ({
|
||||
|
||||
const label = (
|
||||
<div className="flex flex-grow flex-row">
|
||||
<span className="text-m green flex items-end pr-2 text-gray-900">
|
||||
<span className="text-m green flex items-end pr-2 text-gray-900 dark:text-gray-100">
|
||||
{schema.title || beautifyString(keyName.toLowerCase())}
|
||||
{isRequired ? "*" : ""}
|
||||
</span>
|
||||
@@ -45,10 +45,10 @@ const NodeHandle: FC<HandleProps> = ({
|
||||
const Dot = ({ className = "" }) => {
|
||||
const color = isConnected
|
||||
? getTypeBgColor(schema.type || "any")
|
||||
: "border-gray-300";
|
||||
: "border-gray-300 dark:border-gray-600";
|
||||
return (
|
||||
<div
|
||||
className={`${className} ${color} m-1 h-4 w-4 rounded-full border-2 bg-white transition-colors duration-100 group-hover:bg-gray-300`}
|
||||
className={`${className} ${color} m-1 h-4 w-4 rounded-full border-2 bg-white dark:bg-slate-800 transition-colors duration-100 group-hover:bg-gray-300 dark:group-hover:bg-gray-700`}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user