vcl-email

0.1.0 • Public • Published

VCL email

Basic HTML email styling.

Features

Inspired by (https://github.com/mailgun/transactional-email-templates).

  • Is responsive with two break points 640px and 1024px viewport width.
  • Tries to address some of the infinite quirks of email clients.

Usage

Make sure to include CSS resulting from this module only for emails. Most likely you want to inline the generated CSS in the HTML code as this provides the best compatibility.

The following billing example shows how to use the classes together with classes from other VCL modules.

billing example

Classes

  • vclEmailViewport
  • vclEmailBody
  • vclEmailFooter

Modifiers

Variables

  • --email-viewport-color
  • --email-viewport-bg-color
  • --email-body-bg-color
  • --email-body-border-color

Demo

example.html on GH-pages.

Readme

Keywords

Package Sidebar

Install

npm i vcl-email

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • dani723
  • vanthome