From: Sharon Kimble <boudiccas@skimble.plus.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: writing your own theme and tabbar
Date: Fri, 22 Aug 2014 16:46:43 +0100 [thread overview]
Message-ID: <87y4ugwmqk.fsf@skimble.plus.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2989 bytes --]
I'm trying to develop/write my own theme which is doing more or less
what I want, except for 'tabbar'. This is what I have -
--8<---------------cut here---------------start------------->8---
'(tabbar-selected-highlight ((t (:background "black" :foreground "red" :height 85))))
'(tabbar-selected-modified ((t (:background "black" :foreground "red" :weight bold :height 85))))
'(tabbar-default ((t (:inherit variable-pitch :background "gray" :foreground "black" :weight bold :height 85))))
'(tabbar-selected ((t (:inherit tabbar-default :background "black" :foreground "red" :weight bold :height 85))))
'(tabbar-modified ((t (:background "black" :foreground "red" :weight bold :height 85)))))
--8<---------------cut here---------------end--------------->8---
And what I'm looking for in the tab of the buffer that I'm in is a black
background with red text. But its not happening, instead what I'm
getting is red text on a light green background.
But, in buffers like *org-agenda-mode* or *org-agenda* it is showing
_exactly_ what I'm looking for. Red text on a black background.
Tabbar default is black text on a light-green background, and this seems
to be the code-source for it as its the only place where 'green' is
mentioned, from "tabbar.el" -
--8<---------------cut here---------------start------------->8---
(defface tabbar-modified
'((t
:inherit tabbar-default
:box (:line-width 1 :color "white" :style released-button)
:foreground "green"
))
"Face used for unsaved tabs."
:group 'tabbar)
--8<---------------cut here---------------end--------------->8---
and tabbar-default is -
--8<---------------cut here---------------start------------->8---
(defface tabbar-default
'(
;;(((class color grayscale) (background light))
;; :inherit variable-pitch
;; :height 0.8
;; :foreground "gray50"
;; :background "grey75"
;; )
(((class color grayscale) (background dark))
:inherit variable-pitch
:height 0.8
:foreground "grey75"
:background "gray50"
)
(((class mono) (background light))
:inherit variable-pitch
:height 0.8
:foreground "black"
:background "white"
)
(((class mono) (background dark))
:inherit variable-pitch
:height 0.8
:foreground "white"
:background "black"
)
(t
:inherit variable-pitch
:height 0.8
:foreground "gray50"
:background "gray75"
))
"Default face used in the tab bar."
:group 'tabbar)
--8<---------------cut here---------------end--------------->8---
How can I achieve my goal please of red foreground on a black background
for every tab/buffer that is currently in use, i.e. I'm writing in that
buffer.
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.3.93.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
next reply other threads:[~2014-08-22 15:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-22 15:46 Sharon Kimble [this message]
2014-08-29 4:39 ` writing your own theme and tabbar Alex Kost
2014-08-29 17:07 ` Sharon Kimble
[not found] <mailman.7393.1408722425.1147.help-gnu-emacs@gnu.org>
2014-08-22 18:56 ` Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y4ugwmqk.fsf@skimble.plus.com \
--to=boudiccas@skimble.plus.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.