mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-12 08:30:08 +00:00
[Refactor] Abstract legacy link colour properties (#972)
Replaces colour context interface with a simple abstraction object / interface.
This commit is contained in:
@@ -410,3 +410,8 @@ export interface ContextMenuDivElement<TValue = unknown> extends HTMLDivElement
|
||||
}
|
||||
|
||||
export type INodeSlotContextItem = [string, ISlotType, Partial<INodeInputSlot & INodeOutputSlot>]
|
||||
|
||||
export interface DefaultConnectionColors {
|
||||
getConnectedColor(type: ISlotType): CanvasColour
|
||||
getDisconnectedColor(type: ISlotType): CanvasColour
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user