MCPcopy Create free account
hub / github.com/adobe/react-spectrum / getColorHexMap

Function getColorHexMap

packages/dev/s2-docs/src/color.macro.ts:251–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249 * Returns both light and dark mode maps for runtime selection.
250 */
251export function getColorHexMap(): ColorHexMaps {
252 return {
253 light: buildColorMapForMode('light'),
254 dark: buildColorMapForMode('dark')
255 };
256}

Callers 1

Calls 1

buildColorMapForModeFunction · 0.85

Tested by

no test coverage detected