From 82f7ca149d2f85235c58288e7b0e54e777e4c3e6 Mon Sep 17 00:00:00 2001 From: Thorsten Ball Date: Sun, 2 Jul 2023 20:27:37 +0200 Subject: [PATCH] README: show how to set color palette in config This just popped into my head. Took me a while to figure out the syntax a few weeks back, so why not document it here? I don't think it'll change. I can change the colors though. What I have here is my gruvbox theme. Maybe we should use the default colors? --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 44868a6d0..b1e787076 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,34 @@ foreground= ffffff # Blank lines are ignored! keybind =ctrl+z:close + +# Colors can be changed by setting the 16 colors of `palette`, which each color +# being defined as regular and bold. +# +# black +palette = 0=#1d2021 +palette = 8=#7c6f64 +# red +palette = 1=#cc241d +palette = 9=#fb4934 +# green +palette = 2=#98971a +palette = 10=#b8bb26 +# yellow +palette = 3=#d79921 +palette = 11=#fabd2f +# blue +palette = 4=#458588 +palette = 12=#83a598 +# purple +palette = 5=#b16286 +palette = 13=#d3869b +# aqua +palette = 6=#689d6a +palette = 14=#8ec07c +# white +palette = 7=#a89984 +palette = 15=#fbf1c7 ``` The available keys and valid values are not easily documented yet, but they