theme.json 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994
  1. {
  2. "$schema": "https://schemas.wp.org/wp/6.2/theme.json",
  3. "version": 2,
  4. "customTemplates": [
  5. {
  6. "name": "blank",
  7. "postTypes": [
  8. "page",
  9. "post",
  10. "course"
  11. ],
  12. "title": "Blank"
  13. },
  14. {
  15. "name": "wide-no-featured-no-title",
  16. "title": "Wide - No Featured Image, No Title",
  17. "postTypes": [
  18. "page",
  19. "post",
  20. "course"
  21. ]
  22. },
  23. {
  24. "name": "wide-featured-title",
  25. "title": "Wide",
  26. "postTypes": [
  27. "page",
  28. "post",
  29. "course"
  30. ]
  31. },
  32. {
  33. "name": "single-course",
  34. "title": "Wide - Title Only",
  35. "postTypes": [
  36. "page",
  37. "post",
  38. "course"
  39. ]
  40. },
  41. {
  42. "name": "wide-featured-no-title",
  43. "title": "Wide - Featured Image Only",
  44. "postTypes": [
  45. "page",
  46. "post",
  47. "course"
  48. ]
  49. },
  50. {
  51. "name": "single-column-featured-title",
  52. "title": "Single Column",
  53. "postTypes": [
  54. "page",
  55. "post",
  56. "course"
  57. ]
  58. },
  59. {
  60. "name": "single-column-featured-no-title",
  61. "title": "Single Column - Featured Image Only",
  62. "postTypes": [
  63. "page",
  64. "post",
  65. "course"
  66. ]
  67. },
  68. {
  69. "name": "single-column-no-featured-title",
  70. "title": "Single Column - Title Only",
  71. "postTypes": [
  72. "page",
  73. "post",
  74. "course"
  75. ]
  76. },
  77. {
  78. "name": "single-column-no-featured-no-title",
  79. "title": "Single Column - No Featured Image, No Title",
  80. "postTypes": [
  81. "page",
  82. "post",
  83. "course"
  84. ]
  85. },
  86. {
  87. "name": "single-lesson",
  88. "title": "Lesson",
  89. "postTypes": [
  90. "lesson"
  91. ]
  92. }
  93. ],
  94. "settings": {
  95. "appearanceTools": true,
  96. "color": {
  97. "palette": [
  98. {
  99. "color": "#00594F",
  100. "name": "Primary",
  101. "slug": "primary"
  102. },
  103. {
  104. "color": "#F7EFAD",
  105. "name": "Secondary",
  106. "slug": "secondary"
  107. },
  108. {
  109. "color": "#00594F",
  110. "name": "Foreground",
  111. "slug": "foreground"
  112. },
  113. {
  114. "color": "#F1EDE7",
  115. "name": "Background",
  116. "slug": "background"
  117. },
  118. {
  119. "color": "#F8F5F3",
  120. "name": "Tertiary",
  121. "slug": "tertiary"
  122. },
  123. {
  124. "color": "#FFF7BC",
  125. "name": "Button Border - Active",
  126. "slug": "button-border-active"
  127. },
  128. {
  129. "color": "#009F8D",
  130. "name": "Button Border - Hover",
  131. "slug": "button-border-hover"
  132. }
  133. ]
  134. },
  135. "custom": {
  136. "typography": {
  137. "fontSizes": {
  138. "normal": "clamp(1.313rem, 1.179rem + 0.357vw, 1.5rem)",
  139. "button": "1.3125rem"
  140. }
  141. },
  142. "navMobileGap": "2.5rem",
  143. "replyColumnGap": "2.349rem",
  144. "commentGap" : "5rem",
  145. "commentGapSmall" : "10px",
  146. "commentGapMedium" : "1.25rem",
  147. "courseNewsletterGap": "clamp(2.5rem, -0.292rem + 9.306vw, 6.688rem)",
  148. "courseThemeVariation": "default",
  149. "button": {
  150. "radius": "0.5rem",
  151. "typography": {
  152. "fontFamily": "var(--wp--preset--font-family--heading)",
  153. "fontWeight": "400",
  154. "letterSpacing": "0.05em"
  155. },
  156. "spacing": {
  157. "padding": {
  158. "top": "0.5856em",
  159. "right": "1.5238em",
  160. "bottom": "0.5856em",
  161. "left": "1.5238em"
  162. }
  163. }
  164. }
  165. },
  166. "layout": {
  167. "contentSize": "1000px",
  168. "wideSize": "1200px"
  169. },
  170. "spacing": {
  171. "units": [
  172. "%",
  173. "px",
  174. "em",
  175. "rem",
  176. "vh",
  177. "vw"
  178. ]
  179. },
  180. "typography": {
  181. "fluid": true,
  182. "fontFamilies": [
  183. {
  184. "fontFamily": "EB Garamond",
  185. "name": "EB Garamond",
  186. "slug": "body",
  187. "fontFace": [
  188. {
  189. "fontFamily": "EB Garamond",
  190. "fontDisplay": "block",
  191. "fontWeight": "400",
  192. "fontStyle": "normal",
  193. "fontStretch": "normal",
  194. "src": [ "file:./assets/fonts/eb-garamond/EBGaramond-VariableFont_wght.ttf" ]
  195. },
  196. {
  197. "fontFamily": "EB Garamond",
  198. "fontDisplay": "block",
  199. "fontWeight": "700",
  200. "fontStyle": "normal",
  201. "fontStretch": "normal",
  202. "src": [ "file:./assets/fonts/eb-garamond/EBGaramond-VariableFont_wght.ttf" ]
  203. },
  204. {
  205. "fontFamily": "EB Garamond",
  206. "fontDisplay": "block",
  207. "fontWeight": "400",
  208. "fontStyle": "italic",
  209. "fontStretch": "normal",
  210. "src": [ "file:./assets/fonts/eb-garamond/EBGaramond-Italic-VariableFont_wght.ttf" ]
  211. },
  212. {
  213. "fontFamily": "EB Garamond",
  214. "fontDisplay": "block",
  215. "fontWeight": "700",
  216. "fontStyle": "italic",
  217. "fontStretch": "normal",
  218. "src": [ "file:./assets/fonts/eb-garamond/EBGaramond-Italic-VariableFont_wght.ttf" ]
  219. }
  220. ]
  221. },
  222. {
  223. "fontFamily": "\"League Gothic\", serif",
  224. "name": "League Gothic",
  225. "slug": "heading",
  226. "fontFace": [
  227. {
  228. "fontDisplay": "block",
  229. "fontFamily": "League Gothic",
  230. "fontStretch": "normal",
  231. "fontStyle": "normal",
  232. "fontWeight": "200 800",
  233. "src": [
  234. "file:./assets/fonts/leaguegothic-regular-variablefont_wdth-webfont.woff2"
  235. ]
  236. }
  237. ]
  238. },
  239. {
  240. "fontFace": [
  241. {
  242. "fontDisplay": "block",
  243. "fontFamily": "Sorts Mill Goudy",
  244. "fontStretch": "normal",
  245. "fontStyle": "normal",
  246. "fontWeight": "200 800",
  247. "src": ["file:./assets/fonts/SortsMillGoudy-Regular.woff2"]
  248. }
  249. ],
  250. "fontFamily": "Sorts Mill Goudy",
  251. "name": "Sorts Mill Goudy",
  252. "slug": "sorts-mill-goudy"
  253. },
  254. {
  255. "fontFamily": "Inter",
  256. "name": "Inter",
  257. "slug": "inter",
  258. "fontFace": [
  259. {
  260. "fontFamily": "Inter",
  261. "fontDisplay": "block",
  262. "fontWeight": "400",
  263. "fontStyle": "normal",
  264. "fontStretch": "normal",
  265. "src": [ "file:./assets/fonts/Inter-VariableFont_slnt,wght.ttf" ]
  266. },
  267. {
  268. "fontFamily": "Inter",
  269. "fontDisplay": "block",
  270. "fontWeight": "700",
  271. "fontStyle": "normal",
  272. "fontStretch": "normal",
  273. "src": [ "file:./assets/fonts/Inter-VariableFont_slnt,wght.ttf" ]
  274. }
  275. ]
  276. },
  277. {
  278. "fontFamily": "-apple-system, BlinkMacSystemFont, Inter, \"Segoe UI\", \"Roboto\", \"Oxygen-Sans\", \"Ubuntu\", \"Cantarell\", \"Helvetica Neue\", sans-serif;",
  279. "name": "System",
  280. "slug": "system"
  281. }
  282. ],
  283. "fontSizes": [
  284. {
  285. "name": "Tiny",
  286. "size": "1rem",
  287. "fluid": {
  288. "min": "0.875rem",
  289. "max": "1.125rem"
  290. },
  291. "slug": "x-small"
  292. },
  293. {
  294. "name": "Small",
  295. "size": "1.125rem",
  296. "fluid": {
  297. "min": "1rem",
  298. "max": "1.25rem"
  299. },
  300. "slug": "small"
  301. },
  302. {
  303. "name": "Medium",
  304. "size": "1.375rem",
  305. "fluid": {
  306. "min": "1.25rem",
  307. "max": "1.5rem"
  308. },
  309. "slug": "medium"
  310. },
  311. {
  312. "name": "Large",
  313. "size": "1.875rem",
  314. "fluid": {
  315. "min": "1.5rem",
  316. "max": "2.25rem"
  317. },
  318. "slug": "large"
  319. },
  320. {
  321. "name": "Extra Large",
  322. "size": "2.5rem",
  323. "fluid": {
  324. "min": "2rem",
  325. "max": "3rem"
  326. },
  327. "slug": "x-large"
  328. },
  329. {
  330. "name": "Huge",
  331. "size": "4.5rem",
  332. "fluid": {
  333. "min": "3rem",
  334. "max": "5rem"
  335. },
  336. "slug": "xx-large"
  337. },
  338. {
  339. "name": "Gigantic",
  340. "size": "22.125rem",
  341. "fluid": {
  342. "min": "16.125rem",
  343. "max": "28.125rem"
  344. },
  345. "slug": "xxx-large"
  346. }
  347. ]
  348. },
  349. "useRootPaddingAwareAlignments": true
  350. },
  351. "styles": {
  352. "blocks": {
  353. "sensei-lms/course-categories": {
  354. "typography": {
  355. "fontFamily": "var(--wp--preset--font-family--system)",
  356. "textTransform": "uppercase"
  357. }
  358. },
  359. "core/code": {
  360. "border": {
  361. "color": "var(--wp--preset--color--foreground)",
  362. "radius": "0.25rem",
  363. "style": "solid",
  364. "width": "2px"
  365. },
  366. "spacing": {
  367. "padding": {
  368. "bottom": "var(--wp--preset--spacing--50)",
  369. "left": "var(--wp--preset--spacing--50)",
  370. "right": "var(--wp--preset--spacing--50)",
  371. "top": "var(--wp--preset--spacing--50)"
  372. }
  373. },
  374. "typography": {
  375. "fontFamily": "monospace"
  376. }
  377. },
  378. "core/comments": {
  379. "typography": {
  380. "fontFamily": "var(--wp--preset--font-family--system)",
  381. "fontSize": "var(--wp--preset--font-size--x-small)",
  382. "lineHeight": "var(--wp--preset--font-size--x-small)",
  383. "fontWeight": "400"
  384. },
  385. "elements": {
  386. "link": {
  387. "typography": {
  388. "textDecoration": "underline"
  389. }
  390. }
  391. },
  392. "spacing": {
  393. "blockGap": "0px"
  394. }
  395. },
  396. "core/post-comments-form": {
  397. "typography": {
  398. "fontFamily": "var(--wp--preset--font-family--system)",
  399. "fontSize": "11px",
  400. "lineHeight": "145%",
  401. "textTransform": "uppercase"
  402. },
  403. "elements": {
  404. "heading": {
  405. "typography": {
  406. "fontSize": "var(--wp--custom--typography--font-sizes--normal)",
  407. "fontFamily": "var(--wp--preset--font-family--system)",
  408. "textTransform": "none",
  409. "fontWeight": "600",
  410. "letterSpacing": "-0.24px",
  411. "lineHeight": "100%"
  412. }
  413. },
  414. "button": {
  415. "border": {
  416. "radius": "var(--wp--custom--button--radius)"
  417. },
  418. "color": {
  419. "background": "var(--wp--preset--color--foreground)"
  420. },
  421. "typography": {
  422. "textTransform": "uppercase",
  423. "fontFamily": "var(--wp--preset--font-family--heading)",
  424. "fontSize": "var(--wp--custom--typography--font-sizes--button)",
  425. "lineHeight": "100%"
  426. },
  427. "spacing": {
  428. "padding": {
  429. "top": "1.125rem",
  430. "bottom": "1.125rem"
  431. }
  432. }
  433. }
  434. }
  435. },
  436. "core/comment-author-name": {
  437. "typography": {
  438. "lineHeight": "100%"
  439. },
  440. "elements": {
  441. "link": {
  442. "typography": {
  443. "textDecoration": "none",
  444. "fontFamily": "var(--wp--preset--font-family--system)",
  445. "fontSize": "var(--wp--preset--font-size--x-small)",
  446. "lineHeight": "var(--wp--preset--font-size--x-small)"
  447. }
  448. }
  449. }
  450. },
  451. "core/comments-title": {
  452. "typography": {
  453. "fontSize": "var(--wp--preset--font-size--medium)",
  454. "fontFamily": "var(--wp--preset--font-family--system)",
  455. "letterSpacing": "-0.01em"
  456. }
  457. },
  458. "core/comment-content": {
  459. "typography": {
  460. "fontSize": "var(--wp--custom--typography--font-sizes--normal)",
  461. "lineHeight": "160%",
  462. "fontFamily": "var(--wp--preset--font-family--body)"
  463. },
  464. "spacing": {
  465. "padding": {
  466. "top": "var(--wp--preset--spacing--40)"
  467. }
  468. }
  469. },
  470. "core/comment-date": {
  471. "typography": {
  472. "lineHeight": "100%"
  473. },
  474. "spacing": {
  475. "margin": {
  476. "top": "10px"
  477. }
  478. },
  479. "elements": {
  480. "link": {
  481. "typography": {
  482. "textDecoration": "none",
  483. "fontFamily": "var(--wp--preset--font-family--system)",
  484. "fontSize": "var(--wp--preset--font-size--x-small)",
  485. "lineHeight": "100%"
  486. }
  487. }
  488. }
  489. },
  490. "core/comment-edit-link": {
  491. "elements": {
  492. "link": {
  493. "typography": {
  494. "textDecoration": "underline solid 1px",
  495. "fontFamily": "var(--wp--preset--font-family--system)",
  496. "fontSize": "var(--wp--preset--font-size--x-small)",
  497. "lineHeight": "100%"
  498. }
  499. }
  500. }
  501. },
  502. "core/comment-reply-link": {
  503. "elements": {
  504. "link": {
  505. "typography": {
  506. "textDecoration": "underline solid 1px",
  507. "fontFamily": "var(--wp--preset--font-family--system)",
  508. "fontSize": "var(--wp--preset--font-size--x-small)",
  509. "lineHeight": "var(--wp--preset--font-size--x-small)"
  510. }
  511. }
  512. }
  513. },
  514. "core/gallery": {
  515. "spacing": {
  516. "margin": {
  517. "bottom": "var(--wp--preset--spacing--50)"
  518. }
  519. }
  520. },
  521. "core/list": {
  522. "spacing": {
  523. "padding": {
  524. "left": "var(--wp--preset--spacing--70)"
  525. }
  526. }
  527. },
  528. "core/navigation": {
  529. "elements": {
  530. "link": {
  531. "typography": {
  532. "textTransform": "uppercase",
  533. "fontWeight": "400",
  534. "textDecoration": "none",
  535. "fontFamily": "var(--wp--preset--font-family--heading)",
  536. "lineHeight": "1.5rem"
  537. },
  538. ":hover": {
  539. "typography": {
  540. "textDecoration": "none"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "core/post-featured-image": {
  547. "border": {
  548. "color": "var(--wp--preset--color--foreground)",
  549. "radius": "4px",
  550. "style": "solid",
  551. "width": "1px"
  552. }
  553. },
  554. "core/post-content": {
  555. "spacing": {
  556. "blockGap": "20px"
  557. },
  558. "typography": {
  559. "letterSpacing": "-0.01em"
  560. },
  561. "elements": {
  562. "heading": {
  563. "spacing": {
  564. "padding": {
  565. "top": "20px"
  566. }
  567. }
  568. },
  569. "link": {
  570. "typography": {
  571. "textDecoration": "underline"
  572. }
  573. }
  574. }
  575. },
  576. "core/post-date": {
  577. "color": {
  578. "text": "var(--wp--preset--color--foreground)"
  579. },
  580. "typography": {
  581. "fontFamily": "var(--wp--preset--font-family--system)",
  582. "fontSize": "var(--wp--preset--font-size--x-small)",
  583. "letterSpacing": "0.02em"
  584. },
  585. "elements": {
  586. "link": {
  587. "typography": {
  588. "textDecoration": "none",
  589. "fontSize": "var(--wp--preset--font-size--x-small)"
  590. },
  591. ":hover": {
  592. "typography": {
  593. "textDecoration": "underline"
  594. }
  595. }
  596. }
  597. }
  598. },
  599. "core/post-excerpt": {
  600. "spacing": {
  601. "margin": {
  602. "top": "0px",
  603. "bottom": "0px"
  604. }
  605. },
  606. "typography": {
  607. "fontFamily": "var(--wp--preset--font-family--body)",
  608. "lineHeight": "1.3"
  609. }
  610. },
  611. "core/post-terms": {
  612. "typography": {
  613. "textDecoration": "underline"
  614. }
  615. },
  616. "core/post-title": {
  617. "spacing": {
  618. "margin": {
  619. "bottom": "0"
  620. }
  621. },
  622. "elements": {
  623. "link": {
  624. "typography": {
  625. "fontFamily": "var(--wp--preset--font-family--heading)",
  626. "textDecoration": "none"
  627. },
  628. ":hover": {
  629. "typography": {
  630. "textDecoration": "underline"
  631. }
  632. }
  633. }
  634. }
  635. },
  636. "core/pullquote": {
  637. "spacing": {
  638. "padding": {
  639. "bottom": "var(--wp--preset--spacing--50)",
  640. "left": "clamp(0rem, -2.965rem + 13.953vw, 7.5rem)",
  641. "right": "clamp(0rem, -2.965rem + 13.953vw, 7.5rem)",
  642. "top": "var(--wp--preset--spacing--50)"
  643. }
  644. },
  645. "typography": {
  646. "fontSize": "var(--wp--preset--font-size--large)",
  647. "fontWeight": "400",
  648. "fontFamily": "var(--wp--preset--font-family--heading)",
  649. "fontStyle": "normal",
  650. "textTransform": "uppercase"
  651. },
  652. "elements": {
  653. "cite": {
  654. "typography": {
  655. "fontStyle": "normal",
  656. "fontSize": "var(--wp--preset--font-size--x-small)",
  657. "fontFamily": "var(--wp--preset--font-family--system)",
  658. "textTransform": "none"
  659. }
  660. }
  661. }
  662. },
  663. "sensei-lms/course-navigation": {
  664. "spacing": {
  665. "padding": {
  666. "top": "1rem"
  667. }
  668. },
  669. "typography": {
  670. "fontFamily": "var(--wp--preset--font-family--system)"
  671. },
  672. "css": "& .sensei-lms-course-navigation-module__summary { font-family: var(--wp--preset--font-family--system); }"
  673. },
  674. "sensei-lms/course-theme-notices": {
  675. "css": "& .sensei-course-theme-quiz-graded-notice__text { font-size: clamp(1.25rem, 1.083rem + 0.556vw, 1.5rem); } & .sensei-course-theme-quiz-graded-notice__reset-quiz-form .sensei-course-theme__button { font-size: clamp(1.313rem, 1.188rem + 0.417vw, 1.5rem); }",
  676. "elements": {
  677. "h2": {
  678. "typography": {
  679. "fontFamily": "var(--wp--preset--font-family--system)",
  680. "fontSize": "clamp(1.5rem, 1.167rem + 1.111vw, 2rem)",
  681. "fontWeight": "590"
  682. }
  683. }
  684. }
  685. },
  686. "sensei-lms/course-title": {
  687. "typography": {
  688. "fontSize": "clamp(1.5rem, 1.5rem + 0vw, 1.5rem)"
  689. }
  690. },
  691. "sensei-lms/course-theme-course-progress-bar": {
  692. "color": {
  693. "background": "#F8F5F3"
  694. }
  695. },
  696. "sensei-lms/course-theme-course-progress-counter": {
  697. "typography": {
  698. "fontFamily": "var(--wp--preset--font-family--system)",
  699. "fontSize": "1rem",
  700. "letterSpacing": "0.02em"
  701. }
  702. },
  703. "sensei-lms/course-theme-lesson-module": {
  704. "typography": {
  705. "fontFamily": "var(--wp--preset--font-family--system)",
  706. "letterSpacing": "-0.01em",
  707. "textTransform": "none"
  708. }
  709. },
  710. "sensei-lms/exit-course": {
  711. "typography": {
  712. "fontFamily": "var(--wp--preset--font-family--system)",
  713. "fontSize": "1rem",
  714. "letterSpacing": "0.02em",
  715. "lineHeight": "1"
  716. }
  717. },
  718. "sensei-lms/page-actions": {
  719. "typography": {
  720. "fontFamily": "var(--wp--preset--font-family--heading)",
  721. "fontSize": "var(--wp--custom--typography--font-sizes--button)",
  722. "letterSpacing": "0.05em",
  723. "lineHeight": "2.666666666666667"
  724. }
  725. },
  726. "core/quote": {
  727. "spacing": {
  728. "padding": {
  729. "left": "var(--wp--preset--spacing--50)"
  730. }
  731. },
  732. "elements": {
  733. "cite": {
  734. "typography": {
  735. "fontStyle": "normal",
  736. "fontSize": "var(--wp--preset--font-size--x-small)",
  737. "fontFamily": "var(--wp--preset--font-family--system)"
  738. }
  739. }
  740. },
  741. "typography": {
  742. "fontStyle": "normal",
  743. "fontSize": "var(--wp--preset--font-size--medium)"
  744. },
  745. "border": {
  746. "color": "var(--wp--preset--color--primary)",
  747. "style": "solid",
  748. "width": "0 0 0 1px"
  749. }
  750. },
  751. "core/search": {
  752. "typography": {
  753. "fontSize": "var(--wp--preset--font-size--x-small)",
  754. "lineHeight": "1.6"
  755. }
  756. },
  757. "core/separator": {
  758. "border": {
  759. "color": "currentColor",
  760. "style": "solid",
  761. "width": "0 0 1px 0"
  762. },
  763. "color": {
  764. "text": "var(--wp--preset--color--foreground)"
  765. }
  766. },
  767. "core/site-tagline": {
  768. "typography": {
  769. "fontSize": "var(--wp--preset--font-size--x-small)"
  770. }
  771. },
  772. "core/site-title": {
  773. "typography": {
  774. "fontFamily": "var(--wp--preset--font-family--heading)",
  775. "textTransform": "uppercase"
  776. },
  777. "elements": {
  778. "link": {
  779. "typography": {
  780. "textDecoration": "none"
  781. },
  782. ":hover": {
  783. "typography": {
  784. "textDecoration": "underline"
  785. }
  786. }
  787. }
  788. }
  789. },
  790. "core/query-pagination": {
  791. "elements": {
  792. "link": {
  793. "typography": {
  794. "textDecoration": "none",
  795. "textTransform": "uppercase"
  796. }
  797. }
  798. },
  799. "typography": {
  800. "fontFamily": "var(--wp--preset--font-family--heading)",
  801. "fontSize": "var(--wp--preset--font-size--medium)",
  802. "letterSpacing": "0.01em"
  803. }
  804. },
  805. "sensei-lms/quiz-back-to-lesson": {
  806. "typography": {
  807. "fontFamily": "var(--wp--preset--font-family--system)"
  808. }
  809. },
  810. "sensei-lms/quiz-actions": {
  811. "css": "& .sensei-quiz-actions-secondary .sensei-quiz-action .quiz-submit { font-size: var(--wp--custom--typography--font-sizes--normal); }"
  812. },
  813. "sensei-lms/quiz-question": {
  814. "typography": {
  815. "fontSize": "var(--wp--preset--font-size--medium)"
  816. },
  817. "elements": {
  818. "h2": {
  819. "typography": {
  820. "fontSize": "clamp(1.5rem, 0.808rem + 2.308vw, 2.25rem)",
  821. "fontFamily": "var(--wp--preset--font-family--system)",
  822. "fontWeight": "590",
  823. "lineHeight": "1",
  824. "letterSpacing": "-0.36px"
  825. },
  826. "spacing": {
  827. "margin": {
  828. "bottom": "40px",
  829. "top": "80px"
  830. },
  831. "padding": {
  832. "bottom": "0",
  833. "top": "0",
  834. "left": "0",
  835. "right": "0"
  836. }
  837. }
  838. }
  839. },
  840. "css": "& .grade { font-family: var(--wp--preset--font-family--system) } & .sensei-lms-question__answer-feedback--incorrect { --color: #f2ddbe; }"
  841. }
  842. },
  843. "color": {
  844. "background": "var(--wp--preset--color--background)",
  845. "text": "var(--wp--preset--color--foreground)"
  846. },
  847. "elements": {
  848. "button": {
  849. "border": {
  850. "color": "transparent",
  851. "radius": "var(--wp--custom--button--radius)",
  852. "style": "solid",
  853. "width": "1px"
  854. },
  855. "color": {
  856. "background": "var(--wp--preset--color--foreground)",
  857. "text": "var(--wp--preset--color--background)"
  858. },
  859. "spacing": {
  860. "padding": {
  861. "top": "var(--wp--custom--button--spacing--padding--top)",
  862. "right": "var(--wp--custom--button--spacing--padding--right)",
  863. "bottom": "var(--wp--custom--button--spacing--padding--bottom)",
  864. "left": "var(--wp--custom--button--spacing--padding--left)"
  865. }
  866. },
  867. "typography": {
  868. "fontFamily": "var(--wp--preset--font-family--heading)",
  869. "fontSize": "var(--wp--custom--typography--font-sizes--button)",
  870. "fontWeight": "400",
  871. "letterSpacing": "0.05em",
  872. "textTransform": "uppercase"
  873. },
  874. ":active": {
  875. "border": {
  876. "color": "var(--wp--preset--color--button-border-active)"
  877. },
  878. "color": {
  879. "background": "var(--wp--preset--color--secondary)",
  880. "text": "var(--wp--preset--color--primary)"
  881. }
  882. },
  883. ":focus": {
  884. "color": {
  885. "background": "var(--wp--preset--color--foreground)",
  886. "text": "var(--wp--preset--color--background)"
  887. }
  888. },
  889. ":hover": {
  890. "border": {
  891. "color": "var(--wp--preset--color--button-border-hover)"
  892. },
  893. "color": {
  894. "background": "var(--wp--preset--color--primary)",
  895. "text": "var(--wp--preset--color--secondary)"
  896. }
  897. }
  898. },
  899. "caption": {
  900. "typography": {
  901. "fontSize": "var(--wp--preset--font-size--small)"
  902. }
  903. },
  904. "heading": {
  905. "typography": {
  906. "fontFamily": "var(--wp--preset--font-family--heading)",
  907. "fontWeight": "400",
  908. "letterSpacing": "0.01em",
  909. "lineHeight": "1",
  910. "textTransform": "uppercase"
  911. }
  912. },
  913. "h1": {
  914. "typography": {
  915. "fontSize": "var(--wp--preset--font-size--xx-large)"
  916. }
  917. },
  918. "h2": {
  919. "typography": {
  920. "fontSize": "var(--wp--preset--font-size--x-large)"
  921. }
  922. },
  923. "h3": {
  924. "typography": {
  925. "fontSize": "var(--wp--preset--font-size--large)"
  926. }
  927. },
  928. "h4": {
  929. "typography": {
  930. "fontSize": "var(--wp--preset--font-size--medium)"
  931. }
  932. },
  933. "h5": {
  934. "typography": {
  935. "fontSize": "var(--wp--preset--font-size--small)"
  936. }
  937. },
  938. "h6": {
  939. "typography": {
  940. "fontSize": "var(--wp--preset--font-size--x-small)"
  941. }
  942. },
  943. "link": {
  944. "color": {
  945. "text": "var(--wp--preset--color--primary)"
  946. },
  947. "typography": {
  948. "fontWeight": "400",
  949. "textDecoration": "none"
  950. },
  951. ":active": {
  952. "color": {
  953. "background": "var(--wp--preset--color--secondary)"
  954. },
  955. "typography": {
  956. "textDecoration": "none"
  957. }
  958. },
  959. ":focus": {
  960. "typography": {
  961. "textDecoration": "underline dotted"
  962. }
  963. },
  964. ":hover": {
  965. "typography": {
  966. "textDecoration": "underline"
  967. }
  968. }
  969. }
  970. },
  971. "spacing": {
  972. "blockGap": "2.5rem",
  973. "padding": {
  974. "right": "1.25rem",
  975. "left": "1.25rem"
  976. }
  977. },
  978. "typography": {
  979. "fontFamily": "var(--wp--preset--font-family--body)",
  980. "fontSize": "var(--wp--custom--typography--font-sizes--normal)",
  981. "lineHeight": "1.3"
  982. }
  983. },
  984. "templateParts": [
  985. {
  986. "area": "header",
  987. "name": "header"
  988. },
  989. {
  990. "area": "footer",
  991. "name": "footer"
  992. }
  993. ]
  994. }