API Reference@grafana/uihoverColor

styleMixins.hoverColor() function

styleMixins.hoverColor() function

Signature

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

Import

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

Parameters

Parameter Type Description
color string
theme GrafanaTheme2

Returns:

string