From: Alex Kost <alezost@gmail.com>
To: Sam Halliday <sam.halliday@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: "clean" starting point for custom-theme-set-faces
Date: Thu, 18 Sep 2014 09:23:48 +0400 [thread overview]
Message-ID: <87wq91ec2j.fsf@gmail.com> (raw)
In-Reply-To: <f336a59c-4caa-44b8-be42-f9d98401e258@googlegroups.com> (Sam Halliday's message of "Wed, 17 Sep 2014 05:31:06 -0700 (PDT)")
[-- Attachment #1: Type: text/plain, Size: 1086 bytes --]
Sam Halliday (2014-09-17 16:31 +0400) wrote:
> On Wednesday, 17 September 2014 12:41:44 UTC+1, Alex Kost wrote:
>> Sam Halliday (2014-09-17 14:00 +0400) wrote:
>> > I'm creating a custom colour theme for emacs inspired by IntelliJ's Darcula. Work in progress here:
>> > https://github.com/fommil/unix/blob/master/.emacs.d/lisp/Darkula-theme.el
>> >
>> > But there are a couple of things that confuse me about emacs faces,
>> > even after reading the documentation and I'd appreciate some
>> > guidance:
>> >
>> > 1. When a theme is loaded, what are the default "inherit" values for
>> > all the faces that I'm defining? Is there an implicit "inherit"
>> > based on what that face was before the theme was loaded?
>>
>> IIUC you are faced with the old behavior of applying faces that will be
>>
>> "fixed" in Emacs 24.4. I wrote something about that here:
>>
>> <https://github.com/alezost/alect-themes/#emacs-2431-and-earlier>.
>
> Excellent, thanks! That answers my question. Although I'm a little confused how to use your workaround.
I just put the following into my ".emacs":
[-- Attachment #2: Type: application/emacs-lisp, Size: 1028 bytes --]
[-- Attachment #3: Type: text/plain, Size: 402 bytes --]
> Incidentally, I was originally thinking that I could rewrite my theme to
> use your defaults but it seems to hardcode quite a lot of stuff.
>
> It would be really amazing if a theme template existed that required one
> to only provide 10 colours and then it assigned them in a sensible way
> across all the various popular major modes.
There is some kind of template: "M-x customize-create-theme".
next prev parent reply other threads:[~2014-09-18 5:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-17 10:00 "clean" starting point for custom-theme-set-faces Sam Halliday
2014-09-17 11:41 ` Alex Kost
[not found] ` <mailman.9025.1410954123.1147.help-gnu-emacs@gnu.org>
2014-09-17 12:31 ` Sam Halliday
2014-09-18 5:23 ` Alex Kost [this message]
2014-09-17 15:41 ` Sam Halliday
2014-09-18 9:52 ` Sam Halliday
2014-09-17 16:42 ` Drew Adams
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=87wq91ec2j.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=sam.halliday@gmail.com \
/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.