From 44ff8e449dba0de32500da3c3f17fc1361449717 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Mon, 4 May 2020 17:39:05 +0900 Subject: Add document of colorscheme --- docs/properties.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'docs') diff --git a/docs/properties.md b/docs/properties.md index 921fbff..2fb6d20 100644 --- a/docs/properties.md +++ b/docs/properties.md @@ -52,3 +52,19 @@ Each character represents the following: ``` :set complete=sbh ``` + +## `colorscheme` + +Set color scheme on the console. The allowed value is one of `light`, `dark`, +and `system` (default). `light` and `dark` indicate the light-mode and +dark-mode are used in the console, respectively. `system` indicate the +preferred color configured by system settings is used (see also +[prefers-color-scheme][]). + +``` +set colorscheme=system " Use system settings +set colorscheme=light " Light mode +set colorscheme=dark " Dark mode +``` + +[prefers-color-scheme]: https://developer.mozilla.org/docs/Web/CSS/@media/prefers-color-scheme -- cgit v1.2.3