grafana/docs/sources/packages_api/ui/gettheme.md

24 lines
554 B
Markdown

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "getTheme"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++
## getTheme variable
### getTheme variable
<b>Signature</b>
```typescript
getTheme: (name?: string | undefined) => GrafanaTheme
```
<b>Import</b>
```typescript
import { getTheme } from '@grafana/ui';
```