theme.json 7.4 KB

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