[feat] Improve SubgraphNode badge with sitemap icon and primary color (#4596)

This commit is contained in:
Christian Byrne
2025-07-30 02:48:02 -07:00
committed by GitHub
parent 2b019935a7
commit f987cf9dbd

View File

@@ -129,9 +129,15 @@ export const useLitegraphService = () => {
void extensionService.invokeExtensionsAsync('nodeCreated', this)
this.badges.push(
new LGraphBadge({
text: '',
fgColor: '#dad0de',
bgColor: '#b3b'
text: '',
iconOptions: {
unicode: '\ue96e',
fontFamily: 'PrimeIcons',
color: '#ffffff',
fontSize: 12
},
fgColor: '#ffffff',
bgColor: '#3b82f6'
})
)
}