mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-04 07:29:32 +00:00
Document new theme options (#7899)
Added documentation for [#4970](https://github.com/zed-industries/zed/issues/4970), a feature added in the latest update. Will need to modify `Default Settings` to reflect the new default theme example. Release Notes: - N/A
This commit is contained in:
parent
0c939e5dfc
commit
d3745a3931
1 changed files with 63 additions and 1 deletions
|
@ -956,10 +956,72 @@ See Buffer Font Features
|
||||||
|
|
||||||
## Theme
|
## Theme
|
||||||
|
|
||||||
- Description: The name of the Zed theme to use for the UI.
|
- Description: The theme setting can be specified in two forms - either as the name of a theme or as an object containing the `mode`, `dark`, and `light` themes for the Zed UI.
|
||||||
- Setting: `theme`
|
- Setting: `theme`
|
||||||
- Default: `One Dark`
|
- Default: `One Dark`
|
||||||
|
|
||||||
|
### Theme Object
|
||||||
|
|
||||||
|
- Description: Specify the theme using an object that includes the `mode`, `dark`, and `light` themes.
|
||||||
|
- Setting: `theme`
|
||||||
|
- Default:
|
||||||
|
|
||||||
|
```json
|
||||||
|
"theme": {
|
||||||
|
"mode": "dark",
|
||||||
|
"dark": "One Dark",
|
||||||
|
"light": "One Light"
|
||||||
|
},
|
||||||
|
```
|
||||||
|
|
||||||
|
### Mode
|
||||||
|
|
||||||
|
- Description: Specify theme mode.
|
||||||
|
- Setting: `mode`
|
||||||
|
- Default: `dark`
|
||||||
|
|
||||||
|
**Options**
|
||||||
|
|
||||||
|
1. Set the theme to dark mode
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"mode": "dark"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Set the theme to light mode
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"mode": "light"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Set the theme to system mode
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"mode": "system"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Dark
|
||||||
|
|
||||||
|
- Description: The name of the dark Zed theme to use for the UI.
|
||||||
|
- Setting: `dark`
|
||||||
|
- Default: `One Dark`
|
||||||
|
|
||||||
|
**Options**
|
||||||
|
|
||||||
|
Run the `theme selector: toggle` action in the command palette to see a current list of valid themes names.
|
||||||
|
|
||||||
|
### Light
|
||||||
|
|
||||||
|
- Description: The name of the light Zed theme to use for the UI.
|
||||||
|
- Setting: `light`
|
||||||
|
- Default: `One Light`
|
||||||
|
|
||||||
**Options**
|
**Options**
|
||||||
|
|
||||||
Run the `theme selector: toggle` action in the command palette to see a current list of valid themes names.
|
Run the `theme selector: toggle` action in the command palette to see a current list of valid themes names.
|
||||||
|
|
Loading…
Reference in a new issue