theme.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692
  1. {
  2. "settings": {
  3. "appearanceTools": true,
  4. "color": {
  5. "background": true,
  6. "custom": true,
  7. "customDuotone": true,
  8. "customGradient": true,
  9. "defaultDuotone": true,
  10. "defaultGradients": true,
  11. "defaultPalette": true,
  12. "duotone": [],
  13. "gradients": [],
  14. "palette": [
  15. {
  16. "color": "#ffffff",
  17. "name": "Primary",
  18. "slug": "primary"
  19. },
  20. {
  21. "color": "#2831ff",
  22. "name": "Secondary",
  23. "slug": "secondary"
  24. },
  25. {
  26. "color": "#ffffff",
  27. "name": "Foreground",
  28. "slug": "foreground"
  29. },
  30. {
  31. "color": "#0f0f0f",
  32. "name": "Background",
  33. "slug": "background"
  34. },
  35. {
  36. "color": "#202020",
  37. "name": "Tertiary",
  38. "slug": "tertiary"
  39. }
  40. ],
  41. "text": true
  42. },
  43. "layout": {
  44. "contentSize": "620px",
  45. "definitions": {
  46. "constrained": {
  47. "baseStyles": [
  48. {
  49. "rules": {
  50. "float": "left",
  51. "margin-inline-end": "2em",
  52. "margin-inline-start": "0"
  53. },
  54. "selector": " > .alignleft"
  55. },
  56. {
  57. "rules": {
  58. "float": "right",
  59. "margin-inline-end": "0",
  60. "margin-inline-start": "2em"
  61. },
  62. "selector": " > .alignright"
  63. },
  64. {
  65. "rules": {
  66. "margin-left": "auto !important",
  67. "margin-right": "auto !important"
  68. },
  69. "selector": " > .aligncenter"
  70. },
  71. {
  72. "rules": {
  73. "margin-left": "auto !important",
  74. "margin-right": "auto !important",
  75. "max-width": "var(--wp--style--global--content-size)"
  76. },
  77. "selector": " > :where(:not(.alignleft):not(.alignright):not(.alignfull))"
  78. },
  79. {
  80. "rules": {
  81. "max-width": "var(--wp--style--global--wide-size)"
  82. },
  83. "selector": " > .alignwide"
  84. }
  85. ],
  86. "className": "is-layout-constrained",
  87. "name": "constrained",
  88. "slug": "constrained",
  89. "spacingStyles": [
  90. {
  91. "rules": {
  92. "margin-block-start": "0"
  93. },
  94. "selector": " > :first-child:first-child"
  95. },
  96. {
  97. "rules": {
  98. "margin-block-end": "0"
  99. },
  100. "selector": " > :last-child:last-child"
  101. },
  102. {
  103. "rules": {
  104. "margin-block-end": "0"
  105. },
  106. "selector": " > *"
  107. }
  108. ]
  109. },
  110. "default": {
  111. "baseStyles": [
  112. {
  113. "rules": {
  114. "float": "left",
  115. "margin-inline-end": "2em",
  116. "margin-inline-start": "0"
  117. },
  118. "selector": " > .alignleft"
  119. },
  120. {
  121. "rules": {
  122. "float": "right",
  123. "margin-inline-end": "0",
  124. "margin-inline-start": "2em"
  125. },
  126. "selector": " > .alignright"
  127. },
  128. {
  129. "rules": {
  130. "margin-left": "auto !important",
  131. "margin-right": "auto !important"
  132. },
  133. "selector": " > .aligncenter"
  134. }
  135. ],
  136. "className": "is-layout-flow",
  137. "name": "default",
  138. "slug": "flow",
  139. "spacingStyles": [
  140. {
  141. "rules": {
  142. "margin-block-start": "0"
  143. },
  144. "selector": " > :first-child:first-child"
  145. },
  146. {
  147. "rules": {
  148. "margin-block-end": "0"
  149. },
  150. "selector": " > :last-child:last-child"
  151. },
  152. {
  153. "rules": {
  154. "margin-block-end": "0"
  155. },
  156. "selector": " > *"
  157. }
  158. ]
  159. },
  160. "flex": {
  161. "baseStyles": [
  162. {
  163. "rules": {
  164. "align-items": "center",
  165. "flex-wrap": "wrap"
  166. }
  167. },
  168. {
  169. "rules": {
  170. "margin": "0"
  171. },
  172. "selector": " > *"
  173. }
  174. ],
  175. "className": "is-layout-flex",
  176. "displayMode": "flex",
  177. "name": "flex",
  178. "slug": "flex"
  179. },
  180. "grid": {
  181. "baseStyles": [
  182. {
  183. "rules": {
  184. "margin": "0"
  185. },
  186. "selector": " > *"
  187. }
  188. ],
  189. "className": "is-layout-grid",
  190. "displayMode": "grid",
  191. "name": "grid",
  192. "slug": "grid"
  193. }
  194. },
  195. "wideSize": "1140px"
  196. },
  197. "shadow": {
  198. "defaultPresets": true,
  199. "presets": []
  200. },
  201. "spacing": {
  202. "customSpacingSize": true,
  203. "spacingScale": {
  204. "increment": 1.5,
  205. "mediumStep": 1.5,
  206. "operator": "*",
  207. "steps": 7,
  208. "unit": "rem"
  209. },
  210. "spacingSizes": [],
  211. "units": [
  212. "%",
  213. "px",
  214. "em",
  215. "rem",
  216. "vh",
  217. "vw"
  218. ]
  219. },
  220. "typography": {
  221. "customFontSize": true,
  222. "dropCap": true,
  223. "fluid": true,
  224. "fontFamilies": [
  225. {
  226. "fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
  227. "name": "System Font",
  228. "slug": "system-font"
  229. },
  230. {
  231. "fontFace": [
  232. {
  233. "fontFamily": "Piazzolla",
  234. "fontStyle": "normal",
  235. "fontWeight": "200",
  236. "src": [
  237. "file:./assets/fonts/piazzolla_normal_200.ttf"
  238. ]
  239. },
  240. {
  241. "fontFamily": "Piazzolla",
  242. "fontStyle": "italic",
  243. "fontWeight": "200",
  244. "src": [
  245. "file:./assets/fonts/piazzolla_italic_200.ttf"
  246. ]
  247. },
  248. {
  249. "fontFamily": "Piazzolla",
  250. "fontStyle": "italic",
  251. "fontWeight": "600",
  252. "src": [
  253. "file:./assets/fonts/piazzolla_italic_600.ttf"
  254. ]
  255. },
  256. {
  257. "fontFamily": "Piazzolla",
  258. "fontStyle": "normal",
  259. "fontWeight": "600",
  260. "src": [
  261. "file:./assets/fonts/piazzolla_normal_600.ttf"
  262. ]
  263. }
  264. ],
  265. "fontFamily": "Piazzolla",
  266. "slug": "piazzolla"
  267. }
  268. ],
  269. "fontSizes": [
  270. {
  271. "fluid": {
  272. "max": "1.0625rem",
  273. "min": "0.825rem"
  274. },
  275. "name": "Small",
  276. "size": "1rem",
  277. "slug": "small"
  278. },
  279. {
  280. "fluid": {
  281. "max": "1.25rem",
  282. "min": "1rem"
  283. },
  284. "name": "Medium",
  285. "size": "1.125rem",
  286. "slug": "medium"
  287. },
  288. {
  289. "fluid": {
  290. "max": "2rem",
  291. "min": "1.75rem"
  292. },
  293. "name": "Large",
  294. "size": "1.75rem",
  295. "slug": "large"
  296. },
  297. {
  298. "fluid": {
  299. "max": "3rem",
  300. "min": "2.5rem"
  301. },
  302. "name": "Extra Large",
  303. "size": "3rem",
  304. "slug": "x-large"
  305. }
  306. ],
  307. "fontStyle": true,
  308. "fontWeight": true,
  309. "letterSpacing": true,
  310. "textDecoration": true,
  311. "textTransform": true
  312. },
  313. "useRootPaddingAwareAlignments": true
  314. },
  315. "styles": {
  316. "blocks": {
  317. "core/button": {
  318. "border": {
  319. "radius": "4em"
  320. }
  321. },
  322. "core/code": {
  323. "border": {
  324. "color": "var(--wp--preset--color--foreground)",
  325. "radius": "0.25rem",
  326. "style": "solid",
  327. "width": "2px"
  328. },
  329. "spacing": {
  330. "padding": {
  331. "bottom": "var(--wp--preset--spacing--50)",
  332. "left": "var(--wp--preset--spacing--50)",
  333. "right": "var(--wp--preset--spacing--50)",
  334. "top": "var(--wp--preset--spacing--50)"
  335. }
  336. },
  337. "typography": {
  338. "fontFamily": "monospace"
  339. }
  340. },
  341. "core/comment-author-name": {
  342. "typography": {
  343. "fontSize": "var(--wp--preset--font-size--small)"
  344. }
  345. },
  346. "core/comment-date": {
  347. "typography": {
  348. "fontSize": "var(--wp--preset--font-size--small)"
  349. }
  350. },
  351. "core/comment-edit-link": {
  352. "typography": {
  353. "fontSize": "var(--wp--preset--font-size--small)"
  354. }
  355. },
  356. "core/comment-reply-link": {
  357. "typography": {
  358. "fontSize": "var(--wp--preset--font-size--small)"
  359. }
  360. },
  361. "core/cover": {
  362. "css": "{\n aspect-ratio: 1;\n}"
  363. },
  364. "core/gallery": {
  365. "spacing": {
  366. "margin": {
  367. "bottom": "var(--wp--preset--spacing--50)"
  368. }
  369. }
  370. },
  371. "core/list": {
  372. "spacing": {
  373. "padding": {
  374. "left": "var(--wp--preset--spacing--70)"
  375. }
  376. }
  377. },
  378. "core/navigation": {
  379. "elements": {
  380. "link": {
  381. ":hover": {
  382. "typography": {
  383. "textDecoration": "underline"
  384. }
  385. },
  386. "typography": {
  387. "textDecoration": "none"
  388. }
  389. }
  390. }
  391. },
  392. "core/paragraph": {
  393. "typography": {
  394. "fontSize": "24px",
  395. "lineHeight": 1.4
  396. }
  397. },
  398. "core/post-author-name": {
  399. "elements": {
  400. "link": {
  401. ":hover": {
  402. "typography": {
  403. "textDecoration": "underline"
  404. }
  405. },
  406. "typography": {
  407. "textDecoration": "none"
  408. }
  409. }
  410. }
  411. },
  412. "core/post-content": {
  413. "typography": {
  414. "fontSize": "var:preset|font-size|medium"
  415. }
  416. },
  417. "core/post-date": {
  418. "color": {
  419. "text": "var(--wp--preset--color--foreground)"
  420. },
  421. "elements": {
  422. "link": {
  423. ":hover": {
  424. "typography": {
  425. "textDecoration": "underline"
  426. }
  427. },
  428. "typography": {
  429. "textDecoration": "none"
  430. }
  431. }
  432. },
  433. "typography": {
  434. "fontSize": "var(--wp--preset--font-size--small)"
  435. }
  436. },
  437. "core/post-featured-image": {
  438. "border": {
  439. "bottom": {
  440. "radius": "4px"
  441. },
  442. "left": {
  443. "radius": "4px"
  444. },
  445. "radius": "4em",
  446. "right": {
  447. "radius": "4px"
  448. },
  449. "top": {
  450. "radius": "4px"
  451. }
  452. },
  453. "spacing": {
  454. "padding": {
  455. "bottom": "var:preset|spacing|30",
  456. "left": "var:preset|spacing|30",
  457. "right": "var:preset|spacing|30",
  458. "top": "var:preset|spacing|30"
  459. }
  460. }
  461. },
  462. "core/post-navigation-link": {
  463. "typography": {
  464. "fontSize": "24px"
  465. }
  466. },
  467. "core/post-title": {
  468. "elements": {
  469. "link": {
  470. ":hover": {
  471. "typography": {
  472. "textDecoration": "underline"
  473. }
  474. },
  475. "typography": {
  476. "textDecoration": "none"
  477. }
  478. }
  479. },
  480. "spacing": {
  481. "margin": {
  482. "bottom": "0"
  483. }
  484. },
  485. "typography": {
  486. "fontSize": "1.6rem"
  487. }
  488. },
  489. "core/pullquote": {
  490. "border": {
  491. "color": "var(--wp--preset--color--foreground)",
  492. "style": "solid",
  493. "width": "1px 0"
  494. },
  495. "spacing": {
  496. "padding": {
  497. "bottom": "var(--wp--preset--spacing--50)",
  498. "left": "var(--wp--preset--spacing--50)",
  499. "right": "var(--wp--preset--spacing--50)",
  500. "top": "var(--wp--preset--spacing--50)"
  501. }
  502. },
  503. "typography": {
  504. "fontSize": "var(--wp--preset--font-size--large)",
  505. "fontStyle": "italic"
  506. }
  507. },
  508. "core/query-pagination-next": {
  509. "typography": {
  510. "fontSize": "var:preset|font-size|medium"
  511. }
  512. },
  513. "core/query-pagination-previous": {
  514. "typography": {
  515. "fontSize": "var:preset|font-size|medium"
  516. }
  517. },
  518. "core/query-title": {
  519. "typography": {
  520. "fontSize": "var:preset|font-size|large"
  521. }
  522. },
  523. "core/quote": {
  524. "border": {
  525. "color": "var(--wp--preset--color--primary)",
  526. "style": "solid",
  527. "width": "0 0 0 1px"
  528. },
  529. "spacing": {
  530. "padding": {
  531. "left": "var(--wp--preset--spacing--50)"
  532. }
  533. },
  534. "typography": {
  535. "fontStyle": "normal"
  536. }
  537. },
  538. "core/search": {
  539. "typography": {
  540. "fontSize": "var(--wp--preset--font-size--medium)",
  541. "lineHeight": "1.6"
  542. }
  543. },
  544. "core/separator": {
  545. "border": {
  546. "color": "currentColor",
  547. "style": "solid",
  548. "width": "0 0 1px 0"
  549. },
  550. "color": {
  551. "text": "var(--wp--preset--color--foreground)"
  552. }
  553. },
  554. "core/site-tagline": {
  555. "typography": {
  556. "fontSize": "var(--wp--preset--font-size--small)"
  557. }
  558. },
  559. "core/site-title": {
  560. "elements": {
  561. "link": {
  562. ":hover": {
  563. "typography": {
  564. "textDecoration": "underline"
  565. }
  566. },
  567. "typography": {
  568. "textDecoration": "none"
  569. }
  570. }
  571. },
  572. "typography": {
  573. "fontSize": "2.6rem",
  574. "fontStyle": "normal",
  575. "fontWeight": "200"
  576. }
  577. }
  578. },
  579. "color": {
  580. "background": "var(--wp--preset--color--background)",
  581. "text": "var(--wp--preset--color--foreground)"
  582. },
  583. "elements": {
  584. "button": {
  585. ":active": {
  586. "color": {
  587. "background": "var(--wp--preset--color--primary)",
  588. "text": "var(--wp--preset--color--background)"
  589. }
  590. },
  591. ":focus": {
  592. "color": {
  593. "background": "var(--wp--preset--color--primary)",
  594. "text": "var(--wp--preset--color--background)"
  595. },
  596. "outline": {
  597. "color": "var(--wp--preset--color--primary)",
  598. "offset": "2px",
  599. "style": "dotted",
  600. "width": "1px"
  601. }
  602. },
  603. ":hover": {
  604. "color": {
  605. "background": "var(--wp--preset--color--secondary)",
  606. "text": "var(--wp--preset--color--background)"
  607. }
  608. },
  609. "border": {
  610. "radius": "0.25rem"
  611. },
  612. "color": {
  613. "background": "var(--wp--preset--color--primary)",
  614. "text": "var(--wp--preset--color--background)"
  615. }
  616. },
  617. "h1": {
  618. "typography": {
  619. "fontSize": "var(--wp--preset--font-size--x-large)"
  620. }
  621. },
  622. "h2": {
  623. "typography": {
  624. "fontSize": "var(--wp--preset--font-size--large)"
  625. }
  626. },
  627. "h3": {
  628. "typography": {
  629. "fontSize": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.48rem) * 0.4808)), 1.75rem)"
  630. }
  631. },
  632. "h4": {
  633. "typography": {
  634. "fontSize": "clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.4808)), 1.5rem)"
  635. }
  636. },
  637. "h5": {
  638. "typography": {
  639. "fontSize": "var(--wp--preset--font-size--medium)"
  640. }
  641. },
  642. "h6": {
  643. "typography": {
  644. "fontSize": "var(--wp--preset--font-size--small)"
  645. }
  646. },
  647. "heading": {
  648. "typography": {
  649. "fontFamily": "var(--wp--preset--font-family--rubik)",
  650. "fontWeight": "400",
  651. "lineHeight": "1.125"
  652. }
  653. },
  654. "link": {
  655. ":hover": {
  656. "typography": {
  657. "textDecoration": "none"
  658. }
  659. },
  660. "color": {
  661. "text": "var(--wp--preset--color--primary)"
  662. }
  663. }
  664. },
  665. "spacing": {
  666. "blockGap": "2vh",
  667. "padding": {
  668. "bottom": "2em",
  669. "left": "2em",
  670. "right": "2em",
  671. "top": "2em"
  672. }
  673. },
  674. "typography": {
  675. "fontFamily": "var:preset|font-family|piazzolla",
  676. "fontSize": "var:preset|font-size|medium",
  677. "lineHeight": "1.6"
  678. }
  679. },
  680. "templateParts": [
  681. {
  682. "area": "header",
  683. "name": "header"
  684. },
  685. {
  686. "area": "footer",
  687. "name": "footer"
  688. }
  689. ],
  690. "version": 2,
  691. "$schema": "https://schemas.wp.org/trunk/theme.json"
  692. }