theme.json 7.8 KB

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