theme.json 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  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": "#004de5",
  17. "name": "Primary",
  18. "slug": "primary"
  19. },
  20. {
  21. "color": "#004de5",
  22. "name": "Secondary",
  23. "slug": "secondary"
  24. },
  25. {
  26. "color": "#004de5",
  27. "name": "Foreground",
  28. "slug": "foreground"
  29. },
  30. {
  31. "color": "#fefdf8",
  32. "name": "Background",
  33. "slug": "background"
  34. },
  35. {
  36. "color": "#fefdf8",
  37. "name": "Tertiary",
  38. "slug": "tertiary"
  39. }
  40. ],
  41. "text": true
  42. },
  43. "layout": {
  44. "contentSize": "740px",
  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-end": "0",
  93. "margin-block-start": "0"
  94. },
  95. "selector": " > *"
  96. },
  97. {
  98. "rules": {
  99. "margin-block-end": "0",
  100. "margin-block-start": null
  101. },
  102. "selector": " > * + *"
  103. }
  104. ]
  105. },
  106. "default": {
  107. "baseStyles": [
  108. {
  109. "rules": {
  110. "float": "left",
  111. "margin-inline-end": "2em",
  112. "margin-inline-start": "0"
  113. },
  114. "selector": " > .alignleft"
  115. },
  116. {
  117. "rules": {
  118. "float": "right",
  119. "margin-inline-end": "0",
  120. "margin-inline-start": "2em"
  121. },
  122. "selector": " > .alignright"
  123. },
  124. {
  125. "rules": {
  126. "margin-left": "auto !important",
  127. "margin-right": "auto !important"
  128. },
  129. "selector": " > .aligncenter"
  130. }
  131. ],
  132. "className": "is-layout-flow",
  133. "name": "default",
  134. "slug": "flow",
  135. "spacingStyles": [
  136. {
  137. "rules": {
  138. "margin-block-end": "0",
  139. "margin-block-start": "0"
  140. },
  141. "selector": " > *"
  142. },
  143. {
  144. "rules": {
  145. "margin-block-end": "0",
  146. "margin-block-start": null
  147. },
  148. "selector": " > * + *"
  149. }
  150. ]
  151. },
  152. "flex": {
  153. "baseStyles": [
  154. {
  155. "rules": {
  156. "align-items": "center",
  157. "flex-wrap": "wrap"
  158. },
  159. "selector": ""
  160. },
  161. {
  162. "rules": {
  163. "margin": "0"
  164. },
  165. "selector": " > *"
  166. }
  167. ],
  168. "className": "is-layout-flex",
  169. "displayMode": "flex",
  170. "name": "flex",
  171. "slug": "flex",
  172. "spacingStyles": [
  173. {
  174. "rules": {
  175. "gap": null
  176. },
  177. "selector": ""
  178. }
  179. ]
  180. }
  181. },
  182. "wideSize": "1000px"
  183. },
  184. "shadow": {
  185. "defaultPresets": true,
  186. "presets": []
  187. },
  188. "spacing": {
  189. "customSpacingSize": true,
  190. "spacingScale": {
  191. "increment": 1.5,
  192. "mediumStep": 1.5,
  193. "operator": "*",
  194. "steps": 7,
  195. "unit": "rem"
  196. },
  197. "spacingSizes": [],
  198. "units": [
  199. "%",
  200. "px",
  201. "em",
  202. "rem",
  203. "vh",
  204. "vw"
  205. ]
  206. },
  207. "typography": {
  208. "customFontSize": true,
  209. "dropCap": true,
  210. "fluid": true,
  211. "fontFamilies": [
  212. {
  213. "fontFace": [],
  214. "fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
  215. "name": "System Font",
  216. "slug": "system-font"
  217. },
  218. {
  219. "fontFace": [
  220. {
  221. "fontFamily": "Russisch Sans",
  222. "fontStyle": "normal",
  223. "fontWeight": "600",
  224. "src": [
  225. "file:./assets/fonts/russisch-sans_normal_600.ttf"
  226. ]
  227. },
  228. {
  229. "fontFamily": "Russisch Sans",
  230. "fontStyle": "italic",
  231. "fontWeight": "600",
  232. "src": [
  233. "file:./assets/fonts/russisch-sans_italic_600.ttf"
  234. ]
  235. },
  236. {
  237. "fontFamily": "Russisch Sans",
  238. "fontStyle": "normal",
  239. "fontWeight": "400",
  240. "src": [
  241. "file:./assets/fonts/russisch-sans_normal_400.ttf"
  242. ]
  243. },
  244. {
  245. "fontFamily": "Russisch Sans",
  246. "fontStyle": "italic",
  247. "fontWeight": "400",
  248. "src": [
  249. "file:./assets/fonts/russisch-sans_italic_400.ttf"
  250. ]
  251. }
  252. ],
  253. "fontFamily": "Russisch Sans",
  254. "slug": "russisch-sans"
  255. }
  256. ],
  257. "fontSizes": [
  258. {
  259. "fluid": {
  260. "max": "1.0625rem",
  261. "min": "0.825rem"
  262. },
  263. "name": "Small",
  264. "size": "1rem",
  265. "slug": "small"
  266. },
  267. {
  268. "fluid": {
  269. "max": "1.25rem",
  270. "min": "1rem"
  271. },
  272. "name": "Medium",
  273. "size": "1.125rem",
  274. "slug": "medium"
  275. },
  276. {
  277. "fluid": {
  278. "max": "2rem",
  279. "min": "1.75rem"
  280. },
  281. "name": "Large",
  282. "size": "1.75rem",
  283. "slug": "large"
  284. },
  285. {
  286. "fluid": {
  287. "max": "3rem",
  288. "min": "2.5rem"
  289. },
  290. "name": "Extra Large",
  291. "size": "3rem",
  292. "slug": "x-large"
  293. }
  294. ],
  295. "fontStyle": true,
  296. "fontWeight": true,
  297. "letterSpacing": true,
  298. "textDecoration": true,
  299. "textTransform": true
  300. },
  301. "useRootPaddingAwareAlignments": true
  302. },
  303. "styles": {
  304. "blocks": {
  305. "core/code": {
  306. "border": {
  307. "bottom": {
  308. "color": "#1900d8",
  309. "style": "solid",
  310. "width": "2px"
  311. },
  312. "color": "var(--wp--preset--color--foreground)",
  313. "left": {
  314. "color": "#1900d8",
  315. "style": "solid",
  316. "width": "2px"
  317. },
  318. "radius": "0.25rem",
  319. "right": {
  320. "color": "#1900d8",
  321. "style": "solid",
  322. "width": "2px"
  323. },
  324. "style": "solid",
  325. "top": {
  326. "color": "#1900d8",
  327. "style": "solid",
  328. "width": "2px"
  329. },
  330. "width": "2px"
  331. },
  332. "spacing": {
  333. "padding": {
  334. "bottom": "var(--wp--preset--spacing--50)",
  335. "left": "var(--wp--preset--spacing--50)",
  336. "right": "var(--wp--preset--spacing--50)",
  337. "top": "var(--wp--preset--spacing--50)"
  338. }
  339. },
  340. "typography": {
  341. "fontFamily": "monospace"
  342. }
  343. },
  344. "core/comment-author-name": {
  345. "typography": {
  346. "fontSize": "var(--wp--preset--font-size--small)"
  347. }
  348. },
  349. "core/comment-date": {
  350. "typography": {
  351. "fontSize": "var(--wp--preset--font-size--small)"
  352. }
  353. },
  354. "core/comment-edit-link": {
  355. "typography": {
  356. "fontSize": "var(--wp--preset--font-size--small)"
  357. }
  358. },
  359. "core/comment-reply-link": {
  360. "typography": {
  361. "fontSize": "var(--wp--preset--font-size--small)"
  362. }
  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/post-author-name": {
  393. "elements": {
  394. "link": {
  395. ":hover": {
  396. "typography": {
  397. "textDecoration": "underline"
  398. }
  399. },
  400. "typography": {
  401. "textDecoration": "none"
  402. }
  403. }
  404. }
  405. },
  406. "core/post-date": {
  407. "color": {
  408. "text": "var(--wp--preset--color--foreground)"
  409. },
  410. "elements": {
  411. "link": {
  412. ":hover": {
  413. "typography": {
  414. "textDecoration": "underline"
  415. }
  416. },
  417. "typography": {
  418. "textDecoration": "none"
  419. }
  420. }
  421. },
  422. "typography": {
  423. "fontSize": "var(--wp--preset--font-size--small)"
  424. }
  425. },
  426. "core/post-title": {
  427. "elements": {
  428. "link": {
  429. ":hover": {
  430. "typography": {
  431. "textDecoration": "underline"
  432. }
  433. },
  434. "typography": {
  435. "textDecoration": "none"
  436. }
  437. }
  438. },
  439. "spacing": {
  440. "margin": {
  441. "bottom": "0"
  442. }
  443. }
  444. },
  445. "core/pullquote": {
  446. "border": {
  447. "bottom": {
  448. "color": "#1900d8",
  449. "style": "solid",
  450. "width": "1px 0"
  451. },
  452. "color": "var(--wp--preset--color--foreground)",
  453. "left": {
  454. "color": "#1900d8",
  455. "style": "solid",
  456. "width": "1px 0"
  457. },
  458. "right": {
  459. "color": "#1900d8",
  460. "style": "solid",
  461. "width": "1px 0"
  462. },
  463. "style": "solid",
  464. "top": {
  465. "color": "#1900d8",
  466. "style": "solid",
  467. "width": "1px 0"
  468. },
  469. "width": "1px 0"
  470. },
  471. "spacing": {
  472. "padding": {
  473. "bottom": "var(--wp--preset--spacing--50)",
  474. "left": "var(--wp--preset--spacing--50)",
  475. "right": "var(--wp--preset--spacing--50)",
  476. "top": "var(--wp--preset--spacing--50)"
  477. }
  478. },
  479. "typography": {
  480. "fontSize": "var(--wp--preset--font-size--large)",
  481. "fontStyle": "italic"
  482. }
  483. },
  484. "core/quote": {
  485. "border": {
  486. "color": "var(--wp--preset--color--primary)",
  487. "style": "solid",
  488. "width": "0 0 0 1px"
  489. },
  490. "spacing": {
  491. "padding": {
  492. "left": "var(--wp--preset--spacing--50)"
  493. }
  494. },
  495. "typography": {
  496. "fontStyle": "normal"
  497. }
  498. },
  499. "core/search": {
  500. "typography": {
  501. "fontSize": "var(--wp--preset--font-size--medium)",
  502. "lineHeight": "1.6"
  503. }
  504. },
  505. "core/separator": {
  506. "border": {
  507. "color": "currentColor",
  508. "style": "solid",
  509. "width": "0 0 1px 0"
  510. },
  511. "color": {
  512. "text": "var(--wp--preset--color--foreground)"
  513. }
  514. },
  515. "core/site-tagline": {
  516. "typography": {
  517. "fontSize": "var(--wp--preset--font-size--small)"
  518. }
  519. },
  520. "core/site-title": {
  521. "elements": {
  522. "link": {
  523. ":hover": {
  524. "typography": {
  525. "textDecoration": "underline"
  526. }
  527. },
  528. "typography": {
  529. "textDecoration": "none"
  530. }
  531. }
  532. },
  533. "typography": {
  534. "fontSize": "var(--wp--preset--font-size--medium)",
  535. "fontWeight": "700"
  536. }
  537. }
  538. },
  539. "color": {
  540. "background": "var(--wp--preset--color--background)",
  541. "text": "var:preset|color|primary"
  542. },
  543. "elements": {
  544. "button": {
  545. ":active": {
  546. "color": {
  547. "background": "var(--wp--preset--color--primary)",
  548. "text": "var(--wp--preset--color--background)"
  549. }
  550. },
  551. ":focus": {
  552. "color": {
  553. "background": "var(--wp--preset--color--primary)",
  554. "text": "var(--wp--preset--color--background)"
  555. },
  556. "outline": {
  557. "color": "var(--wp--preset--color--primary)",
  558. "offset": "2px",
  559. "style": "dotted",
  560. "width": "1px"
  561. }
  562. },
  563. ":hover": {
  564. "color": {
  565. "background": "var(--wp--preset--color--secondary)",
  566. "text": "var(--wp--preset--color--background)"
  567. }
  568. },
  569. "border": {
  570. "radius": "0.25rem"
  571. },
  572. "color": {
  573. "background": "var(--wp--preset--color--primary)",
  574. "text": "var(--wp--preset--color--background)"
  575. }
  576. },
  577. "h1": {
  578. "typography": {
  579. "fontSize": "1.6rem",
  580. "fontStyle": "normal",
  581. "fontWeight": "600",
  582. "lineHeight": 1.4
  583. }
  584. },
  585. "h2": {
  586. "typography": {
  587. "fontSize": "0.8rem",
  588. "fontStyle": "normal",
  589. "fontWeight": "600",
  590. "letterSpacing": "2px",
  591. "lineHeight": "1.4",
  592. "textTransform": "uppercase"
  593. }
  594. },
  595. "h3": {
  596. "typography": {
  597. "fontSize": "0.8rem",
  598. "fontStyle": "normal",
  599. "fontWeight": "600",
  600. "letterSpacing": "2px",
  601. "lineHeight": 1.4
  602. }
  603. },
  604. "h4": {
  605. "typography": {
  606. "fontSize": "clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.4808)), 1.5rem)"
  607. }
  608. },
  609. "h5": {
  610. "typography": {
  611. "fontSize": "var(--wp--preset--font-size--medium)"
  612. }
  613. },
  614. "h6": {
  615. "typography": {
  616. "fontSize": "var(--wp--preset--font-size--small)"
  617. }
  618. },
  619. "link": {
  620. ":hover": {
  621. "typography": {
  622. "textDecoration": "none"
  623. }
  624. },
  625. "color": {
  626. "text": "var(--wp--preset--color--primary)"
  627. }
  628. }
  629. },
  630. "spacing": {
  631. "blockGap": "1rem",
  632. "padding": {
  633. "bottom": "0px",
  634. "left": "0px",
  635. "right": "0px",
  636. "top": "0px"
  637. }
  638. },
  639. "typography": {
  640. "fontFamily": "var:preset|font-family|russisch-sans",
  641. "fontSize": "1.2rem",
  642. "lineHeight": "1.6"
  643. }
  644. },
  645. "templateParts": [
  646. {
  647. "area": "header",
  648. "name": "header"
  649. },
  650. {
  651. "area": "footer",
  652. "name": "footer"
  653. }
  654. ],
  655. "version": 2,
  656. "$schema": "https://schemas.wp.org/trunk/theme.json"
  657. }