Skip to content

spatial-monorepo


spatial-monorepo / core/src / resolveWallTopEdgeColorForThemeMode

Function: resolveWallTopEdgeColorForThemeMode()

resolveWallTopEdgeColorForThemeMode(themeMode): string

Defined in: packages/core/src/layers/wall-top-edges.ts:69

Resolves the active top-edge accent color (theme colors.accent token) from the store's themeMode. Mirrors resolveWallFillForThemeMode's fallback contract (IMDFFloorLayer.ts): 'system' and any unrecognised value fall back to the light palette.

Parameters

themeMode

ThemeMode | null | undefined

Returns

string

Released under commercial licensing.