theme.json 7.3 KB

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