]> git.notmuchmail.org Git - notmuch/commit
emacs: Adapt the logo background colour to that of the frame
authorDavid Edmondson <dme@dme.org>
Mon, 26 Apr 2010 09:25:28 +0000 (10:25 +0100)
committerCarl Worth <cworth@cworth.org>
Mon, 26 Apr 2010 14:30:33 +0000 (07:30 -0700)
commit7b31a11f209271748e3d6c3b8cd7d69d073fe674
treeb509833175e6a70a98813eb148f1bc0285eb75f7
parent42bda003a0df6c4b798ee1063a01c2ce0b2962e5
emacs: Adapt the logo background colour to that of the frame

The notmuch logo uses transparency. That can display poorly when
inserting the image into an emacs buffer (black logo on a black
background), so force the background colour of the image. We use a
face (`notmuch-hello-logo-background') to represent the colour so that
`defface' can be used to declare the different possible colours, which
depend on whether the frame has a light or dark background.
emacs/notmuch-hello.el