theme.json 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  1. {
  2. "version": 2,
  3. "$schema": "https://schemas.wp.org/trunk/theme.json",
  4. "settings": {
  5. "appearanceTools": true,
  6. "color": {
  7. "custom": false,
  8. "defaultPalette": false,
  9. "customGradient": false,
  10. "palette": [
  11. {
  12. "slug": "base",
  13. "color": "#E9E4DC",
  14. "name": "Base"
  15. },
  16. {
  17. "slug": "contrast",
  18. "color": "#484c57",
  19. "name": "Contrast"
  20. },
  21. {
  22. "slug": "primary",
  23. "color": "#006837",
  24. "name": "Primary"
  25. },
  26. {
  27. "slug": "secondary",
  28. "color": "#484c57",
  29. "name": "Secondary"
  30. },
  31. {
  32. "slug": "grey",
  33. "color": "#595959",
  34. "name": "grey"
  35. },
  36. {
  37. "slug": "transparent",
  38. "color": "transparent",
  39. "name": "Transparent"
  40. }
  41. ],
  42. "defaultGradients": false,
  43. "gradients": [
  44. {
  45. "slug": "primary-white",
  46. "gradient": "linear-gradient(#4f7a28 49.9%,#fff 50%)",
  47. "name": "Primary color to white"
  48. },
  49. {
  50. "slug": "white-primary",
  51. "gradient": "linear-gradient(#fff 49.9%,#4f7a28 50%)",
  52. "name": "Horizontal white to Primary color"
  53. }
  54. ],
  55. "duotone": [
  56. {
  57. "colors": [ "#669c35", "#4f7a28"],
  58. "slug": "secondary-primary",
  59. "name": "Secondary and primary"
  60. },
  61. {
  62. "colors": ["#4f7a28", "#f0f0f0"],
  63. "slug": "primary-contrast",
  64. "name": "Primary and Contrast"
  65. }
  66. ]
  67. },
  68. "layout": {
  69. "contentSize": "1080px",
  70. "wideSize": "1280px"
  71. },
  72. "spacing": {
  73. "units": [ "px", "em", "rem", "vh", "vw", "%" ]
  74. },
  75. "typography": {
  76. "dropCap": true,
  77. "fluid": true,
  78. "fontFamilies": [
  79. {
  80. "name": "System",
  81. "slug": "system",
  82. "fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif"
  83. },
  84. {
  85. "name": "Serif",
  86. "slug": "serif",
  87. "fontFamily": "\"Times New Roman\",\"New York\",Times,\"Noto Serif\",serif"
  88. },
  89. {
  90. "name": "Monospace",
  91. "slug": "monospace",
  92. "fontFamily": "Consolas,Menlo,Monaco,\"SF Mono\",\"DejaVu Sans Mono\",\"Roboto Mono\",\"Courier New\",Courier,monospace"
  93. },
  94. {
  95. "name": "Handwriting",
  96. "slug": "handwriting",
  97. "fontFamily": "\"Comic Sans MS\",Comic-Sans,cursive",
  98. "fontFace": [
  99. {
  100. "src": "url(\"https://fonts.gstatic.com/s/comicsansms/v14/CSZjBXyZ.ttf\") format(\"truetype\")",
  101. "fontFamily": "\"Comic Sans MS\"",
  102. "fontWeight": "400",
  103. "fontStyle": "normal",
  104. "fontDisplay": "swap"
  105. }
  106. ]
  107. }
  108. ],
  109. "fontSizes": [
  110. {
  111. "slug": "small",
  112. "size": "1.1rem",
  113. "name": "Small",
  114. "fluid": false
  115. },
  116. {
  117. "slug": "medium",
  118. "size": "1.2rem",
  119. "name": "Medium",
  120. "fluid": false
  121. },
  122. {
  123. "slug": "large",
  124. "size": "2rem",
  125. "name": "Large",
  126. "fluid": {
  127. "min": "1.75rem",
  128. "max": "2rem"
  129. }
  130. },
  131. {
  132. "slug": "x-large",
  133. "size": "2.5rem",
  134. "name": "XL",
  135. "fluid": {
  136. "min": "2rem",
  137. "max": "2.75rem"
  138. }
  139. },
  140. {
  141. "slug": "xx-large",
  142. "size": "3.75rem",
  143. "name": "XXL",
  144. "fluid": {
  145. "min": "3rem",
  146. "max": "3.75rem"
  147. }
  148. }
  149. ]
  150. },
  151. "useRootPaddingAwareAlignments": true
  152. },
  153. "styles": {
  154. "blocks": {
  155. "core/code": {
  156. "color": {
  157. "text": "var(--wp--preset--color--contrast)"
  158. }
  159. },
  160. "core/navigation": {
  161. "css": "& .wp-block-site-title{ margin:0; font-weight:400;}",
  162. "elements": {
  163. "link": {
  164. "color": {
  165. "text": "var(--wp--preset--color--contrast)"
  166. },
  167. "typography": {
  168. "textDecoration": "none"
  169. },
  170. ":hover": {
  171. "color": {
  172. "text": "var(--wp--preset--color--contrast)"
  173. },
  174. "typography": {
  175. "textDecoration": "none"
  176. }
  177. },
  178. ":focus": {
  179. "color": {
  180. "text": "var(--wp--preset--color--contrast)"
  181. }
  182. },
  183. ":active": {
  184. "color": {
  185. "text": "var(--wp--preset--color--contrast)"
  186. }
  187. }
  188. }
  189. }
  190. },
  191. "core/post-author-name": {
  192. "typography": {
  193. "fontSize": "var(--wp--preset--font-size--small)"
  194. }
  195. },
  196. "core/post-content": {
  197. "spacing": {
  198. "margin": {
  199. "top": "var(--wp--preset--spacing--60)",
  200. "bottom": "var(--wp--preset--spacing--60)"
  201. }
  202. }
  203. },
  204. "core/post-date": {
  205. "typography": {
  206. "fontSize": "var(--wp--preset--font-size--small)"
  207. }
  208. },
  209. "core/post-excerpt": {
  210. "elements": {
  211. "link": {
  212. "typography": {
  213. "fontSize": "var(--wp--preset--font-size--small)"
  214. }
  215. }
  216. }
  217. },
  218. "core/post-featured-image": {
  219. "spacing": {
  220. "margin": {
  221. "bottom": "var(--wp--preset--spacing--40)"
  222. }
  223. }
  224. },
  225. "core/post-template": {
  226. "spacing": {
  227. "padding": {
  228. "top": "var(--wp--preset--spacing--50)",
  229. "bottom": "var(--wp--preset--spacing--50)"
  230. }
  231. }
  232. },
  233. "core/post-terms": {
  234. "typography": {
  235. "fontSize": "var(--wp--preset--font-size--small)"
  236. }
  237. },
  238. "core/query-pagination": {
  239. "spacing": {
  240. "padding": {
  241. "top": "var(--wp--preset--spacing--50)"
  242. }
  243. }
  244. },
  245. "core/search": {
  246. "css": ".wp-block-search__button-inside .wp-block-search__inside-wrapper{border: none;}",
  247. "typography": {
  248. "lineHeight": "1"
  249. }
  250. }
  251. },
  252. "color": {
  253. "background": "var(--wp--preset--color--base)",
  254. "text": "var(--wp--preset--color--contrast)"
  255. },
  256. "elements": {
  257. "button": {
  258. "spacing": {
  259. "padding": {
  260. "top": "var(--wp--preset--spacing--30)",
  261. "right": "var(--wp--preset--spacing--30)",
  262. "bottom": "var(--wp--preset--spacing--30)",
  263. "left": "var(--wp--preset--spacing--30)"
  264. }
  265. },
  266. "border": {
  267. "color": "var(--wp--preset--color--transparent)",
  268. "width": "4px",
  269. "style": "solid",
  270. "radius": "4px"
  271. },
  272. "color": {
  273. "background": "var(--wp--preset--color--primary)",
  274. "text": "var(--wp--preset--color--contrast)"
  275. },
  276. "typography": {
  277. "fontSize": "var(--wp--preset--font-size--small)",
  278. "fontWeight": "700"
  279. },
  280. "shadow": "var(--wp--preset--shadow--natural)",
  281. ":hover": {
  282. "border": {
  283. "color": "var(--wp--preset--color--secondary)"
  284. }
  285. }
  286. },
  287. "caption": {
  288. "color": {
  289. "text": "var(--wp--preset--color--primary)"
  290. }
  291. },
  292. "cite": {
  293. "color": {
  294. "text": "var(--wp--preset--color--primary)"
  295. }
  296. },
  297. "link": {
  298. "color": {
  299. "text": "var(--wp--preset--color--contrast)"
  300. },
  301. "typography": {
  302. "textDecoration": "none"
  303. },
  304. ":hover": {
  305. "color": {
  306. "text": "var(--wp--preset--color--contrast)"
  307. },
  308. "typography": {
  309. "textDecoration": "none"
  310. }
  311. },
  312. ":focus": {
  313. "color": {
  314. "text": "var(--wp--preset--color--contrast)"
  315. }
  316. },
  317. ":active": {
  318. "color": {
  319. "text": "var(--wp--preset--color--contrast)"
  320. }
  321. }
  322. }
  323. },
  324. "spacing": {
  325. "padding": {
  326. "right": "var(--wp--preset--spacing--50)",
  327. "left": "var(--wp--preset--spacing--50)"
  328. }
  329. },
  330. "typography": {
  331. "fontSize": "var(--wp--preset--font-size--medium)",
  332. "fontFamily": "var(--wp--preset--font-family--system)",
  333. "lineHeight": "1.7"
  334. }
  335. },
  336. "templateParts": [
  337. {
  338. "name": "header",
  339. "title": "Header",
  340. "area": "header"
  341. },
  342. {
  343. "name": "footer",
  344. "title": "Footer",
  345. "area": "footer"
  346. }
  347. ],
  348. "customTemplates": [
  349. {
  350. "name": "no-title",
  351. "title": "No title",
  352. "postTypes": [ "post","page" ]
  353. },
  354. {
  355. "name": "home",
  356. "title": "Home",
  357. "postTypes": [ "page" ]
  358. }
  359. ]
  360. }