API Reference@grafana/uigetTheme

getTheme variable

getTheme variable

Signature

getTheme: (mode?: 'dark' | 'light') => GrafanaTheme

Import

import { getTheme } from '@grafana/ui';