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

Function getBorderColor

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

Source from the content-addressed store, hash-verified

36 const nodeColor = data.color || defaultColor
37
38 const getBorderColor = () => {
39 if (data.selected) return theme.palette.primary.main
40 else if (customization?.isDarkMode) return theme.palette.grey[700]
41 else return theme.palette.grey[900] + 50
42 }
43
44 const getBackgroundColor = () => {
45 if (customization?.isDarkMode) {

Callers 1

StickyNoteFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected