theme.json 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  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. "name": "Amatic",
  106. "slug": "amatic",
  107. "fontFamily": "Amatic",
  108. "fontFace": [
  109. {
  110. "src": "file:./css/fonts/amatic-sc-v22-latin-700.woff2",
  111. "fontFamily": "\"Comic Sans MS\"",
  112. "fontWeight": "400",
  113. "fontStyle": "normal",
  114. "fontDisplay": "swap"
  115. }
  116. ]
  117. }
  118. ],
  119. "fontSizes": [
  120. {
  121. "slug": "small",
  122. "size": "0.9rem",
  123. "name": "Small",
  124. "fluid": false
  125. },
  126. {
  127. "slug": "medium",
  128. "size": "1.2rem",
  129. "name": "Medium",
  130. "fluid": false
  131. },
  132. {
  133. "slug": "large",
  134. "size": "1.6rem",
  135. "name": "Large",
  136. "fluid": {
  137. "min": "1.75rem",
  138. "max": "2rem"
  139. }
  140. },
  141. {
  142. "slug": "x-large",
  143. "size": "2.5rem",
  144. "name": "XL",
  145. "fluid": {
  146. "min": "2rem",
  147. "max": "2.75rem"
  148. }
  149. },
  150. {
  151. "slug": "xx-large",
  152. "size": "3.75rem",
  153. "name": "XXL",
  154. "fluid": {
  155. "min": "3rem",
  156. "max": "3.75rem"
  157. }
  158. }
  159. ]
  160. }
  161. },
  162. "styles": {
  163. "blocks": {
  164. "core/code": {
  165. "color": {
  166. "text": "var(--wp--preset--color--contrast)"
  167. }
  168. },
  169. "core/navigation": {
  170. "css": "& .wp-block-site-title{ margin:0; font-weight:400;}",
  171. "elements": {
  172. "link": {
  173. "color": {
  174. "text": "var(--wp--preset--color--contrast)"
  175. },
  176. "typography": {
  177. "textDecoration": "none"
  178. },
  179. ":hover": {
  180. "color": {
  181. "text": "var(--wp--preset--color--contrast)"
  182. },
  183. "typography": {
  184. "textDecoration": "none"
  185. }
  186. },
  187. ":focus": {
  188. "color": {
  189. "text": "var(--wp--preset--color--contrast)"
  190. }
  191. },
  192. ":active": {
  193. "color": {
  194. "text": "var(--wp--preset--color--contrast)"
  195. }
  196. }
  197. }
  198. }
  199. },
  200. "core/post-author-name": {
  201. "typography": {
  202. "fontSize": "var(--wp--preset--font-size--small)"
  203. }
  204. },
  205. "core/post-content": {
  206. "spacing": {
  207. "margin": {
  208. "top": "var(--wp--preset--spacing--60)",
  209. "bottom": "var(--wp--preset--spacing--60)"
  210. }
  211. }
  212. },
  213. "core/post-date": {
  214. "typography": {
  215. "fontSize": "var(--wp--preset--font-size--small)"
  216. }
  217. },
  218. "core/post-excerpt": {
  219. "elements": {
  220. "link": {
  221. "typography": {
  222. "fontSize": "var(--wp--preset--font-size--small)"
  223. }
  224. }
  225. }
  226. },
  227. "core/post-featured-image": {
  228. "spacing": {
  229. "margin": {
  230. "bottom": "var(--wp--preset--spacing--40)"
  231. }
  232. }
  233. },
  234. "core/post-template": {
  235. "spacing": {
  236. "padding": {
  237. "top": "var(--wp--preset--spacing--50)",
  238. "bottom": "var(--wp--preset--spacing--50)"
  239. }
  240. }
  241. },
  242. "core/post-terms": {
  243. "typography": {
  244. "fontSize": "var(--wp--preset--font-size--small)"
  245. }
  246. },
  247. "core/query-pagination": {
  248. "spacing": {
  249. "padding": {
  250. "top": "var(--wp--preset--spacing--50)"
  251. }
  252. }
  253. },
  254. "core/search": {
  255. "css": ".wp-block-search__button-inside .wp-block-search__inside-wrapper{border: none;}",
  256. "typography": {
  257. "lineHeight": "1"
  258. }
  259. }
  260. },
  261. "color": {
  262. "background": "var(--wp--preset--color--base)",
  263. "text": "var(--wp--preset--color--contrast)"
  264. },
  265. "elements": {
  266. "button": {
  267. "spacing": {
  268. "padding": {
  269. "top": "var(--wp--preset--spacing--20)",
  270. "right": "var(--wp--preset--spacing--20)",
  271. "bottom": "var(--wp--preset--spacing--20)",
  272. "left": "var(--wp--preset--spacing--20)"
  273. }
  274. },
  275. "border": {
  276. "color": "var(--wp--preset--color--transparent)",
  277. "width": "4px",
  278. "style": "solid",
  279. "radius": "4px"
  280. },
  281. "color": {
  282. "background": "var(--wp--preset--color--primary)",
  283. "text": "var(--wp--preset--color--contrast)"
  284. },
  285. "typography": {
  286. "fontSize": "var(--wp--preset--font-size--small)",
  287. "fontWeight": "700"
  288. },
  289. "shadow": "var(--wp--preset--shadow--natural)",
  290. ":hover": {
  291. "border": {
  292. "color": "var(--wp--preset--color--secondary)"
  293. }
  294. }
  295. },
  296. "caption": {
  297. "color": {
  298. "text": "var(--wp--preset--color--primary)"
  299. }
  300. },
  301. "cite": {
  302. "color": {
  303. "text": "var(--wp--preset--color--primary)"
  304. }
  305. },
  306. "link": {
  307. "color": {
  308. "text": "var(--wp--preset--color--contrast)"
  309. },
  310. "typography": {
  311. "textDecoration": "none"
  312. },
  313. ":hover": {
  314. "color": {
  315. "text": "var(--wp--preset--color--secondary)"
  316. },
  317. "typography": {
  318. "textDecoration": "none"
  319. }
  320. },
  321. ":focus": {
  322. "color": {
  323. "text": "var(--wp--preset--color--contrast)"
  324. }
  325. },
  326. ":active": {
  327. "color": {
  328. "text": "var(--wp--preset--color--contrast)"
  329. }
  330. }
  331. }
  332. },
  333. "spacing": {
  334. "padding": {
  335. "right": "var(--wp--preset--spacing--50)",
  336. "left": "var(--wp--preset--spacing--50)"
  337. }
  338. },
  339. "typography": {
  340. "fontSize": "var(--wp--preset--font-size--medium)",
  341. "fontFamily": "var(--wp--preset--font-family--system)",
  342. "lineHeight": "1.7"
  343. }
  344. },
  345. "templateParts": [
  346. {
  347. "name": "header",
  348. "title": "Header",
  349. "area": "header"
  350. },
  351. {
  352. "name": "footer",
  353. "title": "Footer",
  354. "area": "footer"
  355. }
  356. ],
  357. "customTemplates": [
  358. {
  359. "name": "no-title",
  360. "title": "No title",
  361. "postTypes": [ "post","page" ]
  362. },
  363. {
  364. "name": "home",
  365. "title": "Home",
  366. "postTypes": [ "page" ]
  367. }
  368. ]
  369. }