#1475 ✓closed
Dan Sallai

Feature request: Dark theme

Reported by Dan Sallai | May 25th, 2016 @ 12:19 PM

A number of apps offer various color themes, including a dark mode or inverse mode. Example: Reeder, Readability.
It would be great to have a dark or inverse color mode in MailMate as well.

I'm using Mailmate in a way you see it in the attached screenshot: full screen, hidden mailboxes and toolbar. When I spend a lot of time with emails I switch to OSX's built in invert mode, but it's a drag when I jump to and back to Mailmate often.

Comments and changes to this ticket

  • Jonah
  • Gilbert Osmond

    Gilbert Osmond October 4th, 2016 @ 01:54 AM

    +1 very much so, and/or an extensible Theme subsystem based on CSS allowing user to do arbitrary customizations.

  • Spot

    Spot January 22nd, 2017 @ 09:13 PM

    +1. Couldn't agree more.

  • Aaron Surrain

    Aaron Surrain March 3rd, 2017 @ 03:05 AM

    +1. I would be crazy about this feature.

  • Todd Kuebler

    Todd Kuebler March 21st, 2017 @ 09:59 PM

    Please!!! +1 to this feature - I'm in dark interfaces for most of my other apps all day and scream when I switch to email.

  • benny

    benny March 22nd, 2017 @ 03:47 PM

    I'm afraid it's not a straightforward feature to implement, but I tried a quick hack to provide something. Try the following in a Terminal window:

    defaults write com.freron.MailMate MmDarkModeEnabled -bool YES
    

    (It'll work in the next test release of MailMate. Something with a revison number larger than r5358.)

    You'll also need something like this:

    span.header_body,span.header_body * {
        color: white !important;
    }
    

    in ~/Library/Application Support/MailMate/Resources/MmMessagesWebView/headers_html_stylesheet.css

    And something like:

    * {
        background-color: [#212121](/projects/58672/tickets/212121 "Ticket #212121") !important;
        color: white !important;
    }
    

    in ~/Library/Application Support/MailMate/Resources/MmMessagesWebView/html_stylesheet.css.

    That probably also illustrates that it's not a well-functioning feature yet, but it might be good enough for you.

  • O'Shaughnessy Evans

    O'Shaughnessy Evans March 24th, 2017 @ 06:39 PM

    Pretty cool, Benny. I may not have created those style sheets correctly, I suppose -- the dir didn't exist yet -- but it looks to me like the text in the message body still isn't showing up white (see attached).

  • benny

    benny March 25th, 2017 @ 09:56 AM

    I can see the formatting in my ticket update was messed up. Take another look and see if it matches your files. Thanks for trying it out.

  • Todd Kuebler

    Todd Kuebler April 8th, 2017 @ 12:17 AM

    "(It'll work in the next test release of MailMate. Something with a revison number larger than r5358.)"

    Is there a beta or something I should know about? Would love to test this but still on 5347 and the beta channel turns up nothing new either.

  • benny

    benny April 8th, 2017 @ 09:33 AM

    @Todd: Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane.

  • Todd Kuebler

    Todd Kuebler April 10th, 2017 @ 07:46 AM

    Thanks for the tip on getting the latest version - worked like a charm.

    I followed your instructions and it works ok for me for now. Thanks so much for getting something out!

    One feedback - Having more control over the rest the GUI would be nice. I've set the message pane to silver instead of white and it's close to perfect. However, the high contrast is a bit much in the rest of the interface, I tend to like dusk like themes in dark mode for their reduced contrast, not higher. To give you an idea of what I'm talking about I use the capo-dark theme for coding.

  • benny

    benny April 10th, 2017 @ 07:48 AM

    @Todd: Your link doesn't work for me, but you should probably also not expect me to do more work on this “feature” beyond this quick hack (at least not in the foreseeable future).

  • Todd Kuebler

    Todd Kuebler April 10th, 2017 @ 07:50 AM

    @benny: totally understand, thanks!

    ps - if you are curious try my new link I edited it - sorry about that.

  • perizoqui

    perizoqui July 1st, 2018 @ 09:26 PM

    @benny: now that Mojave is out with dark mode (for those of us using beta anyway), what color would we put in place of "white" above to get the text to match up with the rest of the system?

    Thanks!

  • benny

    benny July 3rd, 2018 @ 11:36 AM

    • State changed from “new” to “closed”

    With Mojave, the feature described in this ticket is going to be deprecated. The good news is that I'll have to support dark mode as a real feature and not just a hack.

    On Mojave, you can try the latest test release to see how far this work is: Hold down ⌥ when clicking “Check Now” in the Software Update preferences (r5504+). Note: It's far from perfect yet, but most parts of the UI is dark now. The exception is the status bars in both main window and composer window. The mailbox list needs a rewrite and not all emails display well (this is tricky).

    I'll close this ticket, but I expect MmDarkModeEnabled to continue to work as it does now on pre-Mojave installations.

    Issues with the Mojave dark mode should be in new tickets (or by direct email feedback).

  • perizoqui

    perizoqui July 3rd, 2018 @ 04:59 PM

    @Benny, Hi there, and thanks for the reply, and the fantastic software!
    I've updated to 5504.
    Best.

  • benny

    benny July 4th, 2018 @ 08:39 AM

    @perizoqui: Thanks for becoming a patron!

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

Attachments

Referenced by

Pages