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

## selectThemeVariant variable

### selectThemeVariant variable

<b>Signature</b>

```typescript
selectThemeVariant: (variants: VariantDescriptor, currentTheme?: GrafanaThemeType | undefined) => string | number
```
<b>Import</b>

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