kaloian
4/10/2020 - 8:27 PM

Theme schema settings

<!--TEXT-->
{
   "type":      "text",
   "id":        "id",
   "label":     "Text",
   "default":   "value",
   "info":      "Text",
   "placeholder": "Text"
}

<!--TEXT AREA-->
{
   "type":      "textarea",
   "id":        "id",
   "label":     "Text",
   "default":   "value",
   "info":      "Text",
   "placeholder": "Text"
}

<!--RICHTEXT-->
{
   "type": "richtext",
   "id": "column_richtext",
   "label": "Text",
   "default": "<p>Default <em>richtext</em> <a href=\"https://example.com/\">content</a></p>"
}

<!--IMAGE-->
{
  "type": "image_picker",
  "id": "logo",
  "label": "Logo image"
}

<!--HTML-->
{
   "type": "html",
   "id": "html_area",
   "label": "Custom HTML",
   "default": "<div><p>Some HTML content</p></div>"
}

<!--HEADER-->
{
   "type":      "header",
   "content":   "Text",
   "info":      "Text"
}

<!--PARAGRAPH-->
{
   "type":      "paragraph",
   "content":   "Text"
}

<!--RADIO BUTTON-->
{
   "type":      "radio",
   "id":        "id",
   "label":     "Text",
   "options": [
     { "value": "one", "label": "Radio one" },
     { "value": "two", "label": "Radio two" }
   ],
   "default":   "one",
   "info":      "Text"
}

<!--DROPDOWN    -->
{
   "type":      "select",
   "id":        "id",
   "label":     "Text",
   "options": [
     {
       "group": "value",
       "value": "value",
       "label": "Text"
     },
     {
       "group": "value",
       "value": "value",
       "label": "Text"
     }
   ],
   "default":   "value",
   "info":      "Text"
}
<!--CHECKBOX-->
{
   "type":      "checkbox",
   "id":        "id",
   "label":     "Text",
   "default":   false,
   "info":      "Text"
}

<!--SLIDER-->
{
    "type":      "range",
    "id":        "font_size",
    "min":       12,
    "max":        18,
    "step":       1,
    "unit":       "px",
    "label":     "Font size",
    "default":   16
}
<!--OTHERS-->

<!--COLOR PICKER-->
{
   "type":      "color",
   "id":        "id",
   "label":     "Text",
   "default":   "value",
   "info":      "Text"
}

<!--FONT PICKER-->
{
   "type":    "font_picker",
   "label":   "Text",
   "id":      "id",
   "info":    "Text",
   "default": "helvetica_n4"
}

<!--COLLECTIONS-->
{
   "type":      "collection",
   "id":        "id",
   "label":     "Text",
   "info":      "Text"
}

<!--PRODUCTS-->
{
   "type":      "product",
   "id":        "id",
   "label":     "Text",
   "info":      "Text"
}

<!--BLOGS-->
{
   "type":      "blog",
   "id":        "id",
   "label":     "Text",
   "info":      "Text"
}

<!--PAGE-->
{
   "type":      "page",
   "id":        "id",
   "label":     "Text",
   "info":      "Text"
}

<!--MENU-->
{
   "type":      "link_list",
   "id":        "id",
   "label":     "Text",
   "info":      "Text"
}

<!--LINK-->
{
  "id": "banner_call_to_action",
  "type": "url",
  "label": "Banner button link"
}

<!--VIDEO LINK-->
{
  "id": "video_url",
  "type": "video_url",
  "label": "Video URL",
  "accept": ["youtube", "vimeo"],
  "default": "https://www.youtube.com/watch?v=_9VUPq3SxOc",
  "info": "Text",
  "placeholder": "Text"
}