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

Function getBackgroundColor

packages/ui/src/views/canvas/StickyNote.jsx:44–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 }
43
44 const getBackgroundColor = () => {
45 if (customization?.isDarkMode) {
46 return data.selected ? darken(nodeColor, 0.7) : darken(nodeColor, 0.8)
47 } else {
48 return data.selected ? lighten(nodeColor, 0.1) : lighten(nodeColor, 0.2)
49 }
50 }
51
52 return (
53 <>

Callers 1

StickyNoteFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected