MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / getStateColor

Function getStateColor

packages/ui/src/views/agentflowsv2/StickyNote.jsx:49–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47
48 // Get different shades of the color based on state
49 const getStateColor = () => {
50 if (data.selected) return nodeColor
51 if (isHovered) return alpha(nodeColor, 0.8)
52 return alpha(nodeColor, 0.5)
53 }
54
55 const getBackgroundColor = () => {
56 if (customization.isDarkMode) {

Callers 1

StickyNoteFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected