mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-12 02:35:42 +00:00
refactor: providing some additional variables for theme support
This commit is contained in:
@@ -130,6 +130,7 @@ export function useSolarSystemNode(props: any) {
|
||||
|
||||
const nodeVars = {
|
||||
// original props
|
||||
id,
|
||||
selected,
|
||||
// computed
|
||||
visible,
|
||||
@@ -152,13 +153,18 @@ export function useSolarSystemNode(props: any) {
|
||||
effectName: effect_name,
|
||||
regionName: region_name,
|
||||
solarSystemId: solar_system_id,
|
||||
solarSystemName: solar_system_name,
|
||||
locked,
|
||||
hubs,
|
||||
name: name,
|
||||
isConnecting,
|
||||
hoverNodeId,
|
||||
charactersInSystem,
|
||||
unsplashedLeft,
|
||||
unsplashedRight,
|
||||
isThickConnections,
|
||||
classTitle: class_title,
|
||||
temporaryName: temporary_name,
|
||||
};
|
||||
|
||||
return nodeVars;
|
||||
|
||||
Reference in New Issue
Block a user