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