<p dir="ltr">That's a shame. Having light/dark alternatives are OK as a workaround but it's a shame this can't just all be done with faces. I don't see why there needs to be a string to face lookup map, why not just put the string in the face name?</p>
<div class="gmail_quote">On 5 Mar 2016 11:00 a.m., "Mark Walters" <<a href="mailto:markwalters1009@gmail.com">markwalters1009@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi<br>
<br>
On Sat, 05 Mar 2016, Sam Halliday <<a href="mailto:sam.halliday@gmail.com">sam.halliday@gmail.com</a>> wrote:<br>
> I should say that I am aware of the workaround, e.g.<br>
><br>
> (setq<br>
> notmuch-search-line-faces '(("unread" :weight bold)<br>
> ("flagged" :inherit 'font-lock-string-face)))<br>
><br>
> but this must be applied per-user. If you removed this defcustom and had<br>
> unread/flagged/other faces, then themes (such as darcula) would be able<br>
> to provide sensible defaults out of the box.<br>
<br>
I am not sure I see how this would work without cluttering up the<br>
customize options significantly. The notmuch-search-line-faces allows<br>
selecting the face based on any tag (so for example I use different<br>
colours for emails tagged "work", and tagged "waiting"). We could have<br>
additional notmuch-search-line-unread-face which could then be used in<br>
the above -- but now the user has two places to customize the same thing.<br>
<br>
How do you see this working?<br>
<br>
(We probably could make the default depend on light or dark theme to make<br>
the default more usable.)<br>
<br>
Best wishes<br>
<br>
Mark<br>
<br>
><br>
> Sam Halliday <<a href="mailto:sam.halliday@gmail.com">sam.halliday@gmail.com</a>> writes:<br>
><br>
>> [ text/plain ]<br>
>> Hi,<br>
>><br>
>> I use a dark theme and many of the colour choices of notmuch collide<br>
>> with my theme. However, notmuch is explicitly adding information such as<br>
>> "blue foreground" instead of using faces that I can customise.<br>
>><br>
>> Could you please consider using faces instead of explicit colours?<br>
>><br>
>> [ text/plain ]<br>
>><br>
>> --<br>
>> Best regards,<br>
>> Sam<br>
>> [ signature.asc: application/pgp-signature ]<br>
><br>
> --<br>
> Best regards,<br>
> Sam<br>
> _______________________________________________<br>
> notmuch mailing list<br>
> <a href="mailto:notmuch@notmuchmail.org">notmuch@notmuchmail.org</a><br>
> <a href="https://notmuchmail.org/mailman/listinfo/notmuch" rel="noreferrer" target="_blank">https://notmuchmail.org/mailman/listinfo/notmuch</a><br>
</blockquote></div>