theme.json 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  1. {
  2. "version": 2,
  3. "$schema": "https://schemas.wp.org/trunk/theme.json",
  4. "settings": {
  5. "appearanceTools": true,
  6. "useRootPaddingAwareAlignments": true,
  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": "#C7C7C7",
  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": "0.9rem",
  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. },
  148. "styles": {
  149. "blocks": {
  150. "core/code": {
  151. "color": {
  152. "text": "var(--wp--preset--color--contrast)"
  153. }
  154. },
  155. "core/navigation": {
  156. "css": "& .wp-block-site-title{ margin:0; font-weight:400;}",
  157. "elements": {
  158. "link": {
  159. "color": {
  160. "text": "var(--wp--preset--color--contrast)"
  161. },
  162. "typography": {
  163. "textDecoration": "none"
  164. },
  165. ":hover": {
  166. "color": {
  167. "text": "var(--wp--preset--color--contrast)"
  168. },
  169. "typography": {
  170. "textDecoration": "none"
  171. }
  172. },
  173. ":focus": {
  174. "color": {
  175. "text": "var(--wp--preset--color--contrast)"
  176. }
  177. },
  178. ":active": {
  179. "color": {
  180. "text": "var(--wp--preset--color--contrast)"
  181. }
  182. }
  183. }
  184. }
  185. },
  186. "core/post-author-name": {
  187. "typography": {
  188. "fontSize": "var(--wp--preset--font-size--small)"
  189. }
  190. },
  191. "core/post-content": {
  192. "spacing": {
  193. "margin": {
  194. "top": "var(--wp--preset--spacing--60)",
  195. "bottom": "var(--wp--preset--spacing--60)"
  196. }
  197. }
  198. },
  199. "core/post-date": {
  200. "typography": {
  201. "fontSize": "var(--wp--preset--font-size--small)"
  202. }
  203. },
  204. "core/post-excerpt": {
  205. "elements": {
  206. "link": {
  207. "typography": {
  208. "fontSize": "var(--wp--preset--font-size--small)"
  209. }
  210. }
  211. }
  212. },
  213. "core/post-featured-image": {
  214. "spacing": {
  215. "margin": {
  216. "bottom": "var(--wp--preset--spacing--40)"
  217. }
  218. }
  219. },
  220. "core/post-template": {
  221. "spacing": {
  222. "padding": {
  223. "top": "var(--wp--preset--spacing--50)",
  224. "bottom": "var(--wp--preset--spacing--50)"
  225. }
  226. }
  227. },
  228. "core/post-terms": {
  229. "typography": {
  230. "fontSize": "var(--wp--preset--font-size--small)"
  231. }
  232. },
  233. "core/query-pagination": {
  234. "spacing": {
  235. "padding": {
  236. "top": "var(--wp--preset--spacing--50)"
  237. }
  238. }
  239. },
  240. "core/search": {
  241. "css": ".wp-block-search__button-inside .wp-block-search__inside-wrapper{border: none;}",
  242. "typography": {
  243. "lineHeight": "1"
  244. }
  245. }
  246. },
  247. "color": {
  248. "background": "var(--wp--preset--color--base)",
  249. "text": "var(--wp--preset--color--contrast)"
  250. },
  251. "elements": {
  252. "button": {
  253. "spacing": {
  254. "padding": {
  255. "top": "var(--wp--preset--spacing--20)",
  256. "right": "var(--wp--preset--spacing--20)",
  257. "bottom": "var(--wp--preset--spacing--20)",
  258. "left": "var(--wp--preset--spacing--20)"
  259. }
  260. },
  261. "border": {
  262. "color": "var(--wp--preset--color--transparent)",
  263. "width": "4px",
  264. "style": "solid",
  265. "radius": "4px"
  266. },
  267. "color": {
  268. "background": "var(--wp--preset--color--primary)",
  269. "text": "var(--wp--preset--color--contrast)"
  270. },
  271. "typography": {
  272. "fontSize": "var(--wp--preset--font-size--small)",
  273. "fontWeight": "700"
  274. },
  275. "shadow": "var(--wp--preset--shadow--natural)",
  276. ":hover": {
  277. "border": {
  278. "color": "var(--wp--preset--color--secondary)"
  279. }
  280. }
  281. },
  282. "caption": {
  283. "color": {
  284. "text": "var(--wp--preset--color--primary)"
  285. }
  286. },
  287. "cite": {
  288. "color": {
  289. "text": "var(--wp--preset--color--primary)"
  290. }
  291. },
  292. "link": {
  293. "color": {
  294. "text": "var(--wp--preset--color--contrast)"
  295. },
  296. "typography": {
  297. "textDecoration": "none"
  298. },
  299. ":hover": {
  300. "color": {
  301. "text": "var(--wp--preset--color--secondary)"
  302. },
  303. "typography": {
  304. "textDecoration": "none"
  305. }
  306. },
  307. ":focus": {
  308. "color": {
  309. "text": "var(--wp--preset--color--contrast)"
  310. }
  311. },
  312. ":active": {
  313. "color": {
  314. "text": "var(--wp--preset--color--contrast)"
  315. }
  316. }
  317. }
  318. },
  319. "spacing": {
  320. "padding": {
  321. "right": "var(--wp--preset--spacing--50)",
  322. "left": "var(--wp--preset--spacing--50)"
  323. }
  324. },
  325. "typography": {
  326. "fontSize": "var(--wp--preset--font-size--medium)",
  327. "fontFamily": "var(--wp--preset--font-family--system)",
  328. "lineHeight": "1.7"
  329. }
  330. },
  331. "templateParts": [
  332. {
  333. "name": "header",
  334. "title": "Header",
  335. "area": "header"
  336. },
  337. {
  338. "name": "footer",
  339. "title": "Footer",
  340. "area": "footer"
  341. }
  342. ],
  343. "customTemplates": [
  344. {
  345. "name": "no-title",
  346. "title": "No title",
  347. "postTypes": [ "post","page" ]
  348. },
  349. {
  350. "name": "home",
  351. "title": "Home",
  352. "postTypes": [ "page" ]
  353. }
  354. ]
  355. }