all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jeremy Nickurak <emacs-list@trk.nickurak.ca>
To: help-gnu-emacs@gnu.org
Subject: Faces inheriting colors from gtk theme
Date: Sat, 30 Jun 2012 13:35:25 -0600	[thread overview]
Message-ID: <CA+eQo_3JR-avTBLUFZB8DPFQs-jWxhJohOSAQ_vVTfL0fgFoOw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1429 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1927 bytes --]

             reply	other threads:[~2012-06-30 19:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-30 19:35 Jeremy Nickurak [this message]
     [not found] <mailman.3777.1341085750.855.help-gnu-emacs@gnu.org>
2012-11-08 21:26 ` Faces inheriting colors from gtk theme evan
     [not found] ` <mailman.12573.1352412538.855.help-gnu-emacs@gnu.org>
2012-11-10  7:20   ` William Gardella

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=CA+eQo_3JR-avTBLUFZB8DPFQs-jWxhJohOSAQ_vVTfL0fgFoOw@mail.gmail.com \
    --to=emacs-list@trk.nickurak.ca \
    --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.