]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix linum under text-scaling when leuven-theme is used
authorEli Zaretskii <eliz@gnu.org>
Thu, 1 Jun 2017 14:55:25 +0000 (17:55 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 1 Jun 2017 14:55:25 +0000 (17:55 +0300)
* etc/themes/leuven-theme.el (linum): Make the 'linum' face
inherit from 'default' and 'shadow', so that margins are enlarged
as expected under text-scaling.

etc/themes/leuven-theme.el

index a633962fe7993f6b3ab74e3f47e06f1b756e8728..c15bd41bf81d560809ce868b09f2c219d01aef75 100644 (file)
@@ -461,7 +461,7 @@ Semantic, and Ansi-Color faces are included -- and much more...")
    `(info-xref ((,class (:underline t :foreground "#006DAF")))) ; unvisited cross-references
    `(info-xref-visited ((,class (:underline t :foreground "magenta4")))) ; previously visited cross-references
    `(light-symbol-face ((,class (:background "#FFFFA0"))))
-   `(linum ((,class (:foreground "#9A9A9A" :background "#EDEDED"))))
+   `(linum ((,class (:inherit (default shadow) :foreground "#9A9A9A" :background "#EDEDED"))))
    `(log-view-file ((,class (:foreground "#0000CC" :background "#EAF2F5"))))
    `(lui-button-face ((,class ,link)))
    `(lui-highlight-face ((,class (:box '(:line-width 1 :color "#CC0000") :foreground "#CC0000" :background "#FFFF88")))) ; my nickname