# WindowTheme

`import { WindowTheme } from "destack:display/binding";`

Host theme value.

```ds title="WindowTheme"
export enum WindowTheme {
    Unknown = 0,
    Light = 1,
    Dark = 2,
    HighContrastLight = 3,
    HighContrastDark = 4,
}
```

[language/library/src/display/binding/window.ds:101:112](https://github.com/destack-sh/destack/blob/main/language/library/src/display/binding/window.ds#L101-L112)

## Variants

### `Unknown = 0`

Backend did not report one theme.

### `Light = 1`

Light theme.

### `Dark = 2`

Dark theme.

### `HighContrastLight = 3`

Light high-contrast theme.

### `HighContrastDark = 4`

Dark high-contrast theme.
