API Reference@grafana/dataGrafanaThemeV2

GrafanaThemeV2 interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature

export interface GrafanaThemeV2 

Import

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

Properties

Property Type Description
breakpoints ThemeBreakpoints (BETA)
components ThemeComponents (BETA)
isDark boolean (BETA)
isLight boolean (BETA)
name string (BETA)
palette ThemePalette (BETA)
shadows ThemeShadows (BETA)
shape ThemeShape (BETA)
spacing ThemeSpacing (BETA)
typography ThemeTypography (BETA)
zIndex ThemeZIndices (BETA)

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

breakpoints property

Signature

breakpoints: ThemeBreakpoints;

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

components property

Signature

components: ThemeComponents;

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

isDark property

Signature

isDark: boolean;

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

isLight property

Signature

isLight: boolean;

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

name property

Signature

name: string;

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

palette property

Signature

palette: ThemePalette;

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

shadows property

Signature

shadows: ThemeShadows;

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

shape property

Signature

shape: ThemeShape;

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

spacing property

Signature

spacing: ThemeSpacing;

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

typography property

Signature

typography: ThemeTypography;

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

zIndex property

Signature

zIndex: ThemeZIndices;