theme.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734
  1. {
  2. "$schema": "https://schemas.wp.org/trunk/theme.json",
  3. "version": 2,
  4. "customTemplates": [
  5. {
  6. "name": "blank",
  7. "postTypes": [
  8. "page",
  9. "post"
  10. ],
  11. "title": "Blank"
  12. },
  13. {
  14. "name": "blog-alternative",
  15. "postTypes": [
  16. "page"
  17. ],
  18. "title": "Blog (Alternative)"
  19. },
  20. {
  21. "name": "404",
  22. "postTypes": [
  23. "page"
  24. ],
  25. "title": "404"
  26. }
  27. ],
  28. "settings": {
  29. "appearanceTools": true,
  30. "color": {
  31. "palette": [
  32. {
  33. "color": "#ffffff",
  34. "name": "Base",
  35. "slug": "base"
  36. },
  37. {
  38. "color": "#000000",
  39. "name": "Contrast",
  40. "slug": "contrast"
  41. },
  42. {
  43. "color": "#9DFF20",
  44. "name": "Primary",
  45. "slug": "primary"
  46. },
  47. {
  48. "color": "#345C00",
  49. "name": "Secondary",
  50. "slug": "secondary"
  51. },
  52. {
  53. "color": "#F6F6F6",
  54. "name": "Tertiary",
  55. "slug": "tertiary"
  56. }
  57. ]
  58. },
  59. "layout": {
  60. "contentSize": "650px",
  61. "wideSize": "1200px"
  62. },
  63. "spacing": {
  64. "spacingScale": {
  65. "steps": 0
  66. },
  67. "spacingSizes": [
  68. {
  69. "size": "clamp(1.5rem, 5vw, 2rem)",
  70. "slug": "30",
  71. "name": "1"
  72. },
  73. {
  74. "size": "clamp(1.8rem, 1.8rem + ((1vw - 0.48rem) * 2.885), 3rem)",
  75. "slug": "40",
  76. "name": "2"
  77. },
  78. {
  79. "size": "clamp(2.5rem, 8vw, 4.5rem)",
  80. "slug": "50",
  81. "name": "3"
  82. },
  83. {
  84. "size": "clamp(3.75rem, 10vw, 7rem)",
  85. "slug": "60",
  86. "name": "4"
  87. },
  88. {
  89. "size": "clamp(5rem, 5.25rem + ((1vw - 0.48rem) * 9.096), 8rem)",
  90. "slug": "70",
  91. "name": "5"
  92. },
  93. {
  94. "size": "clamp(7rem, 14vw, 11rem)",
  95. "slug": "80",
  96. "name": "6"
  97. }
  98. ],
  99. "units": [
  100. "%",
  101. "px",
  102. "em",
  103. "rem",
  104. "vh",
  105. "vw"
  106. ]
  107. },
  108. "typography": {
  109. "dropCap": false,
  110. "fluid": true,
  111. "fontFamilies": [
  112. {
  113. "fontFace": [
  114. {
  115. "fontFamily": "DM Sans",
  116. "fontStretch": "normal",
  117. "fontStyle": "normal",
  118. "fontWeight": "400",
  119. "src": [
  120. "file:./assets/fonts/dm-sans/DMSans-Regular.woff2"
  121. ]
  122. },
  123. {
  124. "fontFamily": "DM Sans",
  125. "fontStretch": "normal",
  126. "fontStyle": "italic",
  127. "fontWeight": "400",
  128. "src": [
  129. "file:./assets/fonts/dm-sans/DMSans-Regular-Italic.woff2"
  130. ]
  131. },
  132. {
  133. "fontFamily": "DM Sans",
  134. "fontStretch": "normal",
  135. "fontStyle": "normal",
  136. "fontWeight": "700",
  137. "src": [
  138. "file:./assets/fonts/dm-sans/DMSans-Bold.woff2"
  139. ]
  140. },
  141. {
  142. "fontFamily": "DM Sans",
  143. "fontStretch": "normal",
  144. "fontStyle": "italic",
  145. "fontWeight": "700",
  146. "src": [
  147. "file:./assets/fonts/dm-sans/DMSans-Bold-Italic.woff2"
  148. ]
  149. }
  150. ],
  151. "fontFamily": "\"DM Sans\", sans-serif",
  152. "name": "DM Sans",
  153. "slug": "dm-sans"
  154. },
  155. {
  156. "fontFace": [
  157. {
  158. "fontDisplay": "block",
  159. "fontFamily": "IBM Plex Mono",
  160. "fontStretch": "normal",
  161. "fontStyle": "normal",
  162. "fontWeight": "300",
  163. "src": [
  164. "file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Light.woff2"
  165. ]
  166. },
  167. {
  168. "fontDisplay": "block",
  169. "fontFamily": "IBM Plex Mono",
  170. "fontStretch": "normal",
  171. "fontStyle": "normal",
  172. "fontWeight": "400",
  173. "src": [
  174. "file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2"
  175. ]
  176. },
  177. {
  178. "fontDisplay": "block",
  179. "fontFamily": "IBM Plex Mono",
  180. "fontStretch": "normal",
  181. "fontStyle": "italic",
  182. "fontWeight": "400",
  183. "src": [
  184. "file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff2"
  185. ]
  186. },
  187. {
  188. "fontDisplay": "block",
  189. "fontFamily": "IBM Plex Mono",
  190. "fontStretch": "normal",
  191. "fontStyle": "normal",
  192. "fontWeight": "700",
  193. "src": [
  194. "file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff2"
  195. ]
  196. }
  197. ],
  198. "fontFamily": "'IBM Plex Mono', monospace",
  199. "name": "IBM Plex Mono",
  200. "slug": "ibm-plex-mono"
  201. },
  202. {
  203. "fontFace": [
  204. {
  205. "fontFamily": "Inter",
  206. "fontStretch": "normal",
  207. "fontStyle": "normal",
  208. "fontWeight": "200 900",
  209. "src": [
  210. "file:./assets/fonts/inter/Inter-VariableFont_slnt,wght.ttf"
  211. ]
  212. }
  213. ],
  214. "fontFamily": "\"Inter\", sans-serif",
  215. "name": "Inter",
  216. "slug": "inter"
  217. },
  218. {
  219. "fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif",
  220. "name": "System Font",
  221. "slug": "system-font"
  222. },
  223. {
  224. "fontFace": [
  225. {
  226. "fontFamily": "Source Serif Pro",
  227. "fontStretch": "normal",
  228. "fontStyle": "normal",
  229. "fontWeight": "200 900",
  230. "src": [
  231. "file:./assets/fonts/source-serif-pro/SourceSerif4Variable-Roman.ttf.woff2"
  232. ]
  233. },
  234. {
  235. "fontFamily": "Source Serif Pro",
  236. "fontStretch": "normal",
  237. "fontStyle": "italic",
  238. "fontWeight": "200 900",
  239. "src": [
  240. "file:./assets/fonts/source-serif-pro/SourceSerif4Variable-Italic.ttf.woff2"
  241. ]
  242. }
  243. ],
  244. "fontFamily": "\"Source Serif Pro\", serif",
  245. "name": "Source Serif Pro",
  246. "slug": "source-serif-pro"
  247. }
  248. ],
  249. "fontSizes": [
  250. {
  251. "fluid": {
  252. "min": "0.875rem",
  253. "max": "1rem"
  254. },
  255. "size": "1rem",
  256. "slug": "small"
  257. },
  258. {
  259. "fluid": {
  260. "min": "1rem",
  261. "max": "1.125rem"
  262. },
  263. "size": "1.125rem",
  264. "slug": "medium"
  265. },
  266. {
  267. "fluid": {
  268. "min": "1.75rem",
  269. "max": "1.875rem"
  270. },
  271. "size": "1.75rem",
  272. "slug": "large"
  273. },
  274. {
  275. "fluid": false,
  276. "size": "2.25rem",
  277. "slug": "x-large"
  278. },
  279. {
  280. "fluid": {
  281. "min": "4rem",
  282. "max": "10rem"
  283. },
  284. "size": "10rem",
  285. "slug": "xx-large"
  286. }
  287. ]
  288. },
  289. "useRootPaddingAwareAlignments": true
  290. },
  291. "styles": {
  292. "blocks": {
  293. "core/navigation": {
  294. "elements": {
  295. "link": {
  296. ":hover": {
  297. "typography": {
  298. "textDecoration": "underline"
  299. }
  300. },
  301. ":focus": {
  302. "typography": {
  303. "textDecoration": "underline dashed"
  304. }
  305. },
  306. ":active": {
  307. "typography": {
  308. "textDecoration": "none"
  309. }
  310. },
  311. "typography": {
  312. "textDecoration": "none"
  313. }
  314. }
  315. },
  316. "typography": {
  317. "fontSize": "var(--wp--preset--font-size--small)"
  318. }
  319. },
  320. "core/post-author": {
  321. "typography": {
  322. "fontSize": "var(--wp--preset--font-size--small)"
  323. }
  324. },
  325. "core/post-content": {
  326. "elements": {
  327. "link": {
  328. "color": {
  329. "text": "var(--wp--preset--color--secondary)"
  330. }
  331. }
  332. }
  333. },
  334. "core/post-excerpt": {
  335. "typography": {
  336. "fontSize": "var(--wp--preset--font-size--medium)"
  337. }
  338. },
  339. "core/post-date": {
  340. "typography": {
  341. "fontSize": "var(--wp--preset--font-size--small)",
  342. "fontWeight": "400"
  343. },
  344. "elements": {
  345. "link": {
  346. "typography": {
  347. "textDecoration": "none"
  348. },
  349. ":hover": {
  350. "typography": {
  351. "textDecoration": "underline"
  352. }
  353. }
  354. }
  355. }
  356. },
  357. "core/post-terms": {
  358. "typography": {
  359. "fontSize": "var(--wp--preset--font-size--small)"
  360. }
  361. },
  362. "core/post-title": {
  363. "spacing": {
  364. "margin": {
  365. "bottom": "1.25rem",
  366. "top": "1.25rem"
  367. }
  368. },
  369. "typography": {
  370. "fontWeight": "400"
  371. },
  372. "elements": {
  373. "link": {
  374. ":hover": {
  375. "typography": {
  376. "textDecoration": "underline"
  377. }
  378. },
  379. ":focus": {
  380. "typography": {
  381. "textDecoration": "underline dashed"
  382. }
  383. },
  384. ":active": {
  385. "color": {
  386. "text": "var(--wp--preset--color--secondary)"
  387. },
  388. "typography": {
  389. "textDecoration": "none"
  390. }
  391. },
  392. "typography": {
  393. "textDecoration": "none"
  394. }
  395. }
  396. }
  397. },
  398. "core/comments-title":{
  399. "typography": {
  400. "fontSize": "var(--wp--preset--font-size--large)"
  401. },
  402. "spacing": {
  403. "margin": {
  404. "bottom": "var(--wp--preset--spacing--40)"
  405. }
  406. }
  407. },
  408. "core/comment-author-name": {
  409. "elements": {
  410. "link": {
  411. ":hover": {
  412. "typography": {
  413. "textDecoration": "underline"
  414. }
  415. },
  416. ":focus": {
  417. "typography": {
  418. "textDecoration": "underline dashed"
  419. }
  420. },
  421. ":active": {
  422. "color": {
  423. "text": "var(--wp--preset--color--secondary)"
  424. },
  425. "typography": {
  426. "textDecoration": "none"
  427. }
  428. },
  429. "typography": {
  430. "textDecoration": "none"
  431. }
  432. }
  433. }
  434. },
  435. "core/comment-date": {
  436. "typography": {
  437. "fontSize": "var(--wp--preset--font-size--small)"
  438. },
  439. "elements": {
  440. "link": {
  441. ":hover": {
  442. "typography": {
  443. "textDecoration": "underline"
  444. }
  445. },
  446. ":focus": {
  447. "typography": {
  448. "textDecoration": "underline dashed"
  449. }
  450. },
  451. ":active": {
  452. "color": {
  453. "text": "var(--wp--preset--color--secondary)"
  454. },
  455. "typography": {
  456. "textDecoration": "none"
  457. }
  458. },
  459. "typography": {
  460. "textDecoration": "none"
  461. }
  462. }
  463. }
  464. },
  465. "core/comment-edit-link": {
  466. "typography": {
  467. "fontSize": "var(--wp--preset--font-size--small)"
  468. }
  469. },
  470. "core/comment-reply-link": {
  471. "typography": {
  472. "fontSize": "var(--wp--preset--font-size--small)"
  473. }
  474. },
  475. "core/comments-pagination": {
  476. "spacing": {
  477. "margin": {
  478. "top": "var(--wp--preset--spacing--40)"
  479. }
  480. },
  481. "elements": {
  482. "link": {
  483. "typography": {
  484. "textDecoration": "none"
  485. }
  486. }
  487. }
  488. },
  489. "core/pullquote": {
  490. "border": {
  491. "style": "solid",
  492. "width": "1px 0"
  493. },
  494. "elements": {
  495. "cite": {
  496. "typography": {
  497. "fontSize": "var(--wp--preset--font-size--small)",
  498. "fontStyle": "normal",
  499. "textTransform": "none"
  500. }
  501. }
  502. },
  503. "typography": {
  504. "lineHeight": "1.3"
  505. },
  506. "spacing": {
  507. "margin": {
  508. "bottom": "var(--wp--preset--spacing--40) !important",
  509. "top": "var(--wp--preset--spacing--40) !important"
  510. }
  511. }
  512. },
  513. "core/query": {
  514. "elements": {
  515. "h2": {
  516. "typography": {
  517. "fontSize": "var(--wp--preset--font-size--x-large)"
  518. }
  519. }
  520. }
  521. },
  522. "core/query-pagination": {
  523. "typography": {
  524. "fontSize": "var(--wp--preset--font-size--small)",
  525. "fontWeight": "400"
  526. },
  527. "elements": {
  528. "link": {
  529. "typography": {
  530. "textDecoration": "none"
  531. },
  532. ":hover": {
  533. "typography": {
  534. "textDecoration": "underline"
  535. }
  536. }
  537. }
  538. }
  539. },
  540. "core/quote": {
  541. "border": {
  542. "width": "1px"
  543. },
  544. "elements": {
  545. "cite": {
  546. "typography": {
  547. "fontSize": "var(--wp--preset--font-size--small)",
  548. "fontStyle": "normal"
  549. }
  550. }
  551. },
  552. "spacing": {
  553. "padding": {
  554. "left": "var(--wp--preset--spacing--30)",
  555. "right": "var(--wp--preset--spacing--30)"
  556. }
  557. }
  558. },
  559. "core/site-title": {
  560. "elements": {
  561. "link": {
  562. ":hover": {
  563. "typography": {
  564. "textDecoration": "underline"
  565. }
  566. },
  567. ":focus": {
  568. "typography": {
  569. "textDecoration": "underline dashed"
  570. }
  571. },
  572. ":active": {
  573. "color": {
  574. "text": "var(--wp--preset--color--secondary)"
  575. },
  576. "typography": {
  577. "textDecoration": "none"
  578. }
  579. },
  580. "typography": {
  581. "textDecoration": "none"
  582. }
  583. }
  584. },
  585. "typography": {
  586. "fontSize": "var(--wp--preset--font-size--medium)",
  587. "fontWeight": "normal",
  588. "lineHeight": "1.4"
  589. }
  590. }
  591. },
  592. "color": {
  593. "background": "var(--wp--preset--color--base)",
  594. "text": "var(--wp--preset--color--contrast)"
  595. },
  596. "elements": {
  597. "button": {
  598. "border": {
  599. "radius": "0"
  600. },
  601. "color": {
  602. "background": "var(--wp--preset--color--primary)",
  603. "text": "var(--wp--preset--color--contrast)"
  604. },
  605. ":hover": {
  606. "color": {
  607. "background": "var(--wp--preset--color--contrast)",
  608. "text": "var(--wp--preset--color--base)"
  609. }
  610. },
  611. ":focus": {
  612. "color": {
  613. "background": "var(--wp--preset--color--contrast)",
  614. "text": "var(--wp--preset--color--base)"
  615. }
  616. },
  617. ":active": {
  618. "color": {
  619. "background": "var(--wp--preset--color--secondary)",
  620. "text": "var(--wp--preset--color--base)"
  621. }
  622. },
  623. ":visited": {
  624. "color": {
  625. "text": "var(--wp--preset--color--contrast)"
  626. }
  627. }
  628. },
  629. "h1": {
  630. "typography": {
  631. "fontSize": "3.625rem",
  632. "lineHeight": "1.2"
  633. }
  634. },
  635. "h2": {
  636. "typography": {
  637. "fontSize": "clamp(2.625rem, calc(2.625rem + ((1vw - 0.48rem) * 8.4135)), 3.25rem)",
  638. "lineHeight": "1.2"
  639. }
  640. },
  641. "h3": {
  642. "typography": {
  643. "fontSize": "var(--wp--preset--font-size--x-large)"
  644. }
  645. },
  646. "h4": {
  647. "typography": {
  648. "fontSize": "var(--wp--preset--font-size--large)"
  649. }
  650. },
  651. "h5": {
  652. "typography": {
  653. "fontSize": "var(--wp--preset--font-size--medium)",
  654. "fontWeight": "700",
  655. "textTransform": "uppercase"
  656. }
  657. },
  658. "h6": {
  659. "typography": {
  660. "fontSize": "var(--wp--preset--font-size--medium)",
  661. "textTransform": "uppercase"
  662. }
  663. },
  664. "heading": {
  665. "typography": {
  666. "fontWeight": "400",
  667. "lineHeight": "1.4"
  668. }
  669. },
  670. "link": {
  671. "color": {
  672. "text": "var(--wp--preset--color--contrast)"
  673. },
  674. ":hover": {
  675. "typography": {
  676. "textDecoration": "none"
  677. }
  678. },
  679. ":focus": {
  680. "typography": {
  681. "textDecoration": "underline dashed"
  682. }
  683. },
  684. ":active": {
  685. "color": {
  686. "text": "var(--wp--preset--color--secondary)"
  687. },
  688. "typography": {
  689. "textDecoration": "none"
  690. }
  691. },
  692. "typography": {
  693. "textDecoration": "underline"
  694. }
  695. }
  696. },
  697. "spacing": {
  698. "blockGap": "1.5rem",
  699. "padding": {
  700. "top": "var(--wp--preset--spacing--40)",
  701. "right": "var(--wp--preset--spacing--30)",
  702. "bottom": "var(--wp--preset--spacing--40)",
  703. "left": "var(--wp--preset--spacing--30)"
  704. }
  705. },
  706. "typography": {
  707. "fontFamily": "var(--wp--preset--font-family--system-font)",
  708. "fontSize": "var(--wp--preset--font-size--medium)",
  709. "lineHeight": "1.6"
  710. }
  711. },
  712. "templateParts": [
  713. {
  714. "area": "header",
  715. "name": "header",
  716. "title": "Header"
  717. },
  718. {
  719. "area": "footer",
  720. "name": "footer",
  721. "title": "Footer"
  722. },
  723. {
  724. "area": "uncategorized",
  725. "name": "comments",
  726. "title": "Comments"
  727. },
  728. {
  729. "area": "uncategorized",
  730. "name": "post-meta",
  731. "title": "Post Meta"
  732. }
  733. ]
  734. }