From 88f945925f5b078c6bb382803356fdb15de1182d Mon Sep 17 00:00:00 2001 From: Dan Mindru Date: Wed, 25 May 2016 20:33:28 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=95=B6=20automagically=20include=20styles?= =?UTF-8?q?=20in=20=20#11=20#12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++++--- dist/dark/signature-dark.html | 2 ++ dist/dark/signature-reply-dark.html | 2 ++ dist/light/full-mail-light.html | 2 ++ dist/light/signature-light.html | 2 ++ dist/light/signature-reply-light.html | 2 ++ src/dark/head.inc.html | 4 +++- src/light/css/file.css | 0 src/light/head.inc.html | 4 +++- tasks/build.js | 24 +++++++++++++++++++----- 10 files changed, 42 insertions(+), 10 deletions(-) create mode 100644 src/light/css/file.css diff --git a/README.md b/README.md index ab0d7cf..a1469c9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +- Stylesheets are included automatically, place them wherever in the dir +- Autoprefixer is there to help +- use SASS, LESS or postcss. + # Responsive HTML email signature(s) ### Let's punch email clients in the stomach! When you need some basic responsive email signatures that work on mobile.
@@ -48,9 +52,9 @@ Here's how the dark one looks: ./src ├── dark ├── conf.js # Template strings, logo, etc. - ├── dark.css # Main stylesheet. + ├── dark.css # Stylesheet. ├── footer.inc.html # Contact info & logo - ├── head.inc.html # 'Responsive' CSS & stylesheet href + ├── head.inc.html # 'Responsive' CSS goes here ├── signature-reply.inc.html # Simplified signature (loads head) ├── signature.html # Full signature (loads head/footer) ``` @@ -62,7 +66,7 @@ Here's how the light one looks: ├── conf.js # Template strings, logo, etc. ├── footer.inc.html # Contact info & logo ├── full-mail.html # Body + signature - ├── head.inc.html # 'Responsive' CSS & stylesheet href + ├── head.inc.html # 'Responsive' CSS goes here ├── signature-reply.inc.html # Simplified signature (loads head) ├── signature.html # Full signature (loads head/footer) ``` diff --git a/dist/dark/signature-dark.html b/dist/dark/signature-dark.html index ef70da1..f36f662 100644 --- a/dist/dark/signature-dark.html +++ b/dist/dark/signature-dark.html @@ -3,6 +3,8 @@ + +