]> git.eshelyaron.com Git - emacs.git/commitdiff
Use variable-pitch fonts in tab-bar and tab-line faces
authorJuri Linkov <juri@linkov.net>
Mon, 14 Oct 2019 20:07:23 +0000 (23:07 +0300)
committerJuri Linkov <juri@linkov.net>
Mon, 14 Oct 2019 20:07:23 +0000 (23:07 +0300)
* lisp/tab-bar.el (tab-bar):
* lisp/tab-line.el (tab-line):
Inherit face from variable-pitch.

lisp/tab-bar.el
lisp/tab-line.el

index b7de64d4ae960bd2c2b8b51fc9aac549f16cde01..e96d5d15b2bce2eff37857e5f8a5d599a0d827dd 100644 (file)
@@ -51,6 +51,7 @@
 (defface tab-bar
   '((((type x w32 ns) (class color))
      :height 1.1
+     :inherit variable-pitch
      :background "grey85"
      :foreground "black")
     (((type x) (class mono))
@@ -62,7 +63,9 @@
   :group 'tab-bar-faces)
 
 (defface tab-bar-tab
-  '((((class color) (min-colors 88))
+  '((default
+      :inherit tab-bar)
+    (((class color) (min-colors 88))
      :box (:line-width 1 :style released-button))
     (t
      :inverse-video nil))
index b552df9ba589757b206ec4193606137370dc4d65..69b510b64c0846f6fa02e3d359c0dfbb8a454081 100644 (file)
@@ -43,6 +43,7 @@
 
 (defface tab-line
   '((((type x w32 ns) (class color))
+     :inherit variable-pitch
      :background "grey85"
      :foreground "black")
     (((type x) (class mono))
   :group 'tab-line-faces)
 
 (defface tab-line-tab
-  '((((class color) (min-colors 88))
-     :box (:line-width 1 :style released-button)
-     :background "grey85")
+  '((default
+      :inherit tab-line)
+    (((class color) (min-colors 88))
+     :box (:line-width 1 :style released-button))
     (t
      :inverse-video nil))
   "Tab line face for selected tab."