dark.json 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. {
  2. "version": 2,
  3. "title": "Dark",
  4. "settings": {
  5. "color": {
  6. "palette": [
  7. {
  8. "color": "#000000",
  9. "name": "Primary",
  10. "slug": "primary"
  11. },
  12. {
  13. "color": "#EF7E6C",
  14. "name": "Secondary",
  15. "slug": "secondary"
  16. },
  17. {
  18. "color": "#000000",
  19. "name": "Foreground",
  20. "slug": "foreground"
  21. },
  22. {
  23. "color": "#FBFBFB",
  24. "name": "Background",
  25. "slug": "background"
  26. },
  27. {
  28. "color": "#FBF3F2",
  29. "name": "Tertiary",
  30. "slug": "tertiary"
  31. },
  32. {
  33. "color": "#F8CFC8",
  34. "name": "Button Border - Active",
  35. "slug": "button-border-active"
  36. },
  37. {
  38. "color": "#A0A0A0",
  39. "name": "Button Border - Hover",
  40. "slug": "button-border-hover"
  41. }
  42. ]
  43. },
  44. "custom": {
  45. "typography": {
  46. "fontSizes": {
  47. "normal": "clamp(1.125rem, 1.036rem + 0.238vw, 1.25rem)",
  48. "button": "clamp(0.875rem, 0.875rem + ((1vw - 0.48rem) * 0.481), 1.125rem)",
  49. "fixed": "1.125rem"
  50. }
  51. },
  52. "courseThemeVariation": "dark"
  53. },
  54. "typography": {
  55. "fluid": true,
  56. "fontFamilies": [
  57. {
  58. "fontFamily": "Inter",
  59. "name": "Inter",
  60. "slug": "body",
  61. "fontFace": [
  62. {
  63. "fontFamily": "Inter",
  64. "fontDisplay": "block",
  65. "fontWeight": "400",
  66. "fontStyle": "normal",
  67. "fontStretch": "normal",
  68. "src": [ "file:./assets/fonts/Inter-VariableFont_slnt,wght.ttf" ]
  69. },
  70. {
  71. "fontFamily": "Inter",
  72. "fontDisplay": "block",
  73. "fontWeight": "700",
  74. "fontStyle": "normal",
  75. "fontStretch": "normal",
  76. "src": [ "file:./assets/fonts/Inter-VariableFont_slnt,wght.ttf" ]
  77. }
  78. ]
  79. },
  80. {
  81. "fontFamily": "\"Syne\", sans-serif",
  82. "name": "Syne",
  83. "slug": "heading",
  84. "fontFace": [
  85. {
  86. "fontFamily": "Syne",
  87. "fontDisplay": "block",
  88. "fontWeight": "400",
  89. "fontStyle": "normal",
  90. "fontStretch": "normal",
  91. "src": [ "file:./assets/fonts/Syne-VariableFont_wght.ttf" ]
  92. },
  93. {
  94. "fontFamily": "Syne",
  95. "fontDisplay": "block",
  96. "fontWeight": "500",
  97. "fontStyle": "normal",
  98. "fontStretch": "normal",
  99. "src": [ "file:./assets/fonts/Syne-VariableFont_wght.ttf" ]
  100. },
  101. {
  102. "fontFamily": "Syne",
  103. "fontDisplay": "block",
  104. "fontWeight": "700",
  105. "fontStyle": "normal",
  106. "fontStretch": "normal",
  107. "src": [ "file:./assets/fonts/Syne-VariableFont_wght.ttf" ]
  108. }
  109. ]
  110. },
  111. {
  112. "fontFamily": "Sorts Mill Goudy",
  113. "name": "Sorts Mill Goudy",
  114. "slug": "sorts-mill-goudy",
  115. "fontFace": [
  116. {
  117. "fontDisplay": "block",
  118. "fontFamily": "Sorts Mill Goudy",
  119. "fontStretch": "normal",
  120. "fontStyle": "normal",
  121. "fontWeight": "200 800",
  122. "src": ["file:./assets/fonts/SortsMillGoudy-Regular.woff2"]
  123. }
  124. ]
  125. },
  126. {
  127. "fontFamily": "-apple-system, BlinkMacSystemFont, Inter, \"Segoe UI\", \"Roboto\", \"Oxygen-Sans\", \"Ubuntu\", \"Cantarell\", \"Helvetica Neue\", sans-serif;",
  128. "name": "System",
  129. "slug": "system"
  130. }
  131. ],
  132. "fontSizes": [
  133. {
  134. "name": "Tiny",
  135. "size": "0.875rem",
  136. "fluid": {
  137. "min": "0.875rem",
  138. "max": "1rem"
  139. },
  140. "slug": "x-small"
  141. },
  142. {
  143. "name": "Small",
  144. "size": "1rem",
  145. "fluid": {
  146. "min": "1rem",
  147. "max": "1.125rem"
  148. },
  149. "slug": "small"
  150. },
  151. {
  152. "name": "Medium",
  153. "size": "1.25rem",
  154. "fluid": {
  155. "min": "1.25rem",
  156. "max": "1.5rem"
  157. },
  158. "slug": "medium"
  159. },
  160. {
  161. "name": "Large",
  162. "size": "1.5rem",
  163. "fluid": {
  164. "min": "1.5rem",
  165. "max": "2.25rem"
  166. },
  167. "slug": "large"
  168. },
  169. {
  170. "name": "Extra large",
  171. "size": "2rem",
  172. "fluid": {
  173. "min": "2rem",
  174. "max": "3.25rem"
  175. },
  176. "slug": "x-large"
  177. },
  178. {
  179. "name": "Huge",
  180. "size": "2.5rem",
  181. "fluid": {
  182. "min": "2.5rem",
  183. "max": "4rem"
  184. },
  185. "slug": "xx-large"
  186. },
  187. {
  188. "name": "Gigantic",
  189. "size": "9rem",
  190. "fluid": {
  191. "min": "9rem",
  192. "max": "16rem"
  193. },
  194. "slug": "xxx-large"
  195. }
  196. ]
  197. }
  198. },
  199. "styles": {
  200. "blocks": {
  201. "core/navigation": {
  202. "elements": {
  203. "link": {
  204. "typography": {
  205. "fontSize": "var(--wp--preset--font-size--small)"
  206. }
  207. }
  208. }
  209. },
  210. "core/post-content": {
  211. "typography": {
  212. "lineHeight": "145%"
  213. }
  214. },
  215. "sensei-lms/course-title" : {
  216. "typography": {
  217. "fontSize": "var(--wp--preset--font-size--small)",
  218. "fontWeight": "500",
  219. "letterSpacing": "-0.01em"
  220. }
  221. },
  222. "sensei-lms/course-theme-course-progress-counter" : {
  223. "typography": {
  224. "fontFamily": "var(--wp--preset--font-family--heading)",
  225. "fontSize": "var(--wp--custom--typography--font-sizes--fixed)",
  226. "letterSpacing": "0"
  227. }
  228. },
  229. "sensei-lms/course-theme-lesson-module": {
  230. "typography": {
  231. "fontFamily": "var(--wp--preset--font-family--heading)",
  232. "letterSpacing": "0"
  233. }
  234. },
  235. "sensei-lms/course-theme-notices": {
  236. "css": "& .sensei-course-theme-quiz-graded-notice__text { font-size: clamp(1.125rem, 1.042rem + 0.278vw, 1.25rem); }",
  237. "elements": {
  238. "h2": {
  239. "typography": {
  240. "fontFamily": "var(--wp--preset--font-family--heading)",
  241. "fontSize": "clamp(1.5rem, 1.167rem + 1.111vw, 2rem)",
  242. "fontWeight": "700"
  243. }
  244. }
  245. }
  246. },
  247. "sensei-lms/exit-course": {
  248. "typography": {
  249. "fontFamily": "var(--wp--preset--font-family--heading)",
  250. "fontSize": "var(--wp--custom--typography--font-sizes--fixed)",
  251. "letterSpacing": "0"
  252. }
  253. },
  254. "sensei-lms/page-actions": {
  255. "typography": {
  256. "fontFamily": "var(--wp--preset--font-family--heading)",
  257. "fontSize": "var(--wp--custom--typography--font-sizes--fixed)",
  258. "fontWeight": "500",
  259. "letterSpacing": "-0.01em"
  260. }
  261. },
  262. "sensei-lms/course-navigation": {
  263. "css": "& .sensei-lms-course-navigation-lesson__title { font-family: var(--wp--preset--font-family--heading); font-size: .875rem; } & .sensei-lms-course-navigation-lesson__extra { font-family: var(--wp--preset--font-family--heading); } & .sensei-lms-course-navigation-module__summary { font-family: var(--wp--preset--font-family--heading); } & .sensei-lms-course-navigation-module__title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.04em; text-transform: none; }"
  264. },
  265. "sensei-lms/quiz-back-to-lesson": {
  266. "typography": {
  267. "fontFamily": "var(--wp--preset--font-family--heading)"
  268. }
  269. },
  270. "sensei-lms/quiz-actions": {
  271. "css": "& .sensei-quiz-actions-secondary .sensei-quiz-action .quiz-submit { font-size: var(--wp--custom--typography--font-sizes--fixed); }"
  272. },
  273. "sensei-lms/quiz-question": {
  274. "typography": {
  275. "fontSize": "var(--wp--custom--typography--font-sizes--normal)"
  276. },
  277. "elements": {
  278. "h2": {
  279. "typography": {
  280. "fontFamily": "var(--wp--preset--font-family--heading)",
  281. "fontWeight": "700"
  282. }
  283. }
  284. },
  285. "css": "& .sensei-lms-question-block__header .grade { font-weight: 700; font-family: var(--wp--preset--font-family--heading); }"
  286. }
  287. },
  288. "elements": {
  289. "button": {
  290. "typography": {
  291. "fontWeight": "500",
  292. "letterSpacing": "-0.01em"
  293. },
  294. "spacing": {
  295. "padding": "0.9em 1.6em"
  296. }
  297. },
  298. "heading": {
  299. "typography": {
  300. "fontFamily": "var(--wp--preset--font-family--heading)",
  301. "fontWeight": "700"
  302. }
  303. },
  304. "h1": {
  305. "typography": {
  306. "fontSize": "var(--wp--preset--font-size--x-large)",
  307. "letterSpacing": "-0.01em",
  308. "textTransform": "none"
  309. }
  310. }
  311. },
  312. "typography": {
  313. "fontFamily": "var(--wp--preset--font-family--body)"
  314. }
  315. }
  316. }