theme.json 7.4 KB

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