* matching color themes with org mode
@ 2009-04-11 15:03 Rustom Mody
2009-04-12 16:53 ` Carsten Dominik
0 siblings, 1 reply; 3+ messages in thread
From: Rustom Mody @ 2009-04-11 15:03 UTC (permalink / raw)
To: emacs-orgmode, help-gnu-emacs
[-- Attachment #1.1: Type: text/plain, Size: 430 bytes --]
The only 'color-theme' Ive been able to use so far is to set background to
wheat.
I am now trying some more attractive (aka darker) color themes
Now I have
(custom-set-faces
'(org-hide ((((background light)) (:foreground "wheat")))))
which is done to hide stars in org mode. [That's a fearful number of '('s
even for an ol-lisper!]
I would like to generalize "wheat" to "whatever is the background color"
How is that done?
[-- Attachment #1.2: Type: text/html, Size: 540 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: matching color themes with org mode
2009-04-11 15:03 matching color themes with org mode Rustom Mody
@ 2009-04-12 16:53 ` Carsten Dominik
0 siblings, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2009-04-12 16:53 UTC (permalink / raw)
To: Rustom Mody; +Cc: help-gnu-emacs, emacs-orgmode
Hi Rustom,
On Apr 11, 2009, at 5:03 PM, Rustom Mody wrote:
> The only 'color-theme' Ive been able to use so far is to set
> background to wheat.
>
> I am now trying some more attractive (aka darker) color themes
>
> Now I have
>
> (custom-set-faces
> '(org-hide ((((background light)) (:foreground "wheat")))))
>
> which is done to hide stars in org mode. [That's a fearful number of
> '('s even for an ol-lisper!]
>
> I would like to generalize "wheat" to "whatever is the background
> color"
I don't think you can do it easily in the face definition, but later
you can do
(set-face-attribute 'org-hide nil
:foreground
(face-attribute 'default :background))
HTH
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: matching color themes with org mode
@ 2009-04-12 16:53 ` Carsten Dominik
0 siblings, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2009-04-12 16:53 UTC (permalink / raw)
To: Rustom Mody; +Cc: help-gnu-emacs, emacs-orgmode
Hi Rustom,
On Apr 11, 2009, at 5:03 PM, Rustom Mody wrote:
> The only 'color-theme' Ive been able to use so far is to set
> background to wheat.
>
> I am now trying some more attractive (aka darker) color themes
>
> Now I have
>
> (custom-set-faces
> '(org-hide ((((background light)) (:foreground "wheat")))))
>
> which is done to hide stars in org mode. [That's a fearful number of
> '('s even for an ol-lisper!]
>
> I would like to generalize "wheat" to "whatever is the background
> color"
I don't think you can do it easily in the face definition, but later
you can do
(set-face-attribute 'org-hide nil
:foreground
(face-attribute 'default :background))
HTH
- Carsten
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-12 16:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-11 15:03 matching color themes with org mode Rustom Mody
2009-04-12 16:53 ` Carsten Dominik
2009-04-12 16:53 ` Carsten Dominik
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.