theme.json 8.2 KB

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