chore(docs): lint

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-04-11 20:29:53 +02:00
parent f4616af840
commit 4454867c36
9 changed files with 41 additions and 15 deletions
+12 -4
View File
@@ -19,14 +19,22 @@ const connectionLineStyle = { stroke: '#fff' }
// minimap stroke color functions
function nodeStroke(n) {
if (n.type === 'input') return '#0041d0'
if (n.type === 'custom') return presets.sumi
if (n.type === 'output') return '#ff0072'
if (n.type === 'input') {
return '#0041d0'
}
if (n.type === 'custom') {
return presets.sumi
}
if (n.type === 'output') {
return '#ff0072'
}
return '#eee'
}
function nodeColor(n) {
if (n.type === 'custom') return bgColor.value
if (n.type === 'custom') {
return bgColor.value
}
return '#fff'
}