theme.json 7.5 KB

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