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:
Kuppjaerk 2024-05-17 19:29:59 +02:00 committed by GitHub
parent b93e564a78
commit 64ba08cced
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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