branch: elpa/tuareg commit 382c09c00b662da16287c4614e68186236fcf188 Author: Mattias EngdegÄrd <matti...@acm.org> Commit: Mattias EngdegÄrd <matti...@acm.org>
Better face for extension nodes on dark background `tuareg-font-lock-extension-node-face` was nigh-unreadable when using a dark background mode: lightsteelblue (#b0c4de) on grey92 (#ebebeb). Use the user's default background instead. --- tuareg.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tuareg.el b/tuareg.el index 16fceea..8608a89 100644 --- a/tuareg.el +++ b/tuareg.el @@ -460,8 +460,9 @@ Valid names are `browse-url', `browse-url-firefox', etc." (defface tuareg-font-lock-extension-node-face (if tuareg-faces-inherit-p - '((t :inherit tuareg-font-lock-infix-extension-node-face - :background "gray92")) + '((default :inherit tuareg-font-lock-infix-extension-node-face) + (((background dark)) :foreground "LightSteelBlue") + (t :background "gray92")) '((((background light)) (:foreground "Orchid" :background "gray92")) (((background dark)) (:foreground "LightSteelBlue" :background "gray92")) (t (:foreground "LightSteelBlue"))))