Skip to content

spatial-monorepo


spatial-monorepo / core/src / resolveWallFillForThemeMode

Function: resolveWallFillForThemeMode()

resolveWallFillForThemeMode(themeMode): string

Defined in: packages/core/src/layers/IMDFFloorLayer.ts:99

Issue #474 — Resolve the active wall fill colour (theme token --spatial-wall-fill, ThemeMap.wallFill) from the store's themeMode. Mirrors resolveRoomTypeForThemeMode's fallback contract: 'system' and any unrecognised value fall back to the light palette.

Parameters

themeMode

ThemeMode | null | undefined

Returns

string

Released under commercial licensing.