help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Faces inheriting colors from gtk theme


From: evan
Subject: Re: Faces inheriting colors from gtk theme
Date: Thu, 8 Nov 2012 13:26:41 -0800 (PST)
User-agent: G2/1.0

On an opposite note...

Is it possible to disable the use of gtk colors for region?

On Saturday, 30 June 2012 20:35:25 UTC+1, Jeremy Nickurak  wrote:
> I've read and observed that emacs24 uses standard gtk colors for the  
> "region" face.
> 
> 
> Is it also supposed to do that for other faces? Or is there a way to get that 
> behavior?
> 
> 
> 
> In particular, it would seem natural to define faces as follows:
> 
> 
> 
> (cursor ((t (:foreground "theme_selected_fg_color_" :background 
> "theme_selected_bg_color_"))))
> 
> (mouse ((t (:foreground "theme_selected_fg_color_" :background 
> "theme_selected_bg_color_"))))
> (fringe ((t (:foreground "theme_fg_color_" :background "theme_bg_color_"))))
> 
> (border ((t (:foreground "theme_fg_color_" :background "theme_bg_color_"))))
> (mode-line ((t (:foreground "theme_fg_color_" :background "theme_bg_color_" 
> :box (:line-width -1 :style released-button)))))
> 
> (mode-line-buffer-id ((t (:foreground "theme_fg_color_" :background 
> "theme_bg_color_"))))
> (mode-line-inactive ((t (:foreground "theme_fg_color_" :background 
> "theme_bg_color_"))))
> 
> (minibuffer-prompt ((t (:foreground "theme_fg_color_" :background 
> "theme_base_color_"))))
> (region ((t (:foreground "theme_fg_color_" :background 
> "theme_selected_bg_color_"))))
> 
> (secondary-selection ((t (:foreground "theme_fg_color_" :background 
> "theme_selected_bg_color_"))))
> (tooltip ((t (:background "theme_tooltip_bg_color_" :foreground 
> "theme_tooltip_fg_color_"))))
> 
> (default ((t (:foreground "theme_fg_color_" :background 
> "theme_base_color_")))))
> 
> 
> ... where the theme_X_colors were derived from the appropriate gtk color 
> scheme property.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]