This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/uihoverColor

styleMixins.hoverColor() function

styleMixins.hoverColor() function

Signature

export declare function hoverColor(color: string, theme: GrafanaTheme): string;

Import

import { styleMixins } from '@grafana/ui';
const { hoverColor } = styleMixins;

Parameters

Parameter Type Description
color string
theme GrafanaTheme

Returns:

string