theme.json 7.6 KB

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