How to change the style of the email template of the digest?

Unfortunately the only part of the digest that is editable is the logo, which can be done via site settings.

CSS in email is quite a tricky task, so we’ve hardcoded the styles in the template:

https://github.com/discourse/discourse/blob/master/app/views/user_notifications/digest.html.erb

3 Likes