Finally got the tabbar-ruler faces settings right.

This commit is contained in:
tastytea 2019-04-24 23:42:58 +02:00
parent ec8b352773
commit 8a8766ec5e
2 changed files with 23 additions and 49 deletions

70
init.el
View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;; Time-stamp: <2019-04-24T21:16:18+00:00>
;; Time-stamp: <2019-04-24T21:42:47+00:00>
;;; Commentary:
;; I am using this file with Emacs 26, but most of it will probably work with
@ -542,32 +542,6 @@ With argument, do this that many times."
(tabbar-ruler-group-user-buffers) ; Group by frame.
(mode-icons-mode 0) ; Disable modeline symbols.
;; I have to set these 2 times, don't know why.
(set-face-attribute 'tabbar-selected nil
:background "gray11"
:foreground "light gray"
:family "Sans Serif"
:bold t)
(set-face-attribute 'tabbar-unselected nil
:background "gray18"
:foreground "dark gray"
:family "Sans Serif"
:italic t)
(set-face-attribute 'tabbar-modified nil
:inherit 'tabbar-modified
:foreground "brown2"
:italic t
:bold nil)
;; Setting this in :custom-face doesn't work.
(set-face-attribute 'ruler-mode-default nil
:inherit 'default
:background "gray18"
:foreground "dim gray"
:box nil)
(set-face-attribute 'ruler-mode-column-number nil
:inherit 'ruler-mode-default
:foreground "dark gray")
(add-hook 'projectile-after-switch-project-hook ; Does not work under :hook.
'tabbar-ruler-group-by-projectile-project)
:bind
@ -575,28 +549,28 @@ With argument, do this that many times."
("C-<next>" . 'tabbar-ruler-tabbar-forward-tab)
:custom-face
;; I Have to set these 2 times, don't know why.
(tabbar-selected (nil
:background "gray11"
:foreground "light gray"
:family "Sans Serif"
:bold t))
(tabbar-unselected (nil
:background "gray18"
:foreground "dark gray"
(tabbar-selected ((t
(:background "gray11"
:foreground "light gray"
:family "Sans Serif"
:italic t))
(tabbar-modified (nil
:foreground "brown2"
:italic t
:bold nil))
(ruler-mode-default (nil
:inherit default
:background "gray18"
:foreground "dim gray"
:box nil))
(ruler-mode-column-number (nil
:inherit ruler-mode-default
:foreground "dark gray"))
:bold t))))
(tabbar-unselected ((t
(:background "gray18"
:foreground "dark gray"
:family "Sans Serif"
:italic t))))
(tabbar-modified ((t
(:foreground "brown2"
:italic t
:bold nil))))
(ruler-mode-default ((t
(:inherit default
:background "gray18"
:foreground "dim gray"
:box nil))))
(ruler-mode-column-number ((t
(:inherit ruler-mode-default
:foreground "dark gray"))))
))
;; Visualize whitespace.

View File

@ -1,2 +1,2 @@
127.0.0.1:51313 4703
127.0.0.1:51313 24392
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh