# mergeTheme

Canonical: https://docs.shumoku.dev/en/library/api/mergeTheme
Language: en

@shumoku/core · 0.4.0 · function

# mergeTheme

[Source](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/themes/utils.ts#L15)

Merge theme with overrides

```
mergeTheme(base: Theme, overrides?: DeepPartial<Theme>): Theme
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `base` | `Theme` | No additional description. | `—` |
| `overrides` | `DeepPartial<Theme>` | No additional description. | `—` |

## Returns

```
Theme
```

[`libs/@shumoku/core/src/themes/utils.ts:15`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/themes/utils.ts#L15)
