# ControlTheme Type

> ControlTheme type alias in the Node.js TypeScript API: The theme value auto, light or dark, with its syntax and a TypeScript example of setting it.

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

---

Public type for ControlTheme.

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

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

### 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
const value = 'auto';
console.log(value);
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/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/nodejs/controlareas/statusbar-property/llms-full.txt)
- **Next:** [Coordinates Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/coordinates/llms-full.txt)
