]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Refine content and formatting of index, CSS, Sass, Inky, migration, and ZURB Stack...
authorGeoff Kimball <geoff@zurb.com>
Fri, 11 Mar 2016 19:05:29 +0000 (11:05 -0800)
committerGeoff Kimball <geoff@zurb.com>
Fri, 11 Mar 2016 19:05:29 +0000 (11:05 -0800)
docs/pages/css-guide.md [moved from docs/pages/css-workflow.md with 100% similarity]
docs/pages/index.md
docs/pages/inky.md
docs/pages/migration.md
docs/pages/sass-guide.md [moved from docs/pages/sass-workflow.md with 100% similarity]
docs/pages/zurb-stack.md [moved from docs/pages/stack.md with 100% similarity]
docs/partials/component-list.html

index 75f5db12e9c4a630e9756754e74be815e7a8d0bf..55f4d0862f5b2638f0006b021f7e898adccb525c 100644 (file)
@@ -5,15 +5,15 @@ description: Use Foundation for Emails to design responsive HTML emails that wor
 
 ## Getting Started
 
-There are two ways to use Foundation: the CSS version and the Sass version.
+There are two ways to get started with Foundation for Emails: the CSS version and the Sass version.
 
 The **CSS version** is a ZIP file download with all the HTML and CSS you need to get started writing an HTML email. You'll need to run your HTML through our web inliner before you can send them off.
 
-<a href="css-workflow.html" class="large button">Get Started with CSS Version</a>
+<a href="css-guide.html" class="large button">Get Started with CSS Version</a>
 
 The **Sass version** gives you more control over the visual styles of the framework, and a full build process, which includes a Sass compiler and image compression. It also includes Inky, our custom HTML language which makes writing code faster, a built-in inliner, and a live reloading server for testing. **The Sass version requires you to have Node.js installed.**
 
-<a href="sass-workflow.html" class="large button">Get Started with Sass Version</a>
+<a href="sass-guide.html" class="large button">Get Started with Sass Version</a>
 
 ---
 
@@ -32,15 +32,15 @@ Get to know the pieces of Foundation.
     <strong>Using Inky</strong>
     <p>Our custom HTML tags for writing email components.</p>
   </a></div>
-  <div class="column"><a href="inky.html">
+  <div class="column"><a href="zurb-stack.html">
     <strong>ZURB Stack</strong>
     <p>An all-in-one solution for email development.</p>
   </a></div>
-  <div class="column"><a href="inky.html">
+  <div class="column"><a href="compatibility.html">
     <strong>Compatibility</strong>
     <p>Foundation works with every key email client&mdash;even Outlook.</p>
   </a></div>
-  <div class="column"><a href="inky.html">
+  <div class="column"><a href="migration.html">
     <strong>Migrate from Ink</strong>
     <p>Upgrade your Ink emails to Foundation for Emails 2.</p>
   </a></div>
index 788975770bd2e9408ca7e2d3651b56c583887cd9..b9369e4134df75731b0d13b869eb71ccb0e13002 100644 (file)
@@ -1,38 +1,69 @@
 ---
 title: Inky
 description: Inky is a templating language that converts simple HTML tags into the complex table HTML required for emails.
+library: true
 ---
 
-We’re proud to announce our new templating language, Inky! We have our own custom tags such as the `<row>` and `<column>` tags. This keeps you out of a sea of tables and focused on your email. Check out an example below:
+## Overview
 
-*Need an example here.*
+HTML emails require tables upon tables *upon tables* to work properly. Although Foundation for Emails takes a lot of the pain out of constructing these tables, we've made it even easier with **Inky**, a templating language that converts simple HTML tags like `<row>` and `<columns>` into complex table HTML.
 
-We’re super proud of our Inky templating language, and want to make sure you know how to get the most out of it! Here’s a few of the more frequently asked questions about Inky:
+Inky keeps you out of a sea of tables and focused on your email. Check out this example&mdash;click "Switch to Inky" to see the difference.
 
-### What’s a templating language?
+```inky
+<container>
+  <row>
+    <columns></columns>
+  </row>
+</container>
+```
 
-Essentially, it is just custom HTML tags. Things like <row> and <columns> are understood by this language. These tags don’t actually make it into your recipient’s inbox, it’s translated into the table-based HTML needed for our approach to responsive emails.
+---
+
+## Tags
+
+Inky currently supports these custom tags:
+
+- **Grid:**
+  - `<container>`
+  - `<row>`
+  - `<columns>`
+- **Button:** `<button>`
+- **Callout:** `<callout>`
+- **Menu:**
+  - `<menu>`
+  - `<item>`
+
+---
+
+## FAQ
+
+Here are some frequently asked questions about Inky:
+
+**What’s a templating language?**
+
+Essentially, it is just custom HTML tags. Things like `<row>` and `<columns>` are understood by this language. These tags don’t actually make it into your recipient’s inbox, it’s translated into the table-based HTML needed for our approach to responsive emails.
 
-### How does it work?
+**How does it work?**
 
 We run a Gulp task that runs through your code, identifies our custom Inky tags, and translates them into valid HTML. For the more tech-savvy, you can check out our task on our Github Repo here.
 
-### How do I start Inky?
+**How do I start Inky?**
 
-Inky is built into the ZURB stack.  There are two simple commands, `npm start` and `npm run build`, which  release the kraken, aka start the Inky templating language.
+Inky is built into the ZURB Stack, but you can also use Inky standalone, or integrate it into your own build process. [Refer to the Inky readme to learn more.](https://github.com/zurb/inky#usage)
 
-### Do I have to have the Gulp tasks running for Inky to work?
+**Do I have to have the Gulp tasks running for Inky to work?**
 
-Yes. In order for Inky to watch your files, you need to be running either npm start or npm run build to see your changes reflected.
+Yes. In order for Inky to watch your files, you need to be running either `npm start` or `npm run build` to see your changes reflected.
 
-### Do I have to use Inky, what if I just want to code my own email?
+**Do I have to use Inky? What if I just want to code my own email?**
 
 You aren’t required to use Inky in your emails. You can write only in tables, or mix tables and Inky within the same email.
 
-### What are all of Inky’s tags and components?
+**What are all of Inky’s tags and components?**
 
-You can check out all of the syntax and examples in the components section of the docs. We recommend you start off with The Grid.
+You can check out all of the syntax and examples in the components section of the docs. We recommend you start off with [the grid](grid.html).
 
-### I found a bug, what do I do?
+**I found a bug&mdash;what should I do?**
 
-Foundation for Emails is completely open sourced and we love engaging with the community. Feel free to file a bug, or even crush the bug, at our GitHub Repo.
+Foundation for Emails is completely open sourced and we love engaging with the community. Feel free to file a bug, or even crush the bug, through our [GitHub repo](https://github.com/zurb/inky/issues).
index 162db2fb5621930a8dfbfc4dadb42c88b027560c..0d53f470b4d56ee535d59e02a9e462f2258e31c3 100644 (file)
@@ -1,10 +1,14 @@
 ---
 title: Migration
 description: How to migrate from Ink to Foundation for Emails 2.
+tags:
+  - upgrade
 ---
 
 This guide describes the changes required to migrate a Foundation for Emails template from version 1 (formerly Ink) to 2.
 
+---
+
 ## What’s new?
 
 - **Streamlined and updated responsive grid:** We’ve simplified the markup in the new version so it’s faster and easier to code. The new responsive grid in Emails 2 requires fewer tags and classes. It’s also now responsive on Android Native!
@@ -12,6 +16,8 @@ This guide describes the changes required to migrate a Foundation for Emails tem
 - **Built with Sass:** Now faster than ever, you can easily make sweeping visual changes to your email that reflect your brand styles - all within one settings file.
 - **ZURB Stack:** All kinds of task automation - [Panini](http://foundation.zurb.com/sites/docs/panini.html), our Handlebars templates, compiling Sass, BrowserSync, image compression, and auto inlining are built in to speed up your workflow.
 
+---
+
 ## Overview
 
 When migrating, the following items can be translated easily from 1 to 2:
@@ -32,6 +38,8 @@ What’s new that you might want to use:
 - Menu - Horizontal
 - Menu - Vertical
 
+---
+
 ## HTML
 
 With Foundation for Emails 2, confusing and tedious tables are a thing of the past. The new Inky markup will save you time and energy coding your emails. It looks like:
@@ -47,6 +55,8 @@ With Foundation for Emails 2, confusing and tedious tables are a thing of the pa
 
 You can use it to create the grid structure, buttons, and other components. We’ll go into this in detail in the components section. We'll explain more in the [Grid section](https://github.com/zurb/foundation-emails/blob/master/migration.md#grid).
 
+---
+
 ## CSS/Sass
 
 Foundation for Emails 2 is available in a Sass version which let’s you quickly change common CSS values with some simple variables within the settings.
@@ -58,9 +68,9 @@ These are some CSS classes that are no longer needed for proper spacing:
 - .text-pad-left
 - .text.pad-right
 
-***
+---
+
 ## Components
-***
 
 ### Grid
 
@@ -126,7 +136,10 @@ Version 2 (Inky markup)
 </container>
 ```
 
+---
+
 ### Sub-grid is now a small grid
+
 In an effort to unify the thinking across the Foundation family, we’ve removed the sub-columns and moved towards a fully functional small grid.
 
 Version 1
@@ -193,7 +206,10 @@ Version 2 (Inky markup)
 </container>
 ```
 
+---
+
 ### Block Grid
+
 The block grid has a minor syntax change with identifying the number of elements that are displayed in the row. We’ve moved to the convention of `.up-x`, instead of `.ex-up`.
 
 
@@ -235,7 +251,10 @@ Version 2 (Inky markup)
 </block-grid>
 ```
 
+---
+
 ### Offset Columns
+
 Because we’ve eliminated the wrapper, offsets are now directly applied to the column itself.
 
 Version 1
@@ -280,7 +299,10 @@ Version 2 (Inky markup)
 </row>
 ```
 
+---
+
 ## Buttons
+
 In the previous version of F4E the text inside of the button was the only clickable element. In F4E 2, we’ve taken the hybrid approach of using padding and borders to increase the clickable area
 
 Version 1
@@ -321,7 +343,10 @@ Version 2 (Inky markup)
 
 The button markup has changed to make the touch targets better. Now the whole button is clickable. It requires more table markup but you should use Inky anyways which is much simpler.
 
+---
+
 ## Panels are now Callouts
+
 In an effort to unify the terminology across the Foundation family panels are now called callouts.
 
 Version 1
@@ -356,9 +381,9 @@ Version 2 (Inky markup)
 Work in progress - issue [188](https://github.com/zurb/foundation-emails/issues/188)
 ```
 
-***
-## NEW
-***
+---
+
+## New Components
 
 ### Menu
 
@@ -386,6 +411,8 @@ Version 2 (Inky markup)
 
 The menu component can be used to create a simple set of links comonly used in headers, for social icons or in footers. Adding the `.vertical` class will change the orientation.
 
+---
+
 ## Dependencies
 
 **CSS:**
similarity index 100%
rename from docs/pages/stack.md
rename to docs/pages/zurb-stack.md
index 52706100af8df206fa5f487d7435c08c76f39f08..9bd5c1f2888b0390d06583e179d9a9cec3653639 100644 (file)
@@ -6,8 +6,8 @@
 
   <li class="docs-nav-title">Geting Started</li>
   <li><a href="index.html">Overview</a></li>
-  <li><a href="css-workflow.html">CSS Version</a></li>
-  <li><a href="sass-workflow.html">Sass Version</a></li>
+  <li><a href="css-guide.html">CSS Version</a></li>
+  <li><a href="sass-guide.html">Sass Version</a></li>
 
   <li class="docs-nav-title">Guides</li>
   <li><a href="sass.html">Using Sass</a></li>