canary.json 4.5 KB

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