theme.json 8.4 KB

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