matcornic / hermes

Golang package that generates clean, responsive HTML e-mails for sending transactional mail

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add "TextColor" or similar option for button

akamensky opened this issue · comments

New Gmail web client seems to differ from before in how it handles button shown in email.

In previous version the button text was shown colored in accordance with theme, but now it shows as:

screen shot 2018-09-02 at 7 23 04 pm

From what it looks new Gmail web client adds its own style that overrides the embedded CSS from hermes theme:

screen shot 2018-09-02 at 7 25 37 pm

This is fixable by adding inline CSS to the button color: white; (for example) to make it look as below:

screen shot 2018-09-02 at 7 25 03 pm

Or I think this could be fixed by doing what #3 suggests and inlining all CSS.

Closing since merged.

Thanks for such a nice package!