This is a micro-revamp to replace using the entire active theme stylesheet with a theme-specific newsletter.css file that contains just a subset of CSS rules that are appropriate for a newsletter.
- There’s a theme-specific stylesheet for newsletters - themes/<themename>/css/newsletter.css
- which is generated from a Less file - themes/<themename>/less/newsletter.less
- using values from themes/<themename>/less/bootstrap-variables.less, etc.
- These can override a default file - themes/base_files/css/newsletter.css
- which is compiled from themes/base_files/less/newsletter.less,
- the values for which are defined in themes/base_files/tiki-variables.less.
This will produce an external or embedded stylesheet that styles HTML divs, etc. which doesn’t seem to be best practice (see references following), but apparently has been working ok for past Tiki newsletters.
Email Standards Project - https://www.email-standards.org/
A complete breakdown of the CSS support for the top 10 most popular mobile, web and desktop email clients on the planet. - https://www.campaignmonitor.com/css/
Using CSS and HTML in Email Newsletters - http://groundwire.org/labs/email_publishing/using_css_and_html_in_email_newsletters/index.html
CSS in HTML Email - http://kb.mailchimp.com/campaigns/ways-to-build/css-in-html-email
A Bulletproof Guide to Using HTML5 and CSS3 in Email - https://litmus.com/blog/a-bulletproof-guide-to-using-html5-and-css3-in-email
Newsletter with text & html patch Has someone tested this?