Tweak the visibility of the region face when using gtk

This commit is contained in:
Gerard Vermeulen 2022-01-13 16:22:33 +01:00
parent 681356452f
commit fe9e04c091

View File

@ -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