Advertisement
DanPete

setting_schema

May 26th, 2019
651
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.68 KB | None | 0 0
  1. [
  2. {
  3. "name": "theme_info",
  4. "theme_name": "Starter theme",
  5. "theme_version": "1.0.0",
  6. "theme_author": "Shopify",
  7. "theme_documentation_url": "https:\/\/github.com\/Shopify\/starter-theme",
  8. "theme_support_url": "https:\/\/github.com\/Shopify\/starter-theme\/issues"
  9. },
  10. {
  11. "name": "Colors",
  12. "settings": [
  13. {
  14. "type": "color",
  15. "id": "color_accent",
  16. "label": "Accent",
  17. "default": "#c4cdd5",
  18. "info": "Buttons and special ornaments"
  19. },
  20. {
  21. "type": "color",
  22. "id": "color_body_text",
  23. "label": "Text",
  24. "default": "#161d25"
  25. },
  26. {
  27. "type": "color",
  28. "id": "color_main_bg",
  29. "label": "Background",
  30. "default": "#fff"
  31. }
  32. ]
  33. },
  34. {
  35. "name": "Typography",
  36. "settings": [
  37. {
  38. "type": "font_picker",
  39. "id": "font_heading",
  40. "default": "helvetica_n4",
  41. "label": "Headings"
  42. },
  43. {
  44. "type": "font_picker",
  45. "id": "font_body",
  46. "default": "helvetica_n4",
  47. "label": "Body text"
  48. }
  49. ]
  50. },
  51. {
  52. "name": "Social media",
  53. "settings": [
  54. {
  55. "type": "header",
  56. "content": "Social sharing image"
  57. },
  58. {
  59. "type": "image_picker",
  60. "id": "share_image",
  61. "label": "Image",
  62. "info": "Shown when sharing a link on social media. [Learn more](https:\/\/help.shopify.com\/manual\/using-themes\/troubleshooting\/showing-social-media-thumbnail-images\/) about image thumbnails."
  63. },
  64. {
  65. "type": "header",
  66. "content": "Social sharing options"
  67. },
  68. {
  69. "type": "checkbox",
  70. "id": "social_sharing_blog",
  71. "label": "Enable sharing for blog articles",
  72. "default": true
  73. },
  74. {
  75. "type": "checkbox",
  76. "id": "share_facebook",
  77. "label": "Share on Facebook",
  78. "default": true
  79. },
  80. {
  81. "type": "checkbox",
  82. "id": "share_twitter",
  83. "label": "Tweet on Twitter",
  84. "default": true
  85. },
  86. {
  87. "type": "checkbox",
  88. "id": "share_pinterest",
  89. "label": "Pin on Pinterest",
  90. "default": true
  91. },
  92. {
  93. "type": "header",
  94. "content": "Sharing links"
  95. },
  96. {
  97. "type": "text",
  98. "id": "social_twitter_link",
  99. "label": "Twitter link"
  100. },
  101. {
  102. "type": "text",
  103. "id": "social_facebook_link",
  104. "label": "Facebook link"
  105. },
  106. {
  107. "type": "text",
  108. "id": "social_pinterest_link",
  109. "label": "Pinterest link"
  110. },
  111. {
  112. "type": "text",
  113. "id": "social_instagram_link",
  114. "label": "Instagram link"
  115. },
  116. {
  117. "type": "text",
  118. "id": "social_snapchat_link",
  119. "label": "Snapchat link"
  120. },
  121. {
  122. "type": "text",
  123. "id": "social_tumblr_link",
  124. "label": "Tumblr link"
  125. },
  126. {
  127. "type": "text",
  128. "id": "social_youtube_link",
  129. "label": "Youtube link"
  130. },
  131. {
  132. "type": "text",
  133. "id": "social_vimeo_link",
  134. "label": "Vimeo link"
  135. }
  136. ]
  137. },
  138. {
  139. "name": "Cart",
  140. "settings": [
  141. {
  142. "type": "checkbox",
  143. "id": "cart_notes_enable",
  144. "label": "Enable cart notes",
  145. "default": true
  146. }
  147. ]
  148. },
  149. {
  150. "name": "Favicon",
  151. "settings": [
  152. {
  153. "type": "image_picker",
  154. "id": "favicon",
  155. "label": "Favicon image",
  156. "info": "Will be scaled down to 32 x 32px"
  157. }
  158. ]
  159. }
  160. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement