theme.json 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  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": "#19448c",
  31. "name": "Primary"
  32. },
  33. {
  34. "slug": "contrast",
  35. "color": "#102C5B",
  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.2rem",
  114. "name": "Large",
  115. "fluid": {
  116. "min": "1.2rem",
  117. "max": "1.4rem"
  118. }
  119. },
  120. {
  121. "slug": "x-large",
  122. "size": "1.6rem",
  123. "name": "XL",
  124. "fluid": {
  125. "min": "1.6rem",
  126. "max": "1.8rem"
  127. }
  128. },
  129. {
  130. "slug": "xx-large",
  131. "size": "2rem",
  132. "name": "XXL",
  133. "fluid": {
  134. "min": "2rem",
  135. "max": "2.2rem"
  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:500;}",
  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-content": {
  181. "spacing": {
  182. "margin": {
  183. "top": "var(--wp--preset--spacing--60)",
  184. "bottom": "var(--wp--preset--spacing--60)"
  185. }
  186. }
  187. },
  188. "core/post-date": {
  189. "typography": {
  190. "fontSize": "var(--wp--preset--font-size--small)"
  191. }
  192. },
  193. "core/post-excerpt": {
  194. "elements": {
  195. "link": {
  196. "typography": {
  197. "fontSize": "var(--wp--preset--font-size--small)"
  198. }
  199. }
  200. }
  201. },
  202. "core/post-featured-image": {
  203. "spacing": {
  204. "margin": {
  205. "bottom": "var(--wp--preset--spacing--40)"
  206. }
  207. }
  208. },
  209. "core/post-template": {
  210. "spacing": {
  211. "padding": {
  212. "top": "var(--wp--preset--spacing--50)",
  213. "bottom": "var(--wp--preset--spacing--50)"
  214. }
  215. }
  216. },
  217. "core/post-terms": {
  218. "typography": {
  219. "fontSize": "var(--wp--preset--font-size--small)"
  220. }
  221. },
  222. "core/query-pagination": {
  223. "spacing": {
  224. "padding": {
  225. "top": "var(--wp--preset--spacing--50)"
  226. }
  227. }
  228. },
  229. "core/search": {
  230. "css": ".wp-block-search__button-inside .wp-block-search__inside-wrapper{border: none;}",
  231. "typography": {
  232. "lineHeight": "1"
  233. }
  234. }
  235. },
  236. "color": {
  237. "background": "var(--wp--preset--color--white)",
  238. "text": "var(--wp--preset--color--contrast)"
  239. },
  240. "elements": {
  241. "button": {
  242. "spacing": {
  243. "padding": {
  244. "top": "var(--wp--preset--spacing--20)",
  245. "right": "var(--wp--preset--spacing--20)",
  246. "bottom": "var(--wp--preset--spacing--20)",
  247. "left": "var(--wp--preset--spacing--20)"
  248. }
  249. },
  250. "border": {
  251. "color": "var(--wp--preset--color--transparent)",
  252. "width": "4px",
  253. "style": "solid",
  254. "radius": "4px"
  255. },
  256. "color": {
  257. "background": "var(--wp--preset--color--primary)",
  258. "text": "var(--wp--preset--color--white)"
  259. },
  260. "typography": {
  261. "fontSize": "var(--wp--preset--font-size--small)",
  262. "fontWeight": "700"
  263. },
  264. "shadow": "var(--wp--preset--shadow--natural)",
  265. ":hover": {
  266. "border": {
  267. "color": "var(--wp--preset--color--secondary)"
  268. }
  269. }
  270. },
  271. "caption": {
  272. "color": {
  273. "text": "var(--wp--preset--color--secondary)"
  274. }
  275. },
  276. "cite": {
  277. "color": {
  278. "text": "var(--wp--preset--color--secondary)"
  279. }
  280. },
  281. "link": {
  282. "color": {
  283. "text": "var(--wp--preset--color--primary)"
  284. },
  285. "typography": {
  286. "textDecoration": "none"
  287. },
  288. ":hover": {
  289. "color": {
  290. "text": "var(--wp--preset--color--contrast)"
  291. },
  292. "typography": {
  293. "textDecoration": "none"
  294. }
  295. },
  296. ":focus": {
  297. "color": {
  298. "text": "var(--wp--preset--color--primary)"
  299. }
  300. },
  301. ":active": {
  302. "color": {
  303. "text": "var(--wp--preset--color--contrast)"
  304. }
  305. }
  306. }
  307. },
  308. "spacing": {
  309. "padding": {
  310. "right": "var(--wp--preset--spacing--50)",
  311. "left": "var(--wp--preset--spacing--50)"
  312. }
  313. },
  314. "typography": {
  315. "fontSize": "var(--wp--preset--font-size--medium)",
  316. "fontFamily": "var(--wp--preset--font-family--system)",
  317. "lineHeight": "1.7"
  318. }
  319. },
  320. "templateParts": [
  321. {
  322. "name": "header",
  323. "title": "Header",
  324. "area": "header"
  325. },
  326. {
  327. "name": "footer",
  328. "title": "Footer",
  329. "area": "footer"
  330. }
  331. ],
  332. "customTemplates": [
  333. {
  334. "name": "no-title",
  335. "title": "No title",
  336. "postTypes": [ "post","page" ]
  337. },
  338. {
  339. "name": "no-title-no-padding",
  340. "title": "No title No Padding",
  341. "postTypes": [ "post","page" ]
  342. }
  343. ]
  344. }