whisper.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551
  1. {
  2. "$schema": "https://schemas.wp.org/trunk/theme.json",
  3. "version": 2,
  4. "title": "Whisper",
  5. "settings": {
  6. "color": {
  7. "palette": [
  8. {
  9. "color": "#E5E7F2",
  10. "name": "Base",
  11. "slug": "base"
  12. },
  13. {
  14. "color": "#47484B",
  15. "name": "Contrast",
  16. "slug": "contrast"
  17. },
  18. {
  19. "color": "#B50B3E",
  20. "name": "Primary",
  21. "slug": "primary"
  22. },
  23. {
  24. "color": "#0B0033",
  25. "name": "Secondary",
  26. "slug": "secondary"
  27. },
  28. {
  29. "color": "#F9F9FB",
  30. "name": "Tertiary",
  31. "slug": "tertiary"
  32. }
  33. ]
  34. },
  35. "layout": {
  36. "contentSize": "710px",
  37. "wideSize": "1200px"
  38. },
  39. "typography": {
  40. "fontSizes": [
  41. {
  42. "fluid": {
  43. "min": "0.875rem",
  44. "max": "1rem"
  45. },
  46. "size": "1rem",
  47. "slug": "small"
  48. },
  49. {
  50. "fluid": {
  51. "min": "1rem",
  52. "max": "1.187rem"
  53. },
  54. "size": "1.187rem",
  55. "slug": "medium"
  56. },
  57. {
  58. "fluid": {
  59. "min": "1.187rem",
  60. "max": "1.3125rem"
  61. },
  62. "size": "1.3125rem",
  63. "slug": "large"
  64. },
  65. {
  66. "fluid": {
  67. "min": "1.562rem",
  68. "max": "2rem"
  69. },
  70. "size": "2rem",
  71. "slug": "x-large"
  72. },
  73. {
  74. "fluid": {
  75. "min": "3.375rem",
  76. "max": "7rem"
  77. },
  78. "size": "7rem",
  79. "slug": "xx-large"
  80. }
  81. ]
  82. }
  83. },
  84. "styles": {
  85. "blocks": {
  86. "core/navigation": {
  87. "color": {
  88. "text": "var(--wp--preset--color--contrast)"
  89. },
  90. "elements": {
  91. "link": {
  92. "border": {
  93. "bottom": {
  94. "color": "transparent",
  95. "style": "solid",
  96. "width": "0.2ch"
  97. }
  98. },
  99. "color": {
  100. "text": "var(--wp--preset--color--contrast)"
  101. },
  102. ":hover": {
  103. "border": {
  104. "color": "var(--wp--preset--color--primary)"
  105. },
  106. "color": {
  107. "background": "transparent",
  108. "text": "var(--wp--preset--color--secondary)"
  109. },
  110. "typography": {
  111. "textDecoration": "none"
  112. }
  113. },
  114. ":focus": {
  115. "typography": {
  116. "textDecoration": "none"
  117. }
  118. },
  119. ":active": {
  120. "typography": {
  121. "textDecoration": "none"
  122. }
  123. },
  124. "typography": {
  125. "textDecoration": "none"
  126. }
  127. }
  128. },
  129. "typography": {
  130. "fontSize": "var(--wp--preset--font-size--large)"
  131. }
  132. },
  133. "core/navigation-submenu": {
  134. "color": {
  135. "text": "var(--wp--preset--color--primary)"
  136. }
  137. },
  138. "core/post-content": {
  139. "elements": {
  140. "link": {
  141. ":hover": {
  142. "border": {
  143. "color": "var(--wp--preset--color--contrast)"
  144. },
  145. "color": {
  146. "background": "var(--wp--preset--color--tertiary)"
  147. },
  148. "typography": {
  149. "textDecoration": "none"
  150. }
  151. }
  152. }
  153. }
  154. },
  155. "core/post-date": {
  156. "elements": {
  157. "link": {
  158. ":hover": {
  159. "border": {
  160. "color": "var(--wp--preset--color--contrast)"
  161. },
  162. "color": {
  163. "background": "var(--wp--preset--color--tertiary)"
  164. },
  165. "typography": {
  166. "textDecoration": "none"
  167. }
  168. }
  169. }
  170. }
  171. },
  172. "core/post-title": {
  173. "elements": {
  174. "link": {
  175. "border": {
  176. "width": "0 !important"
  177. },
  178. ":hover": {
  179. "color": {
  180. "text": "var(--wp--preset--color--primary)"
  181. }
  182. },
  183. ":focus": {
  184. "color": {
  185. "text": "var(--wp--preset--color--primary)"
  186. }
  187. },
  188. ":active": {
  189. "color": {
  190. "text": "var(--wp--preset--color--primary)"
  191. }
  192. }
  193. }
  194. }
  195. },
  196. "core/pullquote": {
  197. "border": {
  198. "color": "var(--wp--preset--color--contrast)",
  199. "style": "double",
  200. "width": "6px"
  201. },
  202. "color": {
  203. "text": "var(--wp--preset--color--secondary)"
  204. }
  205. },
  206. "core/quote": {
  207. "border": {
  208. "color": "var(--wp--preset--color--contrast)",
  209. "style": "double",
  210. "width": "0 0 0 6px"
  211. },
  212. "color": {
  213. "text": "var(--wp--preset--color--secondary)"
  214. },
  215. "spacing": {
  216. "margin": {
  217. "left": "var(--wp--preset--spacing--30)"
  218. },
  219. "padding": {
  220. "left": "var(--wp--preset--spacing--30)"
  221. }
  222. }
  223. },
  224. "core/query-pagination": {
  225. "elements": {
  226. "link": {
  227. ":hover": {
  228. "border": {
  229. "color": "var(--wp--preset--color--contrast)"
  230. },
  231. "color": {
  232. "background": "var(--wp--preset--color--tertiary)"
  233. },
  234. "typography": {
  235. "textDecoration": "none"
  236. }
  237. },
  238. ":active": {
  239. "border": {
  240. "color": "var(--wp--preset--color--base)",
  241. "width": "0 0 2px 0"
  242. }
  243. }
  244. }
  245. }
  246. },
  247. "core/separator": {
  248. "border": {
  249. "color": "var(--wp--preset--color--contrast)",
  250. "style": "double",
  251. "width": "6px 0 0 0"
  252. }
  253. },
  254. "core/site-title": {
  255. "elements": {
  256. "link": {
  257. "border": {
  258. "color": "transparent"
  259. },
  260. "color": {
  261. "text": "var(--wp--preset--color--primary)"
  262. },
  263. ":hover": {
  264. "border": {
  265. "color": "var(--wp--preset--color--primary)"
  266. },
  267. "color": {
  268. "background": "transparent"
  269. },
  270. "typography": {
  271. "textDecoration": "none"
  272. }
  273. },
  274. ":focus": {
  275. "typography": {
  276. "textDecoration": "none"
  277. }
  278. },
  279. ":active": {
  280. "border": {
  281. "color": "var(--wp--preset--color--primary)"
  282. },
  283. "color": {
  284. "background": "transparent"
  285. },
  286. "typography": {
  287. "textDecoration": "none"
  288. }
  289. },
  290. "typography": {
  291. "fontFamily": "var(--wp--preset--font-family--dm-sans)",
  292. "fontSize": "var(--wp--preset--font-size--large)",
  293. "fontWeight": "700",
  294. "letterSpacing": "-0.01em",
  295. "textDecoration": "none"
  296. }
  297. }
  298. },
  299. "typography": {
  300. "fontSize": "var(--wp--preset--font-size--large)",
  301. "lineHeight": "1.4",
  302. "textTransform": "capitalize"
  303. }
  304. },
  305. "core/comment-author-name":{
  306. "elements": {
  307. "link": {
  308. ":hover": {
  309. "typography": {
  310. "textDecoration": "none"
  311. }
  312. },
  313. ":focus": {
  314. "typography": {
  315. "textDecoration": "none"
  316. }
  317. }
  318. }
  319. }
  320. },
  321. "core/comment-date": {
  322. "elements": {
  323. "link": {
  324. ":hover": {
  325. "typography": {
  326. "textDecoration": "none"
  327. }
  328. },
  329. ":focus": {
  330. "typography": {
  331. "textDecoration": "none"
  332. }
  333. }
  334. }
  335. }
  336. },
  337. "core/comment-edit-link": {
  338. "elements": {
  339. "link": {
  340. ":hover": {
  341. "typography": {
  342. "textDecoration": "none"
  343. }
  344. },
  345. ":focus": {
  346. "typography": {
  347. "textDecoration": "none"
  348. }
  349. }
  350. }
  351. }
  352. }
  353. },
  354. "elements": {
  355. "button": {
  356. "border": {
  357. "color": "var(--wp--preset--color--primary)",
  358. "radius": "10px",
  359. "style": "solid",
  360. "width": "2px 2px 6px 2px !important"
  361. },
  362. "color": {
  363. "background": "transparent",
  364. "text": "var(--wp--preset--color--primary)"
  365. },
  366. "spacing": {
  367. "padding": {
  368. "top": "min(1rem, 3vw) !important",
  369. "right": "min(2.75rem, 6vw) !important",
  370. "bottom": "min(1rem, 3vw) !important",
  371. "left": "min(2.75rem, 6vw) !important"
  372. }
  373. },
  374. "typography": {
  375. "fontWeight": "700",
  376. "letterSpacing": "1px",
  377. "textTransform": "uppercase"
  378. },
  379. ":hover": {
  380. "border": {
  381. "color": "var(--wp--preset--color--secondary)",
  382. "width": "2px 2px 4px 2px !important"
  383. },
  384. "color": {
  385. "background": "var(--wp--preset--color--tertiary)",
  386. "text": "var(--wp--preset--color--secondary)"
  387. },
  388. "spacing": {
  389. "padding": {
  390. "bottom": "min(calc(1rem + 2px), 3vw) !important"
  391. }
  392. }
  393. },
  394. ":focus": {
  395. "border": {
  396. "color": "var(--wp--preset--color--secondary)",
  397. "style": "dashed dashed double",
  398. "width": "2px 2px 4px 2px !important"
  399. },
  400. "color": {
  401. "background": "var(--wp--preset--color--tertiary)",
  402. "text": "var(--wp--preset--color--secondary)"
  403. },
  404. "spacing": {
  405. "padding": {
  406. "bottom": "min(calc(1rem + 2px), 3vw) !important"
  407. }
  408. }
  409. },
  410. ":active": {
  411. "border": {
  412. "color": "var(--wp--preset--color--secondary)",
  413. "width": "2px 2px 4px 2px !important"
  414. },
  415. "color": {
  416. "background": "var(--wp--preset--color--tertiary)",
  417. "text": "var(--wp--preset--color--secondary)"
  418. },
  419. "spacing": {
  420. "padding": {
  421. "bottom": "min(calc(1rem + 2px), 3vw) !important"
  422. }
  423. }
  424. },
  425. ":visited": {
  426. "color": {
  427. "text": "var(--wp--preset--color--primary)"
  428. }
  429. }
  430. },
  431. "cite": {
  432. "typography": {
  433. "fontFamily": "var(--wp--preset--font-family--source-serif-pro)"
  434. }
  435. },
  436. "h1": {
  437. "typography": {
  438. "fontSize": "clamp(4.21rem, 1.43vw + 3.85rem, 5rem)",
  439. "fontWeight": "300",
  440. "letterSpacing": "-0.01em"
  441. }
  442. },
  443. "h2": {
  444. "color": {
  445. "text": "var(--wp--preset--color--secondary)"
  446. },
  447. "typography": {
  448. "fontSize": "clamp(3.16rem, 1.08vw + 2.89rem, 3.75rem)",
  449. "fontWeight": "400",
  450. "letterSpacing": "-0.01em"
  451. }
  452. },
  453. "h3": {
  454. "color": {
  455. "text": "var(--wp--preset--color--secondary)"
  456. },
  457. "typography": {
  458. "fontSize": "clamp(2.37rem, 0.81vw + 2.17rem, 2.81rem)",
  459. "fontWeight": "500"
  460. }
  461. },
  462. "h4": {
  463. "typography": {
  464. "fontSize": "clamp(1.78rem, 0.61vw + 1.63rem, 2.11rem)",
  465. "fontWeight": "600"
  466. }
  467. },
  468. "h5": {
  469. "typography": {
  470. "fontSize": "clamp(1.33rem, 0.45vw + 1.22rem, 1.58rem)",
  471. "fontWeight": "700",
  472. "letterSpacing": "1px"
  473. }
  474. },
  475. "h6": {
  476. "typography": {
  477. "fontSize": "clamp(1rem, 0.34vw + 0.91rem, 1.19rem)",
  478. "fontWeight": "900",
  479. "letterSpacing": "2px"
  480. }
  481. },
  482. "heading": {
  483. "color": {
  484. "text": "var(--wp--preset--color--secondary)"
  485. },
  486. "typography": {
  487. "fontFamily": "var(--wp--preset--font-family--source-serif-pro)"
  488. }
  489. },
  490. "link": {
  491. "border": {
  492. "color": "var(--wp--preset--color--primary)",
  493. "style": "solid",
  494. "width": "0 0 2px 0"
  495. },
  496. "color": {
  497. "text": "var(--wp--preset--color--secondary)"
  498. },
  499. ":hover": {
  500. "border": {
  501. "color": "var(--wp--preset--color--contrast)"
  502. },
  503. "color": {
  504. "text": "var(--wp--preset--color--secondary)"
  505. },
  506. "typography": {
  507. "textDecoration": "none"
  508. }
  509. },
  510. ":focus": {
  511. "border": {
  512. "style": "dashed"
  513. },
  514. "typography": {
  515. "textDecoration": "none"
  516. }
  517. },
  518. ":active": {
  519. "border": {
  520. "width": "0"
  521. },
  522. "color": {
  523. "text": "var(--wp--preset--color--secondary)"
  524. },
  525. "typography": {
  526. "textDecoration": "none"
  527. }
  528. },
  529. "typography": {
  530. "textDecoration": "none"
  531. }
  532. }
  533. },
  534. "border": {
  535. "color": "var(--wp--preset--color--tertiary)",
  536. "style": "solid",
  537. "width": "max(1vw, 0.5rem)"
  538. },
  539. "spacing": {
  540. "padding": {
  541. "top": "var(--wp--preset--spacing--40)",
  542. "right": "var(--wp--preset--spacing--30)",
  543. "bottom": "var(--wp--preset--spacing--40)",
  544. "left": "var(--wp--preset--spacing--30)"
  545. }
  546. },
  547. "typography": {
  548. "fontFamily": "var(--wp--preset--font-family--dm-sans)"
  549. }
  550. }
  551. }