[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 32a67a5: Set default colors for tick faces
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] master 32a67a5: Set default colors for tick faces |
Date: |
Mon, 7 Oct 2019 20:56:26 -0400 (EDT) |
branch: master
commit 32a67a5cfbfb92a9f76a5caf1c4b84beffcb1d9e
Author: Juanma Barranquero <address@hidden>
Commit: Juanma Barranquero <address@hidden>
Set default colors for tick faces
* lisp/faces.el (line-number-major-tick, line-number-minor-tick):
Set default color different from `line-number' so after customizing
the tick number variables, the ticks are immediately visible.
Suggested by Juri Linkov <address@hidden>.
---
lisp/faces.el | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/lisp/faces.el b/lisp/faces.el
index 58b6349..c789d37 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -2391,7 +2391,11 @@ unwanted effects."
:group 'display-line-numbers)
(defface line-number-major-tick
- '((t :inherit line-number))
+ '((((class color grayscale) (background light))
+ :foreground "grey55" :bold t)
+ (((class color grayscale) (background dark))
+ :foreground "grey75" :bold t)
+ (t :inherit line-number))
"Face for highlighting \"major ticks\" (as in a ruler).
When `display-line-numbers-major-tick' is positive, highlight
the line numbers of lines which are a multiple of its value.
@@ -2408,7 +2412,11 @@ unwanted effects."
:group 'display-line-numbers)
(defface line-number-minor-tick
- '((t :inherit line-number))
+ '((((class color grayscale) (background light))
+ :foreground "grey65" :bold t)
+ (((class color grayscale) (background dark))
+ :foreground "grey55" :bold t)
+ (t :inherit line-number))
"Face for highlighting \"minor ticks\" (as in a ruler).
When `display-line-numbers-minor-tick' is positive, highlight
the line numbers of lines which are a multiple of its value.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 32a67a5: Set default colors for tick faces,
Juanma Barranquero <=