theme.json 7.0 KB

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