theme.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641
  1. {
  2. "customTemplates": [
  3. {
  4. "name": "archive-product",
  5. "postTypes": [
  6. "page"
  7. ],
  8. "title": "Product Archive"
  9. },
  10. {
  11. "name": "cart",
  12. "postTypes": [
  13. "page"
  14. ],
  15. "title": "Cart"
  16. },
  17. {
  18. "name": "checkout",
  19. "postTypes": [
  20. "page"
  21. ],
  22. "title": "Checkout"
  23. },
  24. {
  25. "name": "order-confirmation",
  26. "postTypes": [
  27. "page"
  28. ],
  29. "title": "Order Confirmation"
  30. },
  31. {
  32. "name": "product-search-results",
  33. "postTypes": [
  34. "page"
  35. ],
  36. "title": "Product Search Results"
  37. },
  38. {
  39. "name": "single-product",
  40. "postTypes": [
  41. "product"
  42. ],
  43. "title": "Single Product"
  44. },
  45. {
  46. "name": "taxonomy-product_cat",
  47. "postTypes": [
  48. "page"
  49. ],
  50. "title": "Product Category Archive"
  51. },
  52. {
  53. "name": "taxonomy-product_tag",
  54. "postTypes": [
  55. "page"
  56. ],
  57. "title": "Product Tag Archive"
  58. }
  59. ],
  60. "settings": {
  61. "appearanceTools": true,
  62. "color": {
  63. "custom": true,
  64. "customGradient": true,
  65. "palette": [
  66. {
  67. "color": "#232323",
  68. "name": "Primary",
  69. "slug": "primary"
  70. },
  71. {
  72. "color": "#424242",
  73. "name": "Secondary",
  74. "slug": "secondary"
  75. },
  76. {
  77. "color": "#232323",
  78. "name": "Foreground",
  79. "slug": "foreground"
  80. },
  81. {
  82. "color": "#f1f1f1",
  83. "name": "Background",
  84. "slug": "background"
  85. },
  86. {
  87. "color": "#464646",
  88. "name": "Tertiary",
  89. "slug": "tertiary"
  90. }
  91. ]
  92. },
  93. "layout": {
  94. "contentSize": "400px",
  95. "wideSize": "1624px"
  96. },
  97. "spacing": {
  98. "spacingScale": {
  99. "steps": 0
  100. },
  101. "spacingSizes": [
  102. {
  103. "name": "1",
  104. "size": "0.75rem",
  105. "slug": "30"
  106. },
  107. {
  108. "name": "2",
  109. "size": "1rem",
  110. "slug": "40"
  111. },
  112. {
  113. "name": "3",
  114. "size": "1.5rem",
  115. "slug": "50"
  116. },
  117. {
  118. "name": "4",
  119. "size": "2rem",
  120. "slug": "60"
  121. },
  122. {
  123. "name": "5",
  124. "size": "3rem",
  125. "slug": "70"
  126. },
  127. {
  128. "name": "6",
  129. "size": "4rem",
  130. "slug": "80"
  131. }
  132. ],
  133. "units": [
  134. "%",
  135. "px",
  136. "em",
  137. "rem",
  138. "vh",
  139. "vw"
  140. ]
  141. },
  142. "typography": {
  143. "customFontSize": true,
  144. "dropCap": false,
  145. "fluid": false,
  146. "fontFamilies": [
  147. {
  148. "fontFace": [
  149. {
  150. "fontFamily": "Inter",
  151. "fontStyle": "normal",
  152. "fontWeight": "100",
  153. "src": [
  154. "file:./assets/fonts/inter_normal_100.ttf"
  155. ]
  156. },
  157. {
  158. "fontFamily": "Inter",
  159. "fontStyle": "normal",
  160. "fontWeight": "200",
  161. "src": [
  162. "file:./assets/fonts/inter_normal_200.ttf"
  163. ]
  164. },
  165. {
  166. "fontFamily": "Inter",
  167. "fontStyle": "normal",
  168. "fontWeight": "300",
  169. "src": [
  170. "file:./assets/fonts/inter_normal_300.ttf"
  171. ]
  172. },
  173. {
  174. "fontFamily": "Inter",
  175. "fontStyle": "normal",
  176. "fontWeight": "400",
  177. "src": [
  178. "file:./assets/fonts/inter_normal_400.ttf"
  179. ]
  180. },
  181. {
  182. "fontFamily": "Inter",
  183. "fontStyle": "normal",
  184. "fontWeight": "500",
  185. "src": [
  186. "file:./assets/fonts/inter_normal_500.ttf"
  187. ]
  188. },
  189. {
  190. "fontFamily": "Inter",
  191. "fontStyle": "normal",
  192. "fontWeight": "600",
  193. "src": [
  194. "file:./assets/fonts/inter_normal_600.ttf"
  195. ]
  196. },
  197. {
  198. "fontFamily": "Inter",
  199. "fontStyle": "normal",
  200. "fontWeight": "700",
  201. "src": [
  202. "file:./assets/fonts/inter_normal_700.ttf"
  203. ]
  204. },
  205. {
  206. "fontFamily": "Inter",
  207. "fontStyle": "normal",
  208. "fontWeight": "800",
  209. "src": [
  210. "file:./assets/fonts/inter_normal_800.ttf"
  211. ]
  212. },
  213. {
  214. "fontFamily": "Inter",
  215. "fontStyle": "normal",
  216. "fontWeight": "900",
  217. "src": [
  218. "file:./assets/fonts/inter_normal_900.ttf"
  219. ]
  220. }
  221. ],
  222. "fontFamily": "Inter",
  223. "slug": "inter"
  224. }
  225. ],
  226. "fontSizes": [
  227. {
  228. "name": "Extra Small",
  229. "size": "0.625rem",
  230. "slug": "x-small"
  231. },
  232. {
  233. "name": "Small",
  234. "size": "0.75rem",
  235. "slug": "small"
  236. },
  237. {
  238. "name": "Medium",
  239. "size": "0.9rem",
  240. "slug": "medium"
  241. },
  242. {
  243. "name": "Large",
  244. "size": "1.296rem",
  245. "slug": "large"
  246. },
  247. {
  248. "name": "Extra Large",
  249. "size": "1.866rem",
  250. "slug": "x-large"
  251. }
  252. ]
  253. }
  254. },
  255. "styles": {
  256. "blocks": {
  257. "core/button": {
  258. "variations": {
  259. "outline": {
  260. "border": {
  261. "width": "1px"
  262. },
  263. "spacing": {
  264. "padding": {
  265. "bottom": "0.3125rem",
  266. "left": "1.4375rem",
  267. "right": "1.4375rem",
  268. "top": "0.3125rem"
  269. }
  270. }
  271. }
  272. }
  273. },
  274. "core/calendar": {
  275. "css": ".wp-block-calendar table:where(:not(.has-text-color)) {color: var(--wp--preset--color--contrast);} &.wp-block-calendar table:where(:not(.has-text-color)) td {border-color: var(--wp--preset--color--contrast);} &.wp-block-calendar table:where(:not(.has-text-color)) th {border-color: var(--wp--preset--color--contrast);} & :where(.wp-block-calendar table:not(.has-background) th){background:transparent;}"
  276. },
  277. "core/code": {
  278. "border": {
  279. "color": "var(--wp--preset--color--foreground)",
  280. "radius": "0",
  281. "style": "solid",
  282. "width": "0.5px"
  283. },
  284. "spacing": {
  285. "padding": "var(--wp--preset--spacing--30)"
  286. },
  287. "typography": {
  288. "fontFamily": "monospace"
  289. }
  290. },
  291. "core/comment-author-name": {
  292. "typography": {
  293. "fontSize": "var(--wp--preset--font-size--x-small)"
  294. }
  295. },
  296. "core/comment-date": {
  297. "typography": {
  298. "fontSize": "var(--wp--preset--font-size--x-small)"
  299. }
  300. },
  301. "core/comment-edit-link": {
  302. "typography": {
  303. "fontSize": "var(--wp--preset--font-size--x-small)"
  304. }
  305. },
  306. "core/comment-reply-link": {
  307. "typography": {
  308. "fontSize": "var(--wp--preset--font-size--x-small)"
  309. }
  310. },
  311. "core/comments-pagination": {
  312. "typography": {
  313. "fontSize": "var(--wp--preset--font-size--x-small)"
  314. }
  315. },
  316. "core/comments-title": {
  317. "spacing": {
  318. "margin": {
  319. "bottom": "var(--wp--preset--spacing--50)",
  320. "top": "0"
  321. }
  322. },
  323. "typography": {
  324. "fontSize": "var(--wp--preset--font-size--medium)",
  325. "lineHeight": "1.388888889"
  326. }
  327. },
  328. "core/cover": {
  329. "spacing": {
  330. "padding": "var(--wp--preset--spacing--50)"
  331. }
  332. },
  333. "core/gallery": {
  334. "spacing": {
  335. "margin": {
  336. "bottom": "var(--wp--preset--spacing--50)"
  337. }
  338. }
  339. },
  340. "core/latest-comments": {
  341. "css": " .wp-block-latest-comments__comment-author{font-size: inherit;} & .wp-block-latest-comments__comment-date{font-size: inherit;} & .wp-block-latest-comments__comment-excerpt p{font-size: inherit;} & .wp-block-latest-comments__comment-excerpt p{margin:0 0 var(--wp--style--block-gap)}&:where(.wp-block-latest-comments:not([style*=line-height] .wp-block-latest-comments__comment-excerpt p)){line-height:calc(1em + 0.5rem);}",
  342. "spacing": {
  343. "padding": {
  344. "left": "0"
  345. }
  346. }
  347. },
  348. "core/latest-posts": {
  349. "css": " .wp-block-latest-posts__post-author{font-size: inherit;} & .wp-block-latest-posts__post-date{font-size: inherit;} & .wp-block-latest-posts__post-excerpt{margin:0 0 var(--wp--style--block-gap)}"
  350. },
  351. "core/list": {
  352. "spacing": {
  353. "padding": {
  354. "left": "var(--wp--preset--spacing--50)"
  355. }
  356. }
  357. },
  358. "core/navigation": {
  359. "css": ".wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {border-color: var(--wp--preset--color--contrast);border-width:0.5px}",
  360. "elements": {
  361. "link": {
  362. ":hover": {
  363. "typography": {
  364. "textDecoration": "underline"
  365. }
  366. },
  367. "typography": {
  368. "textDecoration": "none"
  369. }
  370. }
  371. }
  372. },
  373. "core/paragraph": {
  374. "typography": {
  375. "lineHeight": "calc(1em + 0.5rem)"
  376. }
  377. },
  378. "core/post-author": {
  379. "css": ".wp-block-post-author .wp-block-post-author__byline{font-size:inherit;}&.wp-block-post-author .wp-block-post-author__name a{text-decoration:none;}&.wp-block-post-author .wp-block-post-author__bio{font-size:inherit;margin:0;}& .wp-block-post-author__avatar img{margin-top:4px;vertical-align:middle;}"
  380. },
  381. "core/post-comments-form": {
  382. "css": ".wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]){line-height: inherit;}&.wp-block-post-comments-form .comment-form textarea{line-height: inherit;}&.wp-block-post-comments-form .form-submit {margin-bottom: 0;}&.wp-block-post-comments-form .comment-form > *:not(.comment-form-cookies-consent,.comment-subscription-form){margin-top:var(--wp--preset--spacing--50);margin-bottom:0;}& .comment-reply-title{font-size:var(--wp--preset--font-size--medium);line-height:1.388888889;}"
  383. },
  384. "core/post-excerpt": {
  385. "css": ".wp-block-post-excerpt p.wp-block-post-excerpt__excerpt{line-height: inherit;}"
  386. },
  387. "core/post-title": {
  388. "elements": {
  389. "link": {
  390. ":hover": {
  391. "typography": {
  392. "textDecoration": "underline"
  393. }
  394. },
  395. "typography": {
  396. "textDecoration": "none"
  397. }
  398. }
  399. },
  400. "typography": {
  401. "fontSize": "var(--wp--preset--font-size--medium)",
  402. "lineHeight": "1.388888889"
  403. }
  404. },
  405. "core/pullquote": {
  406. "border": {
  407. "color": "var(--wp--preset--color--foreground)",
  408. "style": "solid",
  409. "width": "1px 0"
  410. },
  411. "css": ".wp-block-pullquote cite{display:block;}",
  412. "elements": {
  413. "cite": {
  414. "spacing": {
  415. "margin": {
  416. "top": "var(--wp--preset--spacing--50)"
  417. }
  418. },
  419. "typography": {
  420. "fontSize": "var(--wp--preset--font-size--x-small)",
  421. "fontStyle": "normal",
  422. "textTransform": "none"
  423. }
  424. }
  425. },
  426. "spacing": {
  427. "padding": "var(--wp--preset--spacing--50)"
  428. },
  429. "typography": {
  430. "fontSize": "var(--wp--preset--font-size--small)",
  431. "fontStyle": "italic"
  432. }
  433. },
  434. "core/query-pagination": {
  435. "css": ".wp-block-query-pagination .wp-block-query-pagination-next{margin-bottom:0;}&.wp-block-query-pagination .wp-block-query-pagination-previous{margin-bottom:0;}&.wp-block-query-pagination .wp-block-query-pagination-numbers {margin-bottom:0;}",
  436. "typography": {
  437. "lineHeight": "1"
  438. }
  439. },
  440. "core/query-title": {
  441. "typography": {
  442. "fontSize": "var(--wp--preset--font-size--medium)",
  443. "lineHeight": "1.388888889"
  444. }
  445. },
  446. "core/quote": {
  447. "border": {
  448. "color": "var(--wp--preset--color--foreground)",
  449. "style": "solid",
  450. "width": "0 0 0 1px"
  451. },
  452. "spacing": {
  453. "margin": {
  454. "left": "0",
  455. "right": "0"
  456. },
  457. "padding": {
  458. "left": "var(--wp--preset--spacing--50)"
  459. }
  460. },
  461. "typography": {
  462. "fontStyle": "italic"
  463. },
  464. "variations": {
  465. "plain": {
  466. "border": {
  467. "width": "0"
  468. },
  469. "spacing": {
  470. "padding": {
  471. "left": "0"
  472. }
  473. },
  474. "typography": {
  475. "fontStyle": "normal"
  476. }
  477. }
  478. }
  479. },
  480. "core/search": {
  481. "css": "&.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input{border-radius:999px;}& .wp-block-search__inside-wrapper{border-radius:999px;}& :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button.has-icon{padding:0.375rem;}"
  482. },
  483. "core/separator": {
  484. "border": {
  485. "color": "currentColor",
  486. "style": "solid",
  487. "width": "0 0 1px 0"
  488. },
  489. "color": {
  490. "text": "var(--wp--preset--color--foreground)"
  491. }
  492. },
  493. "core/site-title": {
  494. "elements": {
  495. "link": {
  496. ":hover": {
  497. "typography": {
  498. "textDecoration": "underline"
  499. }
  500. },
  501. "typography": {
  502. "textDecoration": "none"
  503. }
  504. }
  505. },
  506. "typography": {
  507. "fontSize": "var(--wp--preset--font-size--medium)",
  508. "fontWeight": "700",
  509. "lineHeight": "1.388888889"
  510. }
  511. },
  512. "core/tag-cloud": {
  513. "css": ".wp-block-tag-cloud.is-style-outline{font-size:var(--wp--preset--font-size--small)}&.wp-block-tag-cloud.is-style-outline a {border-radius: 999px;padding: 0 1rem;}&.wp-block-tag-cloud.is-style-outline a:hover {color: var(--wp--preset--color--base);background-color: var(--wp--preset--color--primary);}"
  514. },
  515. "core/term-description": {
  516. "css": ".wp-block-term-description p+p{margin-top:1.25rem;}"
  517. }
  518. },
  519. "color": {
  520. "background": "var(--wp--preset--color--background)",
  521. "text": "var(--wp--preset--color--foreground)"
  522. },
  523. "elements": {
  524. "button": {
  525. ":active": {
  526. "color": {
  527. "background": "var(--wp--preset--color--primary)",
  528. "text": "var(--wp--preset--color--background)"
  529. }
  530. },
  531. ":focus": {
  532. "color": {
  533. "background": "var(--wp--preset--color--secondary)",
  534. "text": "var(--wp--preset--color--background)"
  535. }
  536. },
  537. ":hover": {
  538. "color": {
  539. "background": "var(--wp--preset--color--secondary)",
  540. "text": "var(--wp--preset--color--background)"
  541. }
  542. },
  543. "border": {
  544. "radius": "9999px"
  545. },
  546. "color": {
  547. "background": "var(--wp--preset--color--primary)",
  548. "text": "var(--wp--preset--color--background)"
  549. },
  550. "spacing": {
  551. "padding": {
  552. "bottom": "0.375rem",
  553. "left": "1.5rem",
  554. "right": "1.5rem",
  555. "top": "0.375rem"
  556. }
  557. }
  558. },
  559. "h1": {
  560. "typography": {
  561. "fontSize": "var(--wp--preset--font-size--large)",
  562. "lineHeight": "1.350308642"
  563. }
  564. },
  565. "h2": {
  566. "typography": {
  567. "fontSize": "var(--wp--preset--font-size--medium)",
  568. "lineHeight": "1.388888889"
  569. }
  570. },
  571. "h3": {
  572. "typography": {
  573. "fontSize": "var(--wp--preset--font-size--small)",
  574. "lineHeight": "calc(1em + 0.5rem)"
  575. }
  576. },
  577. "h4": {
  578. "typography": {
  579. "fontSize": "var(--wp--preset--font-size--x-small)",
  580. "lineHeight": "1.2"
  581. }
  582. },
  583. "h5": {
  584. "typography": {
  585. "fontSize": "var(--wp--preset--font-size--x-small)",
  586. "lineHeight": "1.2",
  587. "textTransform": "uppercase"
  588. }
  589. },
  590. "h6": {
  591. "typography": {
  592. "fontSize": "var(--wp--preset--font-size--x-small)",
  593. "fontWeight": 400,
  594. "lineHeight": "1.2"
  595. }
  596. },
  597. "heading": {
  598. "typography": {
  599. "fontFamily": "var(--wp--preset--font-family--inter)",
  600. "fontWeight": "700"
  601. }
  602. },
  603. "link": {
  604. ":hover": {
  605. "typography": {
  606. "textDecoration": "none"
  607. }
  608. },
  609. "color": {
  610. "text": "var(--wp--preset--color--primary)"
  611. }
  612. }
  613. },
  614. "spacing": {
  615. "blockGap": "var(--wp--preset--spacing--50)",
  616. "padding": {
  617. "left": "var(--wp--preset--spacing--50)",
  618. "right": "var(--wp--preset--spacing--50)"
  619. }
  620. },
  621. "typography": {
  622. "fontFamily": "var(--wp--preset--font-family--inter)",
  623. "fontSize": "var(--wp--preset--font-size--small)",
  624. "lineHeight": "1.666666667"
  625. }
  626. },
  627. "templateParts": [
  628. {
  629. "area": "header",
  630. "name": "header",
  631. "title": "Header"
  632. },
  633. {
  634. "area": "footer",
  635. "name": "footer",
  636. "title": "Footer"
  637. }
  638. ],
  639. "version": 2,
  640. "$schema": "https://schemas.wp.org/trunk/theme.json"
  641. }