Add documentation for auto-switching theme (#11908)
Added documentation regarding auto-switching themes to the default settings file, according to ([#9627](https://github.com/zed-industries/zed/issues/9627)). Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
parent
b93e564a78
commit
64ba08cced
1 changed files with 14 additions and 1 deletions
|
@ -1,5 +1,18 @@
|
||||||
{
|
{
|
||||||
// The name of the Zed theme to use for the UI
|
// The name of the Zed theme to use for the UI.
|
||||||
|
//
|
||||||
|
// The theme can also be set to follow system preferences:
|
||||||
|
//
|
||||||
|
// "theme": {
|
||||||
|
// "mode": "system",
|
||||||
|
// "light": "One Light",
|
||||||
|
// "dark": "One Dark"
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// Where `mode` is one of:
|
||||||
|
// - "system": Use the theme that corresponds to the system's appearance
|
||||||
|
// - "light": Use the theme indicated by the "light" field
|
||||||
|
// - "dark": Use the theme indicated by the "dark" field
|
||||||
"theme": "One Dark",
|
"theme": "One Dark",
|
||||||
// The name of a base set of key bindings to use.
|
// The name of a base set of key bindings to use.
|
||||||
// This setting can take four values, each named after another
|
// This setting can take four values, each named after another
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue