# ControlTheme Type

> ControlTheme type alias in the TX Sheet Control TypeScript API for the browser, with its syntax and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > ControlTheme Type
- **250 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/controltheme/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/controltheme/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/controltheme/llms-full.txt

---

Public type for ControlTheme.

Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

Type-only declaration; it is not a JavaScript runtime constructor.

### Syntax

```typescript
type ControlTheme = 'auto' | 'light' | 'dark';
```

### Examples

Use this public value with the application package shown below. File and font inputs are application-owned resources, not automatically downloaded product data.

```typescript
import type { ControlTheme } from '@txtextcontrol/tx-sheet-control';

const value: ControlTheme = 'auto';
console.log(value);
```

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Formatting and Number Display](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formatting/llms-full.txt)

---

## Nearby

- **Previous:** [ControlAreas.statusBar Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/controlareas/statusbar-property/llms-full.txt)
- **Next:** [Coordinates Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/coordinates/llms-full.txt)
