Skip to content

Instantly share code, notes, and snippets.

@M-J-Robbins
Created May 31, 2018 15:18
Show Gist options
  • Save M-J-Robbins/52e371cd6af09756bc56decc068bbd3d to your computer and use it in GitHub Desktop.
Save M-J-Robbins/52e371cd6af09756bc56decc068bbd3d to your computer and use it in GitHub Desktop.
{
"context": {
"rid": "%%emailaddr%%",
"custom":{
"header":"",
"footer":"",
"css":"",
"gcss":""
},
"settings": {
"poweredby":false,
"language":"en",
"title":"Rebelmail email",
"preheader": "email preheader",
"webfonts":{
"family":[
{ "url":"https://fonts.googleapis.com/css?family=Merriweather:300,600|Montserrat:200,600,800" }
]
},
"styles": {
"background": {
"color": "#F0F0F0"
},
"container": {
"width": "",
"background": {
"color": ""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"boxShadow": {
"horizontalOffset": "",
"verticalOffset": "",
"blur": "",
"spread": "",
"color": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": ""
}
}
}
},
"components":[
{
"type": "container",
"body":{},
"style": {
"container": {
"width": "600",
"background": {
"color": ""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"boxShadow": {
"horizontalOffset": "",
"verticalOffset": "",
"blur": "",
"spread": "",
"color": ""
},
"font": {
"color": "#000000",
"decoration": "",
"family": "Merriweather, georgia, serif",
"style": "",
"height":"120",
"weight": "300",
"size": "12",
"align": "center"
}
},
"containerBackground":{
"background":{
"color":""
}
}
},
"components":[
{
"type":"section",
"body":{
"role":""
},
"style":{
"section":{
"background":{
"color":"#179FE2"
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"margin": {
"top": "",
"right": "",
"bottom": "",
"left": ""
},
"padding": {
"top": "30",
"right": "30",
"bottom": "30",
"left": "30"
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"height":"",
"weight": "",
"size": "",
"align": "left"
}
}
},
"components":[
{
"type":"columns",
"style":{
"columnGap":""
},
"components":[
{
"type":"column",
"style":{
"width":"",
"widthUnit":"",
"valign":"middle",
"background":{
"color":""
},
"padding":{
"top":"",
"right":"",
"bottom":"",
"left":""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "left"
},
"breakpoints":[
{
"breakMin":"",
"breakMax":"",
"width":"",
"widthUnit":"",
"hide":false
}
]
},
"components":[
{
"type":"image",
"body":{
"href":"http://www.gorebel.com",
"src":"https://s3.amazonaws.com/rebelmail-templates/generic/static/images/rebel.png",
"alt":"Rebel",
"retina":"2"
},
"style":{
"image":{
"width":"114",
"height":"31",
"align":"left",
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"margin": {
"top": "",
"right": "",
"bottom": "",
"left": ""
},
"padding": {
"top": "",
"right": "",
"bottom": "",
"left": ""
}
}
}
}
]
},
{
"type":"column",
"style":{
"width":"",
"widthUnit":"",
"valign":"middle",
"background":{
"color":""
},
"padding":{
"top":"",
"right":"",
"bottom":"",
"left":""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "right"
},
"breakpoints":[
{
"breakMin":"",
"breakMax":"",
"width":"",
"widthUnit":"",
"hide":false
}
]
},
"components":[
{
"type":"text",
"body":{
"tag":"p",
"text":"<a href=\"https://www.gorebel.com\" style=\"color:#ffffff;\">View Online</a>"
},
"style":{
"p":{
"margin": {
"top": "0",
"right": "0",
"bottom": "0",
"left": "0"
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "12",
"align": ""
}
}
}
}
]
}
]
},
{
"type":"text",
"body":{
"tag":"h1",
"text":"THANKS FOR YOUR PURCHASE"
},
"style":{
"h1":{
"margin": {
"top": "30",
"right": "0",
"bottom": "30",
"left": "0"
},
"font": {
"color": "#ffffff",
"decoration": "",
"family": "Montserrat, sans-serif",
"style": "",
"height":"120",
"weight": "800",
"size": "36",
"align": ""
}
}
}
}
]
},
{
"type":"columns",
"style":{
"columnGap":""
},
"components":[
{
"type":"column",
"style":{
"width":"200",
"widthUnit":"px",
"valign":"",
"background":{
"color":"#ffffff"
},
"padding":{
"top":"",
"right":"",
"bottom":"",
"left":""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "center"
},
"breakpoints":[
{
"breakMin":"",
"breakMax":"480",
"width":"100",
"widthUnit":"%",
"hide":false
}
]
},
"components":[
{
"type":"image",
"body":{
"href":"",
"src":"https://s3.amazonaws.com/rebelmail-templates/generic/static/images/shirt2.jpg",
"alt":"girl in a t-shirt with a skeleton hand giving a peace sign",
"retina":"4"
},
"style":{
"image":{
"width":"200",
"height":"200",
"align":"center",
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"margin": {
"top": "",
"right": "",
"bottom": "",
"left": ""
},
"padding": {
"top": "",
"right": "",
"bottom": "",
"left": ""
}
}
}
}
]
},
{
"type":"column",
"style":{
"width":"",
"widthUnit":"",
"valign":"",
"background":{
"color":"#ffffff"
},
"padding":{
"top":"20",
"right":"20",
"bottom":"20",
"left":"20"
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "left"
},
"breakpoints":[
{
"breakMin":"",
"breakMax":"480",
"width":"100",
"widthUnit":"%",
"hide":false
}
]
},
"components":[
{
"type":"columns",
"style":{
"columnGap":""
},
"components":[
{
"type":"column",
"style":{
"width":"",
"widthUnit":"",
"valign":"",
"background":{
"color":""
},
"padding":{
"top":"",
"right":"",
"bottom":"",
"left":""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "left"
},
"breakpoints":[
]
},
"components":[
{
"type":"text",
"body":{
"tag":"h3",
"text":"BONES, PEACE, & HARMONY"
},
"style":{
"h3":{
"margin": {
"top": "0",
"right": "0",
"bottom": "0",
"left": "0"
},
"font": {
"color": "",
"decoration": "",
"family": "Montserrat, sans-serif",
"style": "",
"height":"120",
"weight": "",
"size": "24",
"align": ""
}
}
}
}
]
},
{
"type":"column",
"style":{
"width":"100",
"widthUnit":"px",
"valign":"",
"background":{
"color":""
},
"padding":{
"top":"",
"right":"",
"bottom":"",
"left":""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "right"
},
"breakpoints":[
]
},
"components":[
{
"type":"text",
"body":{
"tag":"p",
"text":"$25.99"
},
"style":{
"p":{
"margin": {
"top": "0",
"right": "0",
"bottom": "0",
"left": "0"
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"height":"120",
"weight": "",
"size": "20",
"align": ""
}
}
}
}
]
}
]
}
]
}
]
},
{
"type":"columns",
"style":{
"columnGap":""
},
"components":[
{
"type":"column",
"style":{
"width":"50",
"widthUnit":"%",
"valign":"",
"background":{
"color":"#3E3E3E"
},
"padding":{
"top":"",
"right":"",
"bottom":"",
"left":""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "Montserrat, sans-serif",
"style": "",
"weight": "",
"size": "",
"align": "left"
},
"breakpoints":[
{
"breakMin":"",
"breakMax":"400",
"width":"100",
"widthUnit":"%",
"hide":false
}
]
},
"components":[
{
"type":"text",
"body":{
"tag":"p",
"text":"<strong>Shipping</strong><br>Joe Teplow<br>200 Park Ave South<br>New York, NY 10003"
},
"style":{
"p":{
"margin": {
"top": "20",
"right": "20",
"bottom": "20",
"left": "20"
},
"font": {
"color": "#ffffff",
"decoration": "",
"family": "",
"style": "",
"height":"150",
"weight": "",
"size": "12",
"align": "left"
}
}
}
},
{
"type":"text",
"body":{
"tag":"p",
"text":"<strong>Billing</strong><br>Visa<br>Ending in <strong>1234</strong><br>Expiring <strong>01/2020</strong>"
},
"style":{
"p":{
"margin": {
"top": "20",
"right": "20",
"bottom": "20",
"left": "20"
},
"font": {
"color": "#ffffff",
"decoration": "",
"family": "",
"style": "",
"height":"150",
"weight": "",
"size": "12",
"align": "left"
}
}
}
}
]
},
{
"type":"column",
"style":{
"width":"50",
"widthUnit":"%",
"valign":"",
"background":{
"color":"#f6f6f6"
},
"padding":{
"top":"",
"right":"",
"bottom":"",
"left":""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "Montserrat, sans-serif",
"style": "",
"weight": "",
"size": "",
"align": "left"
},
"breakpoints":[
{
"breakMin":"",
"breakMax":"400",
"width":"100",
"widthUnit":"%",
"hide":false
}
]
},
"components":[
{
"type":"columns",
"style":{
"columnGap":""
},
"components":[
{
"type":"column",
"style":{
"width":"",
"widthUnit":"",
"valign":"",
"background":{
"color":""
},
"padding":{
"top":"",
"right":"",
"bottom":"",
"left":""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "left"
},
"breakpoints":[
]
},
"components":[
{
"type":"text",
"body":{
"tag":"p",
"text":"Subtotal"
},
"style":{
"p":{
"margin": {
"top": "10",
"right": "10",
"bottom": "10",
"left": "10"
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"height":"150",
"weight": "",
"size": "12",
"align": ""
}
}
}
}
]
},
{
"type":"column",
"style":{
"width":"100",
"widthUnit":"px",
"valign":"",
"background":{
"color":""
},
"padding":{
"top":"",
"right":"",
"bottom":"",
"left":""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "Merriweather, georgia, serif",
"style": "",
"weight": "",
"size": "",
"align": "right"
},
"breakpoints":[
]
},
"components":[
{
"type":"text",
"body":{
"tag":"p",
"text":"$19.99"
},
"style":{
"p":{
"margin": {
"top": "10",
"right": "10",
"bottom": "10",
"left": "10"
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"height":"150",
"weight": "",
"size": "12",
"align": ""
}
}
}
}
]
}
]
},
{
"type":"line",
"body":{
},
"style":{
"line":{
"width":"",
"height":"2",
"align":"",
"background":{
"color":"#ffffff"
},
"margin":{
"top":"",
"right":"10",
"bottom":"",
"left":"10"
}
}
}
},
{
"type":"columns",
"style":{
"columnGap":""
},
"components":[
{
"type":"column",
"style":{
"width":"",
"widthUnit":"",
"valign":"",
"background":{
"color":""
},
"padding":{
"top":"",
"right":"",
"bottom":"",
"left":""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "left"
},
"breakpoints":[
]
},
"components":[
{
"type":"text",
"body":{
"tag":"p",
"text":"Tax"
},
"style":{
"p":{
"margin": {
"top": "10",
"right": "10",
"bottom": "10",
"left": "10"
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"height":"150",
"weight": "",
"size": "12",
"align": ""
}
}
}
}
]
},
{
"type":"column",
"style":{
"width":"100",
"widthUnit":"px",
"valign":"",
"background":{
"color":""
},
"padding":{
"top":"",
"right":"",
"bottom":"",
"left":""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "Merriweather, georgia, serif",
"style": "",
"weight": "",
"size": "",
"align": "right"
},
"breakpoints":[
]
},
"components":[
{
"type":"text",
"body":{
"tag":"p",
"text":"$0.00"
},
"style":{
"p":{
"margin": {
"top": "10",
"right": "10",
"bottom": "10",
"left": "10"
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"height":"150",
"weight": "",
"size": "12",
"align": ""
}
}
}
}
]
}
]
},
{
"type":"line",
"body":{
},
"style":{
"line":{
"width":"",
"height":"2",
"align":"",
"background":{
"color":"#ffffff"
},
"margin":{
"top":"",
"right":"10",
"bottom":"",
"left":"10"
}
}
}
},
{
"type":"columns",
"style":{
"columnGap":""
},
"components":[
{
"type":"column",
"style":{
"width":"",
"widthUnit":"",
"valign":"",
"background":{
"color":""
},
"padding":{
"top":"",
"right":"",
"bottom":"",
"left":""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "left"
},
"breakpoints":[
]
},
"components":[
{
"type":"text",
"body":{
"tag":"p",
"text":"Shipping"
},
"style":{
"p":{
"margin": {
"top": "10",
"right": "10",
"bottom": "10",
"left": "10"
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"height":"150",
"weight": "",
"size": "12",
"align": ""
}
}
}
}
]
},
{
"type":"column",
"style":{
"width":"100",
"widthUnit":"px",
"valign":"",
"background":{
"color":""
},
"padding":{
"top":"",
"right":"",
"bottom":"",
"left":""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "Merriweather, georgia, serif",
"style": "",
"weight": "",
"size": "",
"align": "right"
},
"breakpoints":[
]
},
"components":[
{
"type":"text",
"body":{
"tag":"p",
"text":"$3.99"
},
"style":{
"p":{
"margin": {
"top": "10",
"right": "10",
"bottom": "10",
"left": "10"
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"height":"150",
"weight": "",
"size": "12",
"align": ""
}
}
}
}
]
}
]
},
{
"type":"line",
"body":{
},
"style":{
"line":{
"width":"",
"height":"2",
"align":"",
"background":{
"color":"#000000"
},
"margin":{
"top":"",
"right":"10",
"bottom":"",
"left":"10"
}
}
}
},
{
"type":"columns",
"style":{
"columnGap":""
},
"components":[
{
"type":"column",
"style":{
"width":"",
"widthUnit":"",
"valign":"",
"background":{
"color":""
},
"padding":{
"top":"",
"right":"",
"bottom":"",
"left":""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "left"
},
"breakpoints":[
]
},
"components":[
{
"type":"text",
"body":{
"tag":"p",
"text":"Total"
},
"style":{
"p":{
"margin": {
"top": "10",
"right": "10",
"bottom": "10",
"left": "10"
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"height":"150",
"weight": "bold",
"size": "12",
"align": ""
}
}
}
}
]
},
{
"type":"column",
"style":{
"width":"100",
"widthUnit":"px",
"valign":"",
"background":{
"color":""
},
"padding":{
"top":"",
"right":"",
"bottom":"",
"left":""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "Merriweather, georgia, serif",
"style": "",
"weight": "",
"size": "",
"align": "right"
},
"breakpoints":[
]
},
"components":[
{
"type":"text",
"body":{
"tag":"p",
"text":"$23.98"
},
"style":{
"p":{
"margin": {
"top": "10",
"right": "10",
"bottom": "10",
"left": "10"
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"height":"150",
"weight": "bold",
"size": "12",
"align": ""
}
}
}
}
]
}
]
}
]
}
]
},
{
"type":"text",
"body":{
"tag":"p",
"text":"If you didn’t make this purchase, please contact <a href=\"http://www.gorebel.com\" style=\"color:#179fe2;\">support@gorebel.com</a>."
},
"style":{
"p":{
"margin": {
"top": "20",
"right": "30",
"bottom": "20",
"left": "30"
},
"font": {
"color": "#000000",
"decoration": "",
"family": "",
"style": "",
"height":"120",
"weight": "",
"size": "12",
"align": "left"
}
}
}
},
{
"type":"line",
"body":{
},
"style":{
"line":{
"width":"",
"height":"2",
"align":"",
"background":{
"color":"#ffffff"
},
"margin":{
"top":"",
"right":"30",
"bottom":"",
"left":"30"
}
}
}
},
{
"type":"text",
"body":{
"tag":"p",
"text":"Copyright Rebel Inc. 2018"
},
"style":{
"p":{
"margin": {
"top": "20",
"right": "30",
"bottom": "20",
"left": "30"
},
"font": {
"color": "#000000",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "10",
"align": "left"
}
}
}
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment