API Reference@grafana/data › ColorDefinition

ColorDefinition type

ColorDefinition type

Signature

export declare type ColorDefinition = {
    hue: Hue;
    isPrimary?: boolean;
    name: Color;
    variants: ThemeVariants;
};

Import

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