theme.json 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  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": "white",
  20. "color": "#FFFFFF",
  21. "name": "White"
  22. },
  23. {
  24. "slug": "black",
  25. "color": "#000000",
  26. "name": "Black"
  27. },
  28. {
  29. "slug": "primary",
  30. "color": "#19458c",
  31. "name": "Primary"
  32. },
  33. {
  34. "slug": "contrast",
  35. "color": "#001A40",
  36. "name": "Contrast"
  37. },
  38. {
  39. "slug": "contrast-light",
  40. "color": "#F0F0F0",
  41. "name": "Contrast Light"
  42. },
  43. {
  44. "slug": "muted",
  45. "color": "#AAAAAA",
  46. "name": "Muted"
  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-light",
  59. "gradient": "linear-gradient(to right, #19458C 0%, #FFFFFF 100%)",
  60. "name": "Primary Light"
  61. }
  62. ],
  63. "customDuotone": false,
  64. "defaultDuotone": false,
  65. "duotone": [
  66. {
  67. "colors": [ "#19458C", "#FFFFFF"],
  68. "slug": "primary-light",
  69. "name": "Primary Light"
  70. },
  71. {
  72. "colors": ["#19458C", "#001A40"],
  73. "slug": "primary-dark",
  74. "name": "Primary Dark"
  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. "fontSizes": [
  99. {
  100. "slug": "small",
  101. "size": "0.9rem",
  102. "name": "Small",
  103. "fluid": false
  104. },
  105. {
  106. "slug": "medium",
  107. "size": "1.1rem",
  108. "name": "Medium",
  109. "fluid": false
  110. },
  111. {
  112. "slug": "large",
  113. "size": "1.3rem",
  114. "name": "Large",
  115. "fluid": {
  116. "min": "1.3rem",
  117. "max": "2rem"
  118. }
  119. },
  120. {
  121. "slug": "x-large",
  122. "size": "2.5rem",
  123. "name": "XL",
  124. "fluid": {
  125. "min": "2rem",
  126. "max": "2.75rem"
  127. }
  128. },
  129. {
  130. "slug": "xx-large",
  131. "size": "3rem",
  132. "name": "XXL",
  133. "fluid": {
  134. "min": "3rem",
  135. "max": "3.75rem"
  136. }
  137. }
  138. ]
  139. }
  140. },
  141. "styles": {
  142. "blocks": {
  143. "core/code": {
  144. "color": {
  145. "text": "var(--wp--preset--color--contrast)"
  146. }
  147. },
  148. "core/navigation": {
  149. "css": "& .wp-block-site-title{ margin:0; font-weight:400;}",
  150. "elements": {
  151. "link": {
  152. "color": {
  153. "text": "var(--wp--preset--color--primary)"
  154. },
  155. "typography": {
  156. "textDecoration": "none",
  157. "fontWeight": "500"
  158. },
  159. ":hover": {
  160. "color": {
  161. "text": "var(--wp--preset--color--contrast)"
  162. },
  163. "typography": {
  164. "textDecoration": "none"
  165. }
  166. },
  167. ":focus": {
  168. "color": {
  169. "text": "var(--wp--preset--color--contrast)"
  170. }
  171. },
  172. ":active": {
  173. "color": {
  174. "text": "var(--wp--preset--color--contrast)"
  175. }
  176. }
  177. }
  178. }
  179. },
  180. "core/post-author-name": {
  181. "typography": {
  182. "fontSize": "var(--wp--preset--font-size--small)"
  183. }
  184. },
  185. "core/post-content": {
  186. "spacing": {
  187. "margin": {
  188. "top": "var(--wp--preset--spacing--60)",
  189. "bottom": "var(--wp--preset--spacing--60)"
  190. }
  191. }
  192. },
  193. "core/post-date": {
  194. "typography": {
  195. "fontSize": "var(--wp--preset--font-size--small)"
  196. }
  197. },
  198. "core/post-excerpt": {
  199. "elements": {
  200. "link": {
  201. "typography": {
  202. "fontSize": "var(--wp--preset--font-size--small)"
  203. }
  204. }
  205. }
  206. },
  207. "core/post-featured-image": {
  208. "spacing": {
  209. "margin": {
  210. "bottom": "var(--wp--preset--spacing--40)"
  211. }
  212. }
  213. },
  214. "core/post-template": {
  215. "spacing": {
  216. "padding": {
  217. "top": "var(--wp--preset--spacing--50)",
  218. "bottom": "var(--wp--preset--spacing--50)"
  219. }
  220. }
  221. },
  222. "core/post-terms": {
  223. "typography": {
  224. "fontSize": "var(--wp--preset--font-size--small)"
  225. }
  226. },
  227. "core/query-pagination": {
  228. "spacing": {
  229. "padding": {
  230. "top": "var(--wp--preset--spacing--50)"
  231. }
  232. }
  233. },
  234. "core/search": {
  235. "css": ".wp-block-search__button-inside .wp-block-search__inside-wrapper{border: none;}",
  236. "typography": {
  237. "lineHeight": "1"
  238. }
  239. }
  240. },
  241. "color": {
  242. "background": "var(--wp--preset--color--white)",
  243. "text": "var(--wp--preset--color--contrast)"
  244. },
  245. "elements": {
  246. "button": {
  247. "spacing": {
  248. "padding": {
  249. "top": "var(--wp--preset--spacing--20)",
  250. "right": "var(--wp--preset--spacing--20)",
  251. "bottom": "var(--wp--preset--spacing--20)",
  252. "left": "var(--wp--preset--spacing--20)"
  253. }
  254. },
  255. "border": {
  256. "color": "var(--wp--preset--color--transparent)",
  257. "width": "4px",
  258. "style": "solid",
  259. "radius": "4px"
  260. },
  261. "color": {
  262. "background": "var(--wp--preset--color--primary)",
  263. "text": "var(--wp--preset--color--base)"
  264. },
  265. "typography": {
  266. "fontSize": "var(--wp--preset--font-size--small)",
  267. "fontWeight": "700"
  268. },
  269. "shadow": "var(--wp--preset--shadow--natural)",
  270. ":hover": {
  271. "border": {
  272. "color": "var(--wp--preset--color--secondary)"
  273. }
  274. }
  275. },
  276. "caption": {
  277. "color": {
  278. "text": "var(--wp--preset--color--secondary)"
  279. }
  280. },
  281. "cite": {
  282. "color": {
  283. "text": "var(--wp--preset--color--secondary)"
  284. }
  285. },
  286. "link": {
  287. "color": {
  288. "text": "var(--wp--preset--color--primary)"
  289. },
  290. "typography": {
  291. "textDecoration": "none"
  292. },
  293. ":hover": {
  294. "color": {
  295. "text": "var(--wp--preset--color--contrast)"
  296. },
  297. "typography": {
  298. "textDecoration": "none"
  299. }
  300. },
  301. ":focus": {
  302. "color": {
  303. "text": "var(--wp--preset--color--primary)"
  304. }
  305. },
  306. ":active": {
  307. "color": {
  308. "text": "var(--wp--preset--color--contrast)"
  309. }
  310. }
  311. }
  312. },
  313. "spacing": {
  314. "padding": {
  315. "right": "var(--wp--preset--spacing--50)",
  316. "left": "var(--wp--preset--spacing--50)"
  317. }
  318. },
  319. "typography": {
  320. "fontSize": "var(--wp--preset--font-size--medium)",
  321. "fontFamily": "var(--wp--preset--font-family--system)",
  322. "lineHeight": "1.7"
  323. }
  324. },
  325. "templateParts": [
  326. {
  327. "name": "header",
  328. "title": "Header",
  329. "area": "header"
  330. },
  331. {
  332. "name": "footer",
  333. "title": "Footer",
  334. "area": "footer"
  335. }
  336. ],
  337. "customTemplates": [
  338. {
  339. "name": "no-title",
  340. "title": "No title",
  341. "postTypes": [ "post","page" ]
  342. },
  343. {
  344. "name": "no-title-no-padding",
  345. "title": "No title No Padding",
  346. "postTypes": [ "post","page" ]
  347. }
  348. ]
  349. }