Skip to content

Commit f575944

Browse files
trangdoan982claude
andauthored
Add default color for new node types in settings menu (#887)
New node types created via "Add Node Type" were missing the color field, causing the color circle to not render. Default to grey (#808080). Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 043d650 commit f575944

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/obsidian/src/components/NodeTypeSettings.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ const NodeTypeSettings = () => {
365365
format: "",
366366
template: "",
367367
tag: "",
368+
color: "#808080",
368369
created: now,
369370
modified: now,
370371
};

0 commit comments

Comments
 (0)