All files / src/templates head.js

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 231x   1x                                     1x  
const compile = require('string-template/compile');
 
const template = compile(`<mjml>
  <mj-head>
     <mj-attributes>
       <mj-all font-size="16px" color="dimgray" font-family="Helvetica" align="left" />
       <mj-body background-color="#ffffff"></mj-body>
       <mj-section padding="10px 10px 0"></mj-section>
       <mj-text padding="5px 15px" line-height="22px"></mj-text>
       <mj-divider padding="10px 15px" border-width="1px" border-style="dashed" border-color="lightgrey"></mj-divider>
     </mj-attributes>
     <mj-style inline="inline">
       a {
         color: {accentColor}; 
         text-decoration: underline;
       }
     </mj-style>
  </mj-head>
  <mj-body>
`);
 
module.exports = template;