refactor: providing some additional variables for theme support

This commit is contained in:
Gustav
2025-01-09 14:22:12 -05:00
parent f2083f4256
commit 58293b4dc4

View File

@@ -130,6 +130,7 @@ export function useSolarSystemNode(props: any) {
const nodeVars = { const nodeVars = {
// original props // original props
id,
selected, selected,
// computed // computed
visible, visible,
@@ -152,13 +153,18 @@ export function useSolarSystemNode(props: any) {
effectName: effect_name, effectName: effect_name,
regionName: region_name, regionName: region_name,
solarSystemId: solar_system_id, solarSystemId: solar_system_id,
solarSystemName: solar_system_name,
locked, locked,
hubs, hubs,
name: name,
isConnecting,
hoverNodeId,
charactersInSystem, charactersInSystem,
unsplashedLeft, unsplashedLeft,
unsplashedRight, unsplashedRight,
isThickConnections, isThickConnections,
classTitle: class_title, classTitle: class_title,
temporaryName: temporary_name,
}; };
return nodeVars; return nodeVars;