theme.json 7.7 KB

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