branch: externals/indent-bars commit 138bbab23f1bb72c1b5ac2faf02d4efff89f6eb9 Author: JD Smith <93749+jdtsm...@users.noreply.github.com> Commit: GitHub <nore...@github.com>
Update examples.md --- examples.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/examples.md b/examples.md index 80bbd2251b..9feb1b191e 100644 --- a/examples.md +++ b/examples.md @@ -82,6 +82,21 @@ indent-bars-highlight-current-depth '(:background "gray10")) ``` +## Minimal colorpop: +Showcasing `:blend`-only current coloring. +<img width="602" alt="image" src="https://github.com/jdtsmith/indent-bars/assets/93749/ef02e099-798c-4eb7-947a-6fe144a9104d"> + +```emacs-lisp +(setq + indent-bars-color '(highlight :face-bg t :blend 0.15) + indent-bars-pattern "." + indent-bars-width-frac 0.1 + indent-bars-pad-frac 0.1 + indent-bars-zigzag nil + indent-bars-color-by-depth '(:regexp "outline-\\([0-9]+\\)" :blend 1) ; blend=1: blend with BG only + indent-bars-highlight-current-depth '(:blend 0.5) ; pump up the BG blend on current + indent-bars-display-on-blank-lines t) +``` ## In terminal: <img width="505" alt="ib_term" src="https://github.com/jdtsmith/indent-bars/assets/93749/d2f51fa7-5993-4c34-93b2-effef32a469d">