add theme

This commit is contained in:
2026-03-06 23:32:37 +01:00
parent 5feb2ea228
commit ee05c3f5d6
8 changed files with 126 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
import React from 'react'
import { Handle, Position } from 'reactflow'
import { Handle, Position } from '@xyflow/react'
import { Circle, CircleDashed } from 'lucide-react'
type NodeHandleProps = {
@@ -26,7 +26,7 @@ export function InputHandle({ id }: NodeHandleProps) {
justifyContent: 'center',
}}
>
<CircleDashed className="w-4 h-4 text-gray-500 pointer-events-none" />
<CircleDashed className="w-4 h-4 text-muted-foreground pointer-events-none" />
</Handle>
)
}
@@ -51,7 +51,7 @@ export function OutputHandle({ id }: NodeHandleProps) {
justifyContent: 'center',
}}
>
<Circle className="w-4 h-4 text-gray-800 pointer-events-none" />
<Circle className="w-4 h-4 text-foreground pointer-events-none" />
</Handle>
)
}