docs: Update docs for theme_overrides setting (#41038)

This PR updates the docs to reference the `theme_overrides` setting
instead of the old `experimental.theme_overrides` setting.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2025-10-23 17:52:35 +00:00
committed by GitHub
parent 11eba64e68
commit d83ed4e03e
2 changed files with 21 additions and 17 deletions
+11 -9
View File
@@ -32,20 +32,22 @@ By default, Zed maintains two themes: one for light mode and one for dark mode.
## Theme Overrides
To override specific attributes of a theme, use the `experimental.theme_overrides` setting.
To override specific attributes of a theme, use the `theme_overrides` setting. This setting can be used to configure theme-specific overrides.
For example, add the following to your `settings.json` if you wish to override the background color of the editor and display comments and doc comments as italics:
```json [settings]
{
"experimental.theme_overrides": {
"editor.background": "#333",
"syntax": {
"comment": {
"font_style": "italic"
},
"comment.doc": {
"font_style": "italic"
"theme_overrides": {
"One Dark": {
"editor.background": "#333",
"syntax": {
"comment": {
"font_style": "italic"
},
"comment.doc": {
"font_style": "italic"
}
}
}
}