theme.json 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  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": "base",
  20. "color": "#FFFFFF",
  21. "name": "Base"
  22. },
  23. {
  24. "slug": "black",
  25. "color": "#000000",
  26. "name": "Base"
  27. },
  28. {
  29. "slug": "contrast",
  30. "color": "#5D6168",
  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": "#19458c",
  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, #009C9F 0%, #19458C 100%)",
  65. "name": "Primary Secondary"
  66. }
  67. ],
  68. "customDuotone": false,
  69. "defaultDuotone": false,
  70. "duotone": [
  71. {
  72. "colors": [ "#19458C", "#FFFFFF"],
  73. "slug": "secondary-light",
  74. "name": "Secondary"
  75. },
  76. {
  77. "colors": ["#009C9F", "#FFFFFF"],
  78. "slug": "primary-light",
  79. "name": "Primary Light"
  80. },
  81. {
  82. "colors": ["#009C9F", "#19458C"],
  83. "slug": "primary-secondary",
  84. "name": "Primary Secondary"
  85. },
  86. {
  87. "colors": ["#e5f6f7", "#FFFFFF"],
  88. "slug": "primary-light-light",
  89. "name": "Primary Light Light"
  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.3rem",
  132. "max": "2rem"
  133. }
  134. },
  135. {
  136. "slug": "x-large",
  137. "size": "2.5rem",
  138. "name": "XL",
  139. "fluid": {
  140. "min": "2rem",
  141. "max": "2.75rem"
  142. }
  143. },
  144. {
  145. "slug": "xx-large",
  146. "size": "3rem",
  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--contrast)"
  169. },
  170. "typography": {
  171. "textDecoration": "none",
  172. "fontWeight": "500"
  173. },
  174. ":hover": {
  175. "color": {
  176. "text": "var(--wp--preset--color--contrast)"
  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--base)",
  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--base)"
  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": "no-title",
  355. "title": "No title",
  356. "postTypes": [ "post","page" ]
  357. },
  358. {
  359. "name": "no-title-no-padding",
  360. "title": "No title No Padding",
  361. "postTypes": [ "post","page" ]
  362. }
  363. ]
  364. }