+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "getTheme"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
draft = true
+++

## getTheme variable

### getTheme variable

<b>Signature</b>

```typescript
getTheme: (name?: string | undefined) => GrafanaTheme
```
<b>Import</b>

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