GEWIS / sudosos-backend

SudoSOS is a Node.js-based Bar and POS system made for study association GEWIS.
https://sudosos.gewis.nl
GNU Affero General Public License v3.0
4 stars 3 forks source link

Refactor mailing tempalte to be in the GEWIS STIJL #156

Closed JustSamuel closed 1 month ago

JustSamuel commented 6 months ago

Based on @rinkp his remark on this issue. It might be nice to change the mailing theme.

rinkp commented 5 months ago

When implementing this, it is vital not to change any items in the output. It is known that there are redundant divs, that a lot of styling is applied directly to items instead of classes, and that there is a bunch of extra CSS. The reason is that emails are hard to work with, and there are a lot of different email clients. The current styles have been verified to work in Thunderbird (Windows/Linux), Outlook (Windows, Android), and GMail (Web/Android/iOS) 's light and dark modes. Additionally, they have been tested with the Google and Microsoft spamfilters and common defaults for rspamd and SpamAssassin to make sure they are not marked as spam.

Guidelines for usage: don´t include too much HTML in the yaml, don´t make fake hrefs (wrong: <a href="https://gewis.nl/super-long-url">gew.is/short</a>, correct: <a href="https://gew.is/short">https://gew.is/short</a>, also correct: <a href="https://gewis.nl/super-long-url">click here</a>, and be careful with including images.