on master help sign in
Fixes #328 - adds info for light backgrounds.
commitad7b634ee60ad0fc3a5c72f6291deaa543382553 authorRuss Taylor <russt@etsy.com> dateThu 11 Oct 2018, 06:52 (8 years ago) parent1310f83
1 file changed+8
README.md+8
README.md+8
@@ -218,6 +218,14 @@ the following command (you need [`fzf`](https://github.com/junegunn/fzf) for thi
218218bat --list-themes | fzf --preview="bat --theme={} --color=always /path/to/file"
219219```
220220
221+`bat` looks good on a dark background by default. However, if your terminal uses a
222+light background, some themes will work better for you. For example, the `GitHub`
223+theme is made for light backgrounds. To set your theme permanently, put
224+`export BAT_THEME="GitHub"` in your shell's startup file (like `.bashrc`). If you'd
225+like to see the other available themes, run `bat --list-themes`. You can also make
226+your own theme by following the
227+['Adding new themes' section below](https://github.com/sharkdp/bat#adding-new-themes).
228+
221229### Output style
222230
223231You can use the `--style` option to control the appearance of `bat`s output.