# theme: Properly merge \`SyntaxTheme\` styles to allow for partial overrides \(\#11911\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/178ffabca6f54dff2aedb10fd8e33fdc923e9d2c)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 178ffabca6f54dff2aedb10fd8e33fdc923e9d2c

Requested commit: 178ffabca6f54dff2aedb10fd8e33fdc923e9d2c

Commit: 178ffabca6f54dff2aedb10fd8e33fdc923e9d2c

Tree: 4d5c739d5b207189fac753cb273b76b5abec79d9

Author: Marshall Bowers

Committer: GitHub

## Message

```
theme: Properly merge `SyntaxTheme` styles to allow for partial overrides (#11911)

This PR improves the merging behavior for the `SyntaxTheme` such that
user-provided values get merged into the base theme.

This makes it possible to override individual styles without clobbering
the unspecified styles in the base theme.

Release Notes:

- Improved merging of `syntax` styles in the theme.
```

## Parents

- [4ba57d730ba676c7d3e88a43c48265ed570e8870](https://git.cafe/gitcafe/zed/commit/4ba57d730ba676c7d3e88a43c48265ed570e8870?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/178ffabca6f54dff2aedb10fd8e33fdc923e9d2c?format=markdown)
