mirror of
https://github.com/bitwarden/server
synced 2025-12-15 15:53:59 +00:00
Scaffolds MJML and adds some initial templates and components. Of interest are: * src/Core/MailTemplates/Mjml/components/hero.js demonstrates how to create a custom MJML component. In our case it's a hero component with our logo, a title, a call to action button and an image. * src/Core/MailTemplates/Mjml/components/head.mjml defines some common styling. * src/Core/MailTemplates/Mjml/components/footer.mjml social links and footer.
17 lines
516 B
XML
17 lines
516 B
XML
<mj-attributes>
|
|
<mj-all
|
|
font-family="'Helvetica Neue', Helvetica, Arial, sans-serif"
|
|
font-size="16px"
|
|
/>
|
|
<mj-button background-color="#175ddc" />
|
|
<mj-text color="#333" />
|
|
<mj-body background-color="#e6e9ef" width="660px" />
|
|
</mj-attributes>
|
|
<mj-style inline="inline">
|
|
.link { text-decoration: none; color: #175ddc; font-weight: 600 }
|
|
</mj-style>
|
|
<mj-style>
|
|
.border-fix > table { border-collapse:separate !important; } .border-fix >
|
|
table > tbody > tr > td { border-radius: 3px; }
|
|
</mj-style>
|