block-out.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. {
  2. "$schema": "https://schemas.wp.org/trunk/theme.json",
  3. "version": 2,
  4. "title": "Block out",
  5. "settings": {
  6. "color": {
  7. "duotone": [
  8. {
  9. "colors": [
  10. "#E2161D",
  11. "#FF9C9C"
  12. ],
  13. "slug": "default-filter",
  14. "name": "Default filter"
  15. }
  16. ],
  17. "palette": [
  18. {
  19. "color": "#ff5252",
  20. "name": "Base",
  21. "slug": "base"
  22. },
  23. {
  24. "color": "#252525",
  25. "name": "Contrast",
  26. "slug": "contrast"
  27. },
  28. {
  29. "color": "#ffffff",
  30. "name": "Primary",
  31. "slug": "primary"
  32. },
  33. {
  34. "color": "#ff2d34",
  35. "name": "Secondary",
  36. "slug": "secondary"
  37. },
  38. {
  39. "color": "#ff7e7e",
  40. "name": "Tertiary",
  41. "slug": "tertiary"
  42. }
  43. ]
  44. },
  45. "layout": {
  46. "contentSize": "800px"
  47. },
  48. "typography": {
  49. "fontSizes": [
  50. {
  51. "fluid": {
  52. "max": "1rem",
  53. "min": "0.875rem"
  54. },
  55. "size": "1rem",
  56. "slug": "small"
  57. },
  58. {
  59. "fluid": {
  60. "max": "1.125rem",
  61. "min": "1rem"
  62. },
  63. "size": "1.125rem",
  64. "slug": "medium"
  65. },
  66. {
  67. "fluid": false,
  68. "size": "1.75rem",
  69. "slug": "large"
  70. },
  71. {
  72. "fluid": false,
  73. "size": "2.25rem",
  74. "slug": "x-large"
  75. },
  76. {
  77. "fluid": {
  78. "max": "7rem",
  79. "min": "4rem"
  80. },
  81. "size": "7rem",
  82. "slug": "xx-large"
  83. }
  84. ]
  85. }
  86. },
  87. "styles": {
  88. "blocks": {
  89. "core/avatar": {
  90. "filter": {
  91. "duotone": "var(--wp--preset--duotone--default-filter)"
  92. }
  93. },
  94. "core/image": {
  95. "border": {
  96. "radius": "8px"
  97. },
  98. "filter": {
  99. "duotone": "var(--wp--preset--duotone--default-filter)"
  100. }
  101. },
  102. "core/navigation": {
  103. "typography": {
  104. "fontSize": "var(--wp--preset--font-size--large)"
  105. }
  106. },
  107. "core/post-content": {
  108. "elements": {
  109. "link": {
  110. "color": {
  111. "text": "var(--wp--preset--color--contrast)"
  112. }
  113. },
  114. "h1": {
  115. "color": {
  116. "text": "var(--wp--preset--color--contrast)"
  117. }
  118. }
  119. }
  120. },
  121. "core/post-featured-image": {
  122. "border": {
  123. "radius": "8px"
  124. },
  125. "filter": {
  126. "duotone": "var(--wp--preset--duotone--default-filter)"
  127. }
  128. },
  129. "core/post-title": {
  130. "elements": {
  131. "link": {
  132. ":active": {
  133. "color": {
  134. "text": "var(--wp--preset--color--primary)"
  135. }
  136. }
  137. }
  138. },
  139. "color": {
  140. "text": "var(--wp--preset--color--primary)"
  141. }
  142. },
  143. "core/quote": {
  144. "border": {
  145. "width": "1px"
  146. }
  147. },
  148. "core/search": {
  149. "border": {
  150. "radius": "8px"
  151. }
  152. },
  153. "core/site-logo": {
  154. "filter": {
  155. "duotone": "var(--wp--preset--duotone--default-filter)"
  156. }
  157. },
  158. "core/site-title": {
  159. "elements": {
  160. "link": {
  161. ":active": {
  162. "color": {
  163. "text": "var(--wp--preset--color--primary)"
  164. }
  165. }
  166. }
  167. },
  168. "spacing": {
  169. "padding": {
  170. "bottom": "var(--wp--preset--spacing--30)",
  171. "top": "var(--wp--preset--spacing--30)"
  172. }
  173. },
  174. "typography": {
  175. "fontSize": "var(--wp--preset--font-size--xx-large)",
  176. "lineHeight": "1.1",
  177. "textTransform": "lowercase"
  178. }
  179. },
  180. "core/query": {
  181. "elements": {
  182. "h2": {
  183. "typography": {
  184. "fontSize": "var(--wp--preset--font-size--large)"
  185. }
  186. }
  187. }
  188. }
  189. },
  190. "elements": {
  191. "button": {
  192. "border": {
  193. "radius": "8px"
  194. },
  195. "typography": {
  196. "fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)",
  197. "fontStyle": "italic",
  198. "fontWeight": "400"
  199. },
  200. ":active": {
  201. "color": {
  202. "text": "var(--wp--preset--color--contrast)"
  203. }
  204. }
  205. },
  206. "h1": {
  207. "color": {
  208. "text": "var(--wp--preset--color--primary)"
  209. }
  210. },
  211. "h6": {
  212. "typography": {
  213. "fontWeight": "400"
  214. }
  215. },
  216. "heading": {
  217. "typography": {
  218. "fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)",
  219. "fontStyle": "italic"
  220. }
  221. },
  222. "link": {
  223. ":active": {
  224. "color": {
  225. "text": "var(--wp--preset--color--primary)"
  226. }
  227. },
  228. "typography": {
  229. "fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)",
  230. "fontStyle": "italic",
  231. "fontWeight": "400"
  232. }
  233. }
  234. },
  235. "spacing": {
  236. "padding": {
  237. "bottom": "0px",
  238. "top": "0px"
  239. }
  240. },
  241. "typography": {
  242. "fontFamily": "var(--wp--preset--font-family--dm-sans)"
  243. }
  244. }
  245. }