diff doc/configuration.rst @ 3046:d9f328374473

jp: dark and light theme: - `background` setting can now be used in sat.conf to indicate if the terminal use a `dark` or a `light` colour - if `background` is not set or set to `auto`, the background colour is autodetected - Jp.get_config (or CommandBase.get_config) method can now be used to retrieve a setting
author Goffi <goffi@goffi.org>
date Tue, 01 Oct 2019 22:49:10 +0200
parents 72583524cfd3
children f21412896620
line wrap: on
line diff
--- a/doc/configuration.rst	Tue Oct 01 22:49:10 2019 +0200
+++ b/doc/configuration.rst	Tue Oct 01 22:49:10 2019 +0200
@@ -103,6 +103,9 @@
     hosts_dict = {
         "example.org": {"host": "127.0.0.1"}
         }
+    ; background luminance, used by terminal frontends
+    ; can be "auto" (default) to autodetect, "dark" or "light"
+    background = auto
 
     [plugin account]
     ; where a new account must be created