aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/faces.el12
1 files changed, 10 insertions, 2 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 58b6349ccfd..c789d3729e0 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -2391,7 +2391,11 @@ unwanted effects."
2391 :group 'display-line-numbers) 2391 :group 'display-line-numbers)
2392 2392
2393(defface line-number-major-tick 2393(defface line-number-major-tick
2394 '((t :inherit line-number)) 2394 '((((class color grayscale) (background light))
2395 :foreground "grey55" :bold t)
2396 (((class color grayscale) (background dark))
2397 :foreground "grey75" :bold t)
2398 (t :inherit line-number))
2395 "Face for highlighting \"major ticks\" (as in a ruler). 2399 "Face for highlighting \"major ticks\" (as in a ruler).
2396When `display-line-numbers-major-tick' is positive, highlight 2400When `display-line-numbers-major-tick' is positive, highlight
2397the line numbers of lines which are a multiple of its value. 2401the line numbers of lines which are a multiple of its value.
@@ -2408,7 +2412,11 @@ unwanted effects."
2408 :group 'display-line-numbers) 2412 :group 'display-line-numbers)
2409 2413
2410(defface line-number-minor-tick 2414(defface line-number-minor-tick
2411 '((t :inherit line-number)) 2415 '((((class color grayscale) (background light))
2416 :foreground "grey65" :bold t)
2417 (((class color grayscale) (background dark))
2418 :foreground "grey55" :bold t)
2419 (t :inherit line-number))
2412 "Face for highlighting \"minor ticks\" (as in a ruler). 2420 "Face for highlighting \"minor ticks\" (as in a ruler).
2413When `display-line-numbers-minor-tick' is positive, highlight 2421When `display-line-numbers-minor-tick' is positive, highlight
2414the line numbers of lines which are a multiple of its value. 2422the line numbers of lines which are a multiple of its value.