From fe9e04c09121f28c77f4c2bbde21f57b12ef81f8 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Thu, 13 Jan 2022 16:22:33 +0100 Subject: [PATCH] Tweak the visibility of the region face when using gtk --- README.org | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 075f8dc..2a108c4 100644 --- a/README.org +++ b/README.org @@ -2243,7 +2243,8 @@ The code in listing [[lst:configure-face-attributes]] source implements those ru In case of proper initialization of all face heigths, font scaling is easy as listing [[lst:my-set-default-face-height]] shows. Finally, the code in listing [[lst:my-invert-default-face]] allows swapping the foreground and background colors -of the default face on all frames. +of the default face on all frames and the code in listing [[lst:custom-set-faces]] +improves the visibility of some default faces. #+caption[Configure =face-attributse=]: #+caption: Configure =face-attributes=. @@ -2297,6 +2298,16 @@ of the default face on all frames. (invert-face 'default))) #+end_src +#+caption[Improve the visibility of some default faces]: +#+caption: Improve the visibility of some default faces. +#+name: lst:custom-set-faces +#+begin_src emacs-lisp + (with-eval-after-load 'faces + (custom-set-faces + '(region ((((class color) (min-colors 88) (background light) (type gtk)) + :background "lightgoldenrod2"))))) +#+end_src + ** [[https://jblevins.org/log/rainbow-mode][Visualize color codes and names]] :PROPERTIES: :CUSTOM_ID: sec:rainbow-mode