Message from discussion
Faces inheriting colors from gtk theme
Received: by 10.224.111.140 with SMTP id s12mr5573633qap.5.1352410001380;
Thu, 08 Nov 2012 13:26:41 -0800 (PST)
Received: by 10.52.66.235 with SMTP id i11mr2089694vdt.7.1352410001355; Thu,
08 Nov 2012 13:26:41 -0800 (PST)
Path: gf5ni18188417qab.0!nntp.google.com!c7no12566543qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: gnu.emacs.help
Date: Thu, 8 Nov 2012 13:26:41 -0800 (PST)
In-Reply-To: <mailman.3777.1341085750.855.help-gnu-emacs@gnu.org>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=146.90.35.232;
posting-account=cMjuxAoAAAB-6i-xpTpQzwpy2_ugQ9Ne
NNTP-Posting-Host: 146.90.35.232
References: <mailman.3777.1341085750.855.help-gnu-emacs@gnu.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9923f238-3512-43ee-b015-e6551dd0e31f@googlegroups.com>
Subject: Re: Faces inheriting colors from gtk theme
From: evan <evange...@gmail.com>
Cc: help-gnu-em...@gnu.org
Injection-Date: Thu, 08 Nov 2012 21:26:41 +0000
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
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 =A0"=
region" face.
>=20
>=20
> Is it also supposed to do that for other faces? Or is there a way to get =
that behavior?
>=20
>=20
>=20
> In particular, it would seem natural to define faces as follows:
>=20
>=20
>=20
> (cursor ((t (:foreground "theme_selected_fg_color_" :background "theme_se=
lected_bg_color_"))))
>=20
> (mouse ((t (:foreground "theme_selected_fg_color_" :background "theme_sel=
ected_bg_color_"))))
> (fringe ((t (:foreground "theme_fg_color_" :background "theme_bg_color_")=
)))
>=20
> (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)))))
>=20
> (mode-line-buffer-id ((t (:foreground "theme_fg_color_" :background "them=
e_bg_color_"))))
> (mode-line-inactive ((t (:foreground "theme_fg_color_" :background "theme=
_bg_color_"))))
>=20
> (minibuffer-prompt ((t (:foreground "theme_fg_color_" :background "theme_=
base_color_"))))
> (region ((t (:foreground "theme_fg_color_" :background "theme_selected_bg=
_color_"))))
>=20
> (secondary-selection ((t (:foreground "theme_fg_color_" :background "them=
e_selected_bg_color_"))))
> (tooltip ((t (:background "theme_tooltip_bg_color_" :foreground "theme_to=
oltip_fg_color_"))))
>=20
> (default ((t (:foreground "theme_fg_color_" :background "theme_base_color=
_")))))
>=20
>=20
> ... where the theme_X_colors were derived from the appropriate gtk color =
scheme property.