theme.json 8.0 KB

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