Year of America Craft: Handwork 2026 https://www.handwork2026.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

theme.json 15KB

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