theme.json 7.6 KB

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