Shadow Org's org-table face
This commit is contained in:
parent
e755f446dd
commit
13127a4811
17
README.org
17
README.org
@ -443,7 +443,7 @@ show a few tweaks to improve visibility without theming:
|
||||
#+name: lst:shadow-font-lock-faces
|
||||
#+begin_src emacs-lisp
|
||||
(with-eval-after-load 'emacs
|
||||
;; Shadow the definition in org-faces.el:
|
||||
;; Shadow two definitions in org-faces.el:
|
||||
(defface org-block
|
||||
;; https://emacs.stackexchange.com/a/9604 answers:
|
||||
;; How to override a defined face for light and dark backgrounds?
|
||||
@ -465,7 +465,20 @@ show a few tweaks to improve visibility without theming:
|
||||
verse and quote blocks are fontified using the `org-verse' and
|
||||
`org-quote' faces, which inherit from `org-block'.")
|
||||
|
||||
;; Shadow the definition in sh-script.el:
|
||||
(defface org-table
|
||||
;; https://emacs.stackexchange.com/a/9604 answers:
|
||||
;; How to override a defined face for light and dark backgrounds?
|
||||
`((((background dark))
|
||||
:inherit (fixed-pitch)
|
||||
,@(and (>= emacs-major-version 27) '(:extend t))
|
||||
:background "#444444")
|
||||
(t
|
||||
:inherit (fixed-pitch)
|
||||
,@(and (>= emacs-major-version 27) '(:extend t))
|
||||
:background "#FFFFD0"))
|
||||
"My face for tables.")
|
||||
|
||||
;; Shadow one definition in sh-script.el:
|
||||
(defface sh-heredoc
|
||||
'((((class color) (background dark))
|
||||
(:foreground "yellow"))
|
||||
|
Loading…
Reference in New Issue
Block a user