theme.json 7.5 KB

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