---
title: "ThemePatch"
description: "The argument `extend` accepts. `schema` is optional, because a patch that only adds tokens to an existing namespace needs no new entry."
url: "https://pitlane.tools/package/theme/interface/ThemePatch"
---

# ThemePatch

```ts
import type { ThemePatch } from "@pitlane/theme";
```

The argument `extend` accepts. `schema` is optional, because a patch that only adds tokens to an existing namespace needs no new entry.

## Properties

### modes?

```ts
optional modes?: object;
```

---

### schema?

```ts
optional schema?: object;
```

---

### tokens

```ts
tokens: object;
```
