API Reference@grafana/data › buildColorsMapForTheme

buildColorsMapForTheme() function

buildColorsMapForTheme() function

Signature

export declare function buildColorsMapForTheme(theme: GrafanaTheme): Record<Color, string>;

Import

import { buildColorsMapForTheme } from '@grafana/data';

Parameters

Parameter Type Description
theme GrafanaTheme

Returns:

Record<Color, string>