@datatechsolutions/tympan-tokens 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (750) hide show
  1. package/README.md +53 -13
  2. package/THIRD_PARTY_NOTICES.md +103 -0
  3. package/dist/contrast-report.md +95 -95
  4. package/dist/dtcg/astrlabe.dark-high.tokens.json +99 -43
  5. package/dist/dtcg/astrlabe.dark.tokens.json +137 -81
  6. package/dist/dtcg/astrlabe.light-high.tokens.json +146 -33
  7. package/dist/dtcg/astrlabe.light.tokens.json +211 -98
  8. package/dist/fonts.css +1273 -0
  9. package/dist/index.d.ts +91 -4
  10. package/dist/index.js +368 -22
  11. package/dist/index.js.map +1 -1
  12. package/dist/print-themes/print-aquarela.css +241 -0
  13. package/dist/print-themes/print-art-nouveau.css +121 -0
  14. package/dist/print-themes/print-atlas-oficial.css +249 -0
  15. package/dist/print-themes/print-azulejo-modernista.css +49 -0
  16. package/dist/print-themes/print-bauhaus.css +49 -0
  17. package/dist/print-themes/print-blocos-coloridos.css +129 -0
  18. package/dist/print-themes/print-brutalista.css +273 -0
  19. package/dist/print-themes/print-caderno.css +185 -0
  20. package/dist/print-themes/print-cartao-postal.css +161 -0
  21. package/dist/print-themes/print-cientifico.css +161 -0
  22. package/dist/print-themes/print-concretismo.css +193 -0
  23. package/dist/print-themes/print-construtivismo.css +201 -0
  24. package/dist/print-themes/print-cordel.css +265 -0
  25. package/dist/print-themes/print-dados-br.css +257 -0
  26. package/dist/print-themes/print-dashboard.css +273 -0
  27. package/dist/print-themes/print-diagrama-modernista.css +73 -0
  28. package/dist/print-themes/print-divulgacao.css +97 -0
  29. package/dist/print-themes/print-fluxo-historico.css +145 -0
  30. package/dist/print-themes/print-grade-holandesa.css +57 -0
  31. package/dist/print-themes/print-graficos-1900.css +241 -0
  32. package/dist/print-themes/print-infografico-ilustrado.css +177 -0
  33. package/dist/print-themes/print-isotype.css +49 -0
  34. package/dist/print-themes/print-jornal-1959.css +161 -0
  35. package/dist/print-themes/print-jornal.css +209 -0
  36. package/dist/print-themes/print-mapa-de-metro.css +57 -0
  37. package/dist/print-themes/print-memphis.css +121 -0
  38. package/dist/print-themes/print-minimo-de-tinta.css +193 -0
  39. package/dist/print-themes/print-papel-recortado.css +65 -0
  40. package/dist/print-themes/print-papel-salmao.css +145 -0
  41. package/dist/print-themes/print-pictogramas.css +33 -0
  42. package/dist/print-themes/print-pop-art.css +81 -0
  43. package/dist/print-themes/print-prancheta-clara.css +185 -0
  44. package/dist/print-themes/print-prancheta.css +185 -0
  45. package/dist/print-themes/print-proporcao-modular.css +73 -0
  46. package/dist/print-themes/print-riso.css +97 -0
  47. package/dist/print-themes/print-semanario.css +377 -0
  48. package/dist/print-themes/print-sinalizacao.css +97 -0
  49. package/dist/print-themes/print-suico.css +129 -0
  50. package/dist/print-themes/print-tropicalia.css +73 -0
  51. package/dist/print-themes.css +3913 -0
  52. package/dist/tokens.css +248 -124
  53. package/dist/tokens.json +124 -66
  54. package/dist/values.js +124 -66
  55. package/fonts/albertsans/OFL.txt +93 -0
  56. package/fonts/albertsans/albertsans-italic-latin-ext.woff2 +0 -0
  57. package/fonts/albertsans/albertsans-italic-latin.woff2 +0 -0
  58. package/fonts/albertsans/albertsans-normal-latin-ext.woff2 +0 -0
  59. package/fonts/albertsans/albertsans-normal-latin.woff2 +0 -0
  60. package/fonts/alegreya/OFL.txt +93 -0
  61. package/fonts/alegreya/alegreya-italic-cyrillic-ext.woff2 +0 -0
  62. package/fonts/alegreya/alegreya-italic-cyrillic.woff2 +0 -0
  63. package/fonts/alegreya/alegreya-italic-greek-ext.woff2 +0 -0
  64. package/fonts/alegreya/alegreya-italic-greek.woff2 +0 -0
  65. package/fonts/alegreya/alegreya-italic-latin-ext.woff2 +0 -0
  66. package/fonts/alegreya/alegreya-italic-latin.woff2 +0 -0
  67. package/fonts/alegreya/alegreya-italic-vietnamese.woff2 +0 -0
  68. package/fonts/alegreya/alegreya-normal-cyrillic-ext.woff2 +0 -0
  69. package/fonts/alegreya/alegreya-normal-cyrillic.woff2 +0 -0
  70. package/fonts/alegreya/alegreya-normal-greek-ext.woff2 +0 -0
  71. package/fonts/alegreya/alegreya-normal-greek.woff2 +0 -0
  72. package/fonts/alegreya/alegreya-normal-latin-ext.woff2 +0 -0
  73. package/fonts/alegreya/alegreya-normal-latin.woff2 +0 -0
  74. package/fonts/alegreya/alegreya-normal-vietnamese.woff2 +0 -0
  75. package/fonts/alegreyasc/OFL.txt +93 -0
  76. package/fonts/alegreyasc/alegreyasc-normal-cyrillic-500.woff2 +0 -0
  77. package/fonts/alegreyasc/alegreyasc-normal-cyrillic-700.woff2 +0 -0
  78. package/fonts/alegreyasc/alegreyasc-normal-cyrillic-ext-500.woff2 +0 -0
  79. package/fonts/alegreyasc/alegreyasc-normal-cyrillic-ext-700.woff2 +0 -0
  80. package/fonts/alegreyasc/alegreyasc-normal-greek-500.woff2 +0 -0
  81. package/fonts/alegreyasc/alegreyasc-normal-greek-700.woff2 +0 -0
  82. package/fonts/alegreyasc/alegreyasc-normal-greek-ext-500.woff2 +0 -0
  83. package/fonts/alegreyasc/alegreyasc-normal-greek-ext-700.woff2 +0 -0
  84. package/fonts/alegreyasc/alegreyasc-normal-latin-500.woff2 +0 -0
  85. package/fonts/alegreyasc/alegreyasc-normal-latin-700.woff2 +0 -0
  86. package/fonts/alegreyasc/alegreyasc-normal-latin-ext-500.woff2 +0 -0
  87. package/fonts/alegreyasc/alegreyasc-normal-latin-ext-700.woff2 +0 -0
  88. package/fonts/alegreyasc/alegreyasc-normal-vietnamese-500.woff2 +0 -0
  89. package/fonts/alegreyasc/alegreyasc-normal-vietnamese-700.woff2 +0 -0
  90. package/fonts/alfaslabone/OFL.txt +93 -0
  91. package/fonts/alfaslabone/alfaslabone-normal-latin-ext.woff2 +0 -0
  92. package/fonts/alfaslabone/alfaslabone-normal-latin.woff2 +0 -0
  93. package/fonts/alfaslabone/alfaslabone-normal-vietnamese.woff2 +0 -0
  94. package/fonts/allertastencil/OFL.txt +94 -0
  95. package/fonts/allertastencil/allertastencil-normal-latin.woff2 +0 -0
  96. package/fonts/archivo/OFL.txt +93 -0
  97. package/fonts/archivo/archivo-italic-latin-400-000.woff2 +0 -0
  98. package/fonts/archivo/archivo-italic-latin-400-001.woff2 +0 -0
  99. package/fonts/archivo/archivo-italic-latin-ext-400-000.woff2 +0 -0
  100. package/fonts/archivo/archivo-italic-latin-ext-400-001.woff2 +0 -0
  101. package/fonts/archivo/archivo-italic-vietnamese-400-000.woff2 +0 -0
  102. package/fonts/archivo/archivo-italic-vietnamese-400-001.woff2 +0 -0
  103. package/fonts/archivo/archivo-normal-latin-400_500_600_700_800.woff2 +0 -0
  104. package/fonts/archivo/archivo-normal-latin-400_600.woff2 +0 -0
  105. package/fonts/archivo/archivo-normal-latin-ext-400_500_600_700_800.woff2 +0 -0
  106. package/fonts/archivo/archivo-normal-latin-ext-400_600.woff2 +0 -0
  107. package/fonts/archivo/archivo-normal-vietnamese-400_500_600_700_800.woff2 +0 -0
  108. package/fonts/archivo/archivo-normal-vietnamese-400_600.woff2 +0 -0
  109. package/fonts/archivoblack/OFL.txt +93 -0
  110. package/fonts/archivoblack/archivoblack-normal-latin-ext.woff2 +0 -0
  111. package/fonts/archivoblack/archivoblack-normal-latin.woff2 +0 -0
  112. package/fonts/arimo/OFL.txt +93 -0
  113. package/fonts/arimo/arimo-normal-cyrillic-ext.woff2 +0 -0
  114. package/fonts/arimo/arimo-normal-cyrillic.woff2 +0 -0
  115. package/fonts/arimo/arimo-normal-greek-ext.woff2 +0 -0
  116. package/fonts/arimo/arimo-normal-greek.woff2 +0 -0
  117. package/fonts/arimo/arimo-normal-hebrew.woff2 +0 -0
  118. package/fonts/arimo/arimo-normal-latin-ext.woff2 +0 -0
  119. package/fonts/arimo/arimo-normal-latin.woff2 +0 -0
  120. package/fonts/arimo/arimo-normal-vietnamese.woff2 +0 -0
  121. package/fonts/bangers/OFL.txt +93 -0
  122. package/fonts/bangers/bangers-normal-latin-ext.woff2 +0 -0
  123. package/fonts/bangers/bangers-normal-latin.woff2 +0 -0
  124. package/fonts/bangers/bangers-normal-vietnamese.woff2 +0 -0
  125. package/fonts/barlow/OFL.txt +93 -0
  126. package/fonts/barlow/barlow-italic-latin-ext.woff2 +0 -0
  127. package/fonts/barlow/barlow-italic-latin.woff2 +0 -0
  128. package/fonts/barlow/barlow-italic-vietnamese.woff2 +0 -0
  129. package/fonts/barlow/barlow-normal-latin-400.woff2 +0 -0
  130. package/fonts/barlow/barlow-normal-latin-500.woff2 +0 -0
  131. package/fonts/barlow/barlow-normal-latin-600.woff2 +0 -0
  132. package/fonts/barlow/barlow-normal-latin-700.woff2 +0 -0
  133. package/fonts/barlow/barlow-normal-latin-800.woff2 +0 -0
  134. package/fonts/barlow/barlow-normal-latin-ext-400.woff2 +0 -0
  135. package/fonts/barlow/barlow-normal-latin-ext-500.woff2 +0 -0
  136. package/fonts/barlow/barlow-normal-latin-ext-600.woff2 +0 -0
  137. package/fonts/barlow/barlow-normal-latin-ext-700.woff2 +0 -0
  138. package/fonts/barlow/barlow-normal-latin-ext-800.woff2 +0 -0
  139. package/fonts/barlow/barlow-normal-vietnamese-400.woff2 +0 -0
  140. package/fonts/barlow/barlow-normal-vietnamese-500.woff2 +0 -0
  141. package/fonts/barlow/barlow-normal-vietnamese-600.woff2 +0 -0
  142. package/fonts/barlow/barlow-normal-vietnamese-700.woff2 +0 -0
  143. package/fonts/barlow/barlow-normal-vietnamese-800.woff2 +0 -0
  144. package/fonts/barlowcondensed/OFL.txt +93 -0
  145. package/fonts/barlowcondensed/barlowcondensed-normal-latin-500.woff2 +0 -0
  146. package/fonts/barlowcondensed/barlowcondensed-normal-latin-600.woff2 +0 -0
  147. package/fonts/barlowcondensed/barlowcondensed-normal-latin-ext-500.woff2 +0 -0
  148. package/fonts/barlowcondensed/barlowcondensed-normal-latin-ext-600.woff2 +0 -0
  149. package/fonts/barlowcondensed/barlowcondensed-normal-vietnamese-500.woff2 +0 -0
  150. package/fonts/barlowcondensed/barlowcondensed-normal-vietnamese-600.woff2 +0 -0
  151. package/fonts/bricolagegrotesque/OFL.txt +93 -0
  152. package/fonts/bricolagegrotesque/bricolagegrotesque-normal-latin-ext.woff2 +0 -0
  153. package/fonts/bricolagegrotesque/bricolagegrotesque-normal-latin.woff2 +0 -0
  154. package/fonts/bricolagegrotesque/bricolagegrotesque-normal-vietnamese.woff2 +0 -0
  155. package/fonts/bungee/OFL.txt +93 -0
  156. package/fonts/bungee/bungee-normal-latin-ext.woff2 +0 -0
  157. package/fonts/bungee/bungee-normal-latin.woff2 +0 -0
  158. package/fonts/bungee/bungee-normal-vietnamese.woff2 +0 -0
  159. package/fonts/caveat/OFL.txt +93 -0
  160. package/fonts/caveat/caveat-normal-cyrillic-ext.woff2 +0 -0
  161. package/fonts/caveat/caveat-normal-cyrillic.woff2 +0 -0
  162. package/fonts/caveat/caveat-normal-latin-ext.woff2 +0 -0
  163. package/fonts/caveat/caveat-normal-latin.woff2 +0 -0
  164. package/fonts/comicneue/OFL.txt +93 -0
  165. package/fonts/comicneue/comicneue-normal-latin-400.woff2 +0 -0
  166. package/fonts/comicneue/comicneue-normal-latin-700.woff2 +0 -0
  167. package/fonts/cormorantgaramond/OFL.txt +93 -0
  168. package/fonts/cormorantgaramond/cormorantgaramond-italic-cyrillic-ext.woff2 +0 -0
  169. package/fonts/cormorantgaramond/cormorantgaramond-italic-cyrillic.woff2 +0 -0
  170. package/fonts/cormorantgaramond/cormorantgaramond-italic-latin-ext.woff2 +0 -0
  171. package/fonts/cormorantgaramond/cormorantgaramond-italic-latin.woff2 +0 -0
  172. package/fonts/cormorantgaramond/cormorantgaramond-italic-vietnamese.woff2 +0 -0
  173. package/fonts/cormorantgaramond/cormorantgaramond-normal-cyrillic-ext.woff2 +0 -0
  174. package/fonts/cormorantgaramond/cormorantgaramond-normal-cyrillic.woff2 +0 -0
  175. package/fonts/cormorantgaramond/cormorantgaramond-normal-latin-ext.woff2 +0 -0
  176. package/fonts/cormorantgaramond/cormorantgaramond-normal-latin.woff2 +0 -0
  177. package/fonts/cormorantgaramond/cormorantgaramond-normal-vietnamese.woff2 +0 -0
  178. package/fonts/courierprime/OFL.txt +93 -0
  179. package/fonts/courierprime/courierprime-normal-latin-400.woff2 +0 -0
  180. package/fonts/courierprime/courierprime-normal-latin-700.woff2 +0 -0
  181. package/fonts/courierprime/courierprime-normal-latin-ext-400.woff2 +0 -0
  182. package/fonts/courierprime/courierprime-normal-latin-ext-700.woff2 +0 -0
  183. package/fonts/crimsonpro/OFL.txt +93 -0
  184. package/fonts/crimsonpro/crimsonpro-italic-latin-ext.woff2 +0 -0
  185. package/fonts/crimsonpro/crimsonpro-italic-latin.woff2 +0 -0
  186. package/fonts/crimsonpro/crimsonpro-italic-vietnamese.woff2 +0 -0
  187. package/fonts/crimsonpro/crimsonpro-normal-latin-ext.woff2 +0 -0
  188. package/fonts/crimsonpro/crimsonpro-normal-latin.woff2 +0 -0
  189. package/fonts/crimsonpro/crimsonpro-normal-vietnamese.woff2 +0 -0
  190. package/fonts/dmserifdisplay/OFL.txt +93 -0
  191. package/fonts/dmserifdisplay/dmserifdisplay-italic-latin-ext.woff2 +0 -0
  192. package/fonts/dmserifdisplay/dmserifdisplay-italic-latin.woff2 +0 -0
  193. package/fonts/dmserifdisplay/dmserifdisplay-normal-latin-ext.woff2 +0 -0
  194. package/fonts/dmserifdisplay/dmserifdisplay-normal-latin.woff2 +0 -0
  195. package/fonts/ebgaramond/OFL.txt +93 -0
  196. package/fonts/ebgaramond/ebgaramond-italic-cyrillic-ext.woff2 +0 -0
  197. package/fonts/ebgaramond/ebgaramond-italic-cyrillic.woff2 +0 -0
  198. package/fonts/ebgaramond/ebgaramond-italic-greek-ext.woff2 +0 -0
  199. package/fonts/ebgaramond/ebgaramond-italic-greek.woff2 +0 -0
  200. package/fonts/ebgaramond/ebgaramond-italic-latin-ext.woff2 +0 -0
  201. package/fonts/ebgaramond/ebgaramond-italic-latin.woff2 +0 -0
  202. package/fonts/ebgaramond/ebgaramond-italic-vietnamese.woff2 +0 -0
  203. package/fonts/ebgaramond/ebgaramond-normal-cyrillic-ext.woff2 +0 -0
  204. package/fonts/ebgaramond/ebgaramond-normal-cyrillic.woff2 +0 -0
  205. package/fonts/ebgaramond/ebgaramond-normal-greek-ext.woff2 +0 -0
  206. package/fonts/ebgaramond/ebgaramond-normal-greek.woff2 +0 -0
  207. package/fonts/ebgaramond/ebgaramond-normal-latin-ext.woff2 +0 -0
  208. package/fonts/ebgaramond/ebgaramond-normal-latin.woff2 +0 -0
  209. package/fonts/ebgaramond/ebgaramond-normal-vietnamese.woff2 +0 -0
  210. package/fonts/federo/OFL.txt +94 -0
  211. package/fonts/federo/federo-normal-latin.woff2 +0 -0
  212. package/fonts/firasanscondensed/OFL.txt +93 -0
  213. package/fonts/firasanscondensed/firasanscondensed-italic-cyrillic-ext.woff2 +0 -0
  214. package/fonts/firasanscondensed/firasanscondensed-italic-cyrillic.woff2 +0 -0
  215. package/fonts/firasanscondensed/firasanscondensed-italic-greek-ext.woff2 +0 -0
  216. package/fonts/firasanscondensed/firasanscondensed-italic-greek.woff2 +0 -0
  217. package/fonts/firasanscondensed/firasanscondensed-italic-latin-ext.woff2 +0 -0
  218. package/fonts/firasanscondensed/firasanscondensed-italic-latin.woff2 +0 -0
  219. package/fonts/firasanscondensed/firasanscondensed-italic-vietnamese.woff2 +0 -0
  220. package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-400.woff2 +0 -0
  221. package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-500.woff2 +0 -0
  222. package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-600.woff2 +0 -0
  223. package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-700.woff2 +0 -0
  224. package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-ext-400.woff2 +0 -0
  225. package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-ext-500.woff2 +0 -0
  226. package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-ext-600.woff2 +0 -0
  227. package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-ext-700.woff2 +0 -0
  228. package/fonts/firasanscondensed/firasanscondensed-normal-greek-400.woff2 +0 -0
  229. package/fonts/firasanscondensed/firasanscondensed-normal-greek-500.woff2 +0 -0
  230. package/fonts/firasanscondensed/firasanscondensed-normal-greek-600.woff2 +0 -0
  231. package/fonts/firasanscondensed/firasanscondensed-normal-greek-700.woff2 +0 -0
  232. package/fonts/firasanscondensed/firasanscondensed-normal-greek-ext-400.woff2 +0 -0
  233. package/fonts/firasanscondensed/firasanscondensed-normal-greek-ext-500.woff2 +0 -0
  234. package/fonts/firasanscondensed/firasanscondensed-normal-greek-ext-600.woff2 +0 -0
  235. package/fonts/firasanscondensed/firasanscondensed-normal-greek-ext-700.woff2 +0 -0
  236. package/fonts/firasanscondensed/firasanscondensed-normal-latin-400.woff2 +0 -0
  237. package/fonts/firasanscondensed/firasanscondensed-normal-latin-500.woff2 +0 -0
  238. package/fonts/firasanscondensed/firasanscondensed-normal-latin-600.woff2 +0 -0
  239. package/fonts/firasanscondensed/firasanscondensed-normal-latin-700.woff2 +0 -0
  240. package/fonts/firasanscondensed/firasanscondensed-normal-latin-ext-400.woff2 +0 -0
  241. package/fonts/firasanscondensed/firasanscondensed-normal-latin-ext-500.woff2 +0 -0
  242. package/fonts/firasanscondensed/firasanscondensed-normal-latin-ext-600.woff2 +0 -0
  243. package/fonts/firasanscondensed/firasanscondensed-normal-latin-ext-700.woff2 +0 -0
  244. package/fonts/firasanscondensed/firasanscondensed-normal-vietnamese-400.woff2 +0 -0
  245. package/fonts/firasanscondensed/firasanscondensed-normal-vietnamese-500.woff2 +0 -0
  246. package/fonts/firasanscondensed/firasanscondensed-normal-vietnamese-600.woff2 +0 -0
  247. package/fonts/firasanscondensed/firasanscondensed-normal-vietnamese-700.woff2 +0 -0
  248. package/fonts/gelasio/OFL.txt +93 -0
  249. package/fonts/gelasio/gelasio-italic-latin-ext.woff2 +0 -0
  250. package/fonts/gelasio/gelasio-italic-latin.woff2 +0 -0
  251. package/fonts/gelasio/gelasio-italic-vietnamese.woff2 +0 -0
  252. package/fonts/gelasio/gelasio-normal-latin-ext.woff2 +0 -0
  253. package/fonts/gelasio/gelasio-normal-latin.woff2 +0 -0
  254. package/fonts/gelasio/gelasio-normal-vietnamese.woff2 +0 -0
  255. package/fonts/gochihand/OFL.txt +94 -0
  256. package/fonts/gochihand/gochihand-normal-latin.woff2 +0 -0
  257. package/fonts/hankengrotesk/OFL.txt +94 -0
  258. package/fonts/hankengrotesk/hankengrotesk-italic-cyrillic-ext.woff2 +0 -0
  259. package/fonts/hankengrotesk/hankengrotesk-italic-latin-ext.woff2 +0 -0
  260. package/fonts/hankengrotesk/hankengrotesk-italic-latin.woff2 +0 -0
  261. package/fonts/hankengrotesk/hankengrotesk-italic-vietnamese.woff2 +0 -0
  262. package/fonts/hankengrotesk/hankengrotesk-normal-cyrillic-ext.woff2 +0 -0
  263. package/fonts/hankengrotesk/hankengrotesk-normal-latin-ext.woff2 +0 -0
  264. package/fonts/hankengrotesk/hankengrotesk-normal-latin.woff2 +0 -0
  265. package/fonts/hankengrotesk/hankengrotesk-normal-vietnamese.woff2 +0 -0
  266. package/fonts/hind/OFL.txt +93 -0
  267. package/fonts/hind/hind-normal-devanagari-400.woff2 +0 -0
  268. package/fonts/hind/hind-normal-devanagari-500.woff2 +0 -0
  269. package/fonts/hind/hind-normal-devanagari-600.woff2 +0 -0
  270. package/fonts/hind/hind-normal-devanagari-700.woff2 +0 -0
  271. package/fonts/hind/hind-normal-latin-400.woff2 +0 -0
  272. package/fonts/hind/hind-normal-latin-500.woff2 +0 -0
  273. package/fonts/hind/hind-normal-latin-600.woff2 +0 -0
  274. package/fonts/hind/hind-normal-latin-700.woff2 +0 -0
  275. package/fonts/hind/hind-normal-latin-ext-400.woff2 +0 -0
  276. package/fonts/hind/hind-normal-latin-ext-500.woff2 +0 -0
  277. package/fonts/hind/hind-normal-latin-ext-600.woff2 +0 -0
  278. package/fonts/hind/hind-normal-latin-ext-700.woff2 +0 -0
  279. package/fonts/ibmplexmono/OFL.txt +93 -0
  280. package/fonts/ibmplexmono/ibmplexmono-italic-cyrillic-ext.woff2 +0 -0
  281. package/fonts/ibmplexmono/ibmplexmono-italic-cyrillic.woff2 +0 -0
  282. package/fonts/ibmplexmono/ibmplexmono-italic-latin-ext.woff2 +0 -0
  283. package/fonts/ibmplexmono/ibmplexmono-italic-latin.woff2 +0 -0
  284. package/fonts/ibmplexmono/ibmplexmono-italic-vietnamese.woff2 +0 -0
  285. package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-400.woff2 +0 -0
  286. package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-500.woff2 +0 -0
  287. package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-600.woff2 +0 -0
  288. package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-700.woff2 +0 -0
  289. package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-ext-400.woff2 +0 -0
  290. package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-ext-500.woff2 +0 -0
  291. package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-ext-600.woff2 +0 -0
  292. package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-ext-700.woff2 +0 -0
  293. package/fonts/ibmplexmono/ibmplexmono-normal-latin-400.woff2 +0 -0
  294. package/fonts/ibmplexmono/ibmplexmono-normal-latin-500.woff2 +0 -0
  295. package/fonts/ibmplexmono/ibmplexmono-normal-latin-600.woff2 +0 -0
  296. package/fonts/ibmplexmono/ibmplexmono-normal-latin-700.woff2 +0 -0
  297. package/fonts/ibmplexmono/ibmplexmono-normal-latin-ext-400.woff2 +0 -0
  298. package/fonts/ibmplexmono/ibmplexmono-normal-latin-ext-500.woff2 +0 -0
  299. package/fonts/ibmplexmono/ibmplexmono-normal-latin-ext-600.woff2 +0 -0
  300. package/fonts/ibmplexmono/ibmplexmono-normal-latin-ext-700.woff2 +0 -0
  301. package/fonts/ibmplexmono/ibmplexmono-normal-vietnamese-400.woff2 +0 -0
  302. package/fonts/ibmplexmono/ibmplexmono-normal-vietnamese-500.woff2 +0 -0
  303. package/fonts/ibmplexmono/ibmplexmono-normal-vietnamese-600.woff2 +0 -0
  304. package/fonts/ibmplexmono/ibmplexmono-normal-vietnamese-700.woff2 +0 -0
  305. package/fonts/ibmplexsans/OFL.txt +93 -0
  306. package/fonts/ibmplexsans/ibmplexsans-italic-cyrillic-ext.woff2 +0 -0
  307. package/fonts/ibmplexsans/ibmplexsans-italic-cyrillic.woff2 +0 -0
  308. package/fonts/ibmplexsans/ibmplexsans-italic-greek.woff2 +0 -0
  309. package/fonts/ibmplexsans/ibmplexsans-italic-latin-ext.woff2 +0 -0
  310. package/fonts/ibmplexsans/ibmplexsans-italic-latin.woff2 +0 -0
  311. package/fonts/ibmplexsans/ibmplexsans-italic-vietnamese.woff2 +0 -0
  312. package/fonts/ibmplexsans/ibmplexsans-normal-cyrillic-ext.woff2 +0 -0
  313. package/fonts/ibmplexsans/ibmplexsans-normal-cyrillic.woff2 +0 -0
  314. package/fonts/ibmplexsans/ibmplexsans-normal-greek.woff2 +0 -0
  315. package/fonts/ibmplexsans/ibmplexsans-normal-latin-ext.woff2 +0 -0
  316. package/fonts/ibmplexsans/ibmplexsans-normal-latin.woff2 +0 -0
  317. package/fonts/ibmplexsans/ibmplexsans-normal-vietnamese.woff2 +0 -0
  318. package/fonts/ibmplexsanscondensed/OFL.txt +93 -0
  319. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-italic-cyrillic-ext.woff2 +0 -0
  320. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-italic-latin-ext.woff2 +0 -0
  321. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-italic-latin.woff2 +0 -0
  322. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-italic-vietnamese.woff2 +0 -0
  323. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-cyrillic-ext-400.woff2 +0 -0
  324. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-cyrillic-ext-500.woff2 +0 -0
  325. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-cyrillic-ext-600.woff2 +0 -0
  326. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-cyrillic-ext-700.woff2 +0 -0
  327. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-400.woff2 +0 -0
  328. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-500.woff2 +0 -0
  329. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-600.woff2 +0 -0
  330. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-700.woff2 +0 -0
  331. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-ext-400.woff2 +0 -0
  332. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-ext-500.woff2 +0 -0
  333. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-ext-600.woff2 +0 -0
  334. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-ext-700.woff2 +0 -0
  335. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-vietnamese-400.woff2 +0 -0
  336. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-vietnamese-500.woff2 +0 -0
  337. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-vietnamese-600.woff2 +0 -0
  338. package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-vietnamese-700.woff2 +0 -0
  339. package/fonts/ibmplexserif/OFL.txt +93 -0
  340. package/fonts/ibmplexserif/ibmplexserif-italic-cyrillic-ext.woff2 +0 -0
  341. package/fonts/ibmplexserif/ibmplexserif-italic-cyrillic.woff2 +0 -0
  342. package/fonts/ibmplexserif/ibmplexserif-italic-latin-ext.woff2 +0 -0
  343. package/fonts/ibmplexserif/ibmplexserif-italic-latin.woff2 +0 -0
  344. package/fonts/ibmplexserif/ibmplexserif-italic-vietnamese.woff2 +0 -0
  345. package/fonts/ibmplexserif/ibmplexserif-normal-cyrillic-400.woff2 +0 -0
  346. package/fonts/ibmplexserif/ibmplexserif-normal-cyrillic-600.woff2 +0 -0
  347. package/fonts/ibmplexserif/ibmplexserif-normal-cyrillic-ext-400.woff2 +0 -0
  348. package/fonts/ibmplexserif/ibmplexserif-normal-cyrillic-ext-600.woff2 +0 -0
  349. package/fonts/ibmplexserif/ibmplexserif-normal-latin-400.woff2 +0 -0
  350. package/fonts/ibmplexserif/ibmplexserif-normal-latin-600.woff2 +0 -0
  351. package/fonts/ibmplexserif/ibmplexserif-normal-latin-ext-400.woff2 +0 -0
  352. package/fonts/ibmplexserif/ibmplexserif-normal-latin-ext-600.woff2 +0 -0
  353. package/fonts/ibmplexserif/ibmplexserif-normal-vietnamese-400.woff2 +0 -0
  354. package/fonts/ibmplexserif/ibmplexserif-normal-vietnamese-600.woff2 +0 -0
  355. package/fonts/imfellenglish/OFL.txt +93 -0
  356. package/fonts/imfellenglish/imfellenglish-italic-latin.woff2 +0 -0
  357. package/fonts/imfellenglish/imfellenglish-normal-latin.woff2 +0 -0
  358. package/fonts/imfellenglishsc/OFL.txt +93 -0
  359. package/fonts/imfellenglishsc/imfellenglishsc-normal-latin.woff2 +0 -0
  360. package/fonts/inter/OFL.txt +93 -0
  361. package/fonts/inter/inter-normal-cyrillic-ext.woff2 +0 -0
  362. package/fonts/inter/inter-normal-cyrillic.woff2 +0 -0
  363. package/fonts/inter/inter-normal-greek-ext.woff2 +0 -0
  364. package/fonts/inter/inter-normal-greek.woff2 +0 -0
  365. package/fonts/inter/inter-normal-latin-ext.woff2 +0 -0
  366. package/fonts/inter/inter-normal-latin.woff2 +0 -0
  367. package/fonts/inter/inter-normal-vietnamese.woff2 +0 -0
  368. package/fonts/jost/OFL.txt +93 -0
  369. package/fonts/jost/jost-italic-cyrillic.woff2 +0 -0
  370. package/fonts/jost/jost-italic-latin-ext.woff2 +0 -0
  371. package/fonts/jost/jost-italic-latin.woff2 +0 -0
  372. package/fonts/jost/jost-normal-cyrillic.woff2 +0 -0
  373. package/fonts/jost/jost-normal-latin-ext.woff2 +0 -0
  374. package/fonts/jost/jost-normal-latin.woff2 +0 -0
  375. package/fonts/kalam/OFL.txt +93 -0
  376. package/fonts/kalam/kalam-normal-devanagari-400.woff2 +0 -0
  377. package/fonts/kalam/kalam-normal-devanagari-700.woff2 +0 -0
  378. package/fonts/kalam/kalam-normal-latin-400.woff2 +0 -0
  379. package/fonts/kalam/kalam-normal-latin-700.woff2 +0 -0
  380. package/fonts/kalam/kalam-normal-latin-ext-400.woff2 +0 -0
  381. package/fonts/kalam/kalam-normal-latin-ext-700.woff2 +0 -0
  382. package/fonts/lato/OFL.txt +93 -0
  383. package/fonts/lato/lato-italic-latin-ext.woff2 +0 -0
  384. package/fonts/lato/lato-italic-latin.woff2 +0 -0
  385. package/fonts/lato/lato-normal-latin-400.woff2 +0 -0
  386. package/fonts/lato/lato-normal-latin-700.woff2 +0 -0
  387. package/fonts/lato/lato-normal-latin-ext-400.woff2 +0 -0
  388. package/fonts/lato/lato-normal-latin-ext-700.woff2 +0 -0
  389. package/fonts/leaguespartan/OFL.txt +93 -0
  390. package/fonts/leaguespartan/leaguespartan-normal-latin-ext.woff2 +0 -0
  391. package/fonts/leaguespartan/leaguespartan-normal-latin.woff2 +0 -0
  392. package/fonts/leaguespartan/leaguespartan-normal-vietnamese.woff2 +0 -0
  393. package/fonts/librebodoni/OFL.txt +93 -0
  394. package/fonts/librebodoni/librebodoni-normal-latin-ext.woff2 +0 -0
  395. package/fonts/librebodoni/librebodoni-normal-latin.woff2 +0 -0
  396. package/fonts/librebodoni/librebodoni-normal-vietnamese.woff2 +0 -0
  397. package/fonts/librefranklin/OFL.txt +93 -0
  398. package/fonts/librefranklin/librefranklin-italic-cyrillic-ext.woff2 +0 -0
  399. package/fonts/librefranklin/librefranklin-italic-cyrillic.woff2 +0 -0
  400. package/fonts/librefranklin/librefranklin-italic-latin-ext.woff2 +0 -0
  401. package/fonts/librefranklin/librefranklin-italic-latin.woff2 +0 -0
  402. package/fonts/librefranklin/librefranklin-italic-vietnamese.woff2 +0 -0
  403. package/fonts/librefranklin/librefranklin-normal-cyrillic-ext.woff2 +0 -0
  404. package/fonts/librefranklin/librefranklin-normal-cyrillic.woff2 +0 -0
  405. package/fonts/librefranklin/librefranklin-normal-latin-ext.woff2 +0 -0
  406. package/fonts/librefranklin/librefranklin-normal-latin.woff2 +0 -0
  407. package/fonts/librefranklin/librefranklin-normal-vietnamese.woff2 +0 -0
  408. package/fonts/literata/OFL.txt +93 -0
  409. package/fonts/literata/literata-italic-cyrillic-ext.woff2 +0 -0
  410. package/fonts/literata/literata-italic-cyrillic.woff2 +0 -0
  411. package/fonts/literata/literata-italic-greek-ext.woff2 +0 -0
  412. package/fonts/literata/literata-italic-greek.woff2 +0 -0
  413. package/fonts/literata/literata-italic-latin-ext.woff2 +0 -0
  414. package/fonts/literata/literata-italic-latin.woff2 +0 -0
  415. package/fonts/literata/literata-italic-vietnamese.woff2 +0 -0
  416. package/fonts/literata/literata-normal-cyrillic-ext.woff2 +0 -0
  417. package/fonts/literata/literata-normal-cyrillic.woff2 +0 -0
  418. package/fonts/literata/literata-normal-greek-ext.woff2 +0 -0
  419. package/fonts/literata/literata-normal-greek.woff2 +0 -0
  420. package/fonts/literata/literata-normal-latin-ext.woff2 +0 -0
  421. package/fonts/literata/literata-normal-latin.woff2 +0 -0
  422. package/fonts/literata/literata-normal-vietnamese.woff2 +0 -0
  423. package/fonts/londrinasolid/OFL.txt +93 -0
  424. package/fonts/londrinasolid/londrinasolid-normal-latin-400.woff2 +0 -0
  425. package/fonts/londrinasolid/londrinasolid-normal-latin-900.woff2 +0 -0
  426. package/fonts/majormonodisplay/OFL.txt +93 -0
  427. package/fonts/majormonodisplay/majormonodisplay-normal-latin-ext.woff2 +0 -0
  428. package/fonts/majormonodisplay/majormonodisplay-normal-latin.woff2 +0 -0
  429. package/fonts/majormonodisplay/majormonodisplay-normal-vietnamese.woff2 +0 -0
  430. package/fonts/manifest.json +9084 -0
  431. package/fonts/montserrat/OFL.txt +93 -0
  432. package/fonts/montserrat/montserrat-italic-cyrillic-ext.woff2 +0 -0
  433. package/fonts/montserrat/montserrat-italic-cyrillic.woff2 +0 -0
  434. package/fonts/montserrat/montserrat-italic-latin-ext.woff2 +0 -0
  435. package/fonts/montserrat/montserrat-italic-latin.woff2 +0 -0
  436. package/fonts/montserrat/montserrat-italic-vietnamese.woff2 +0 -0
  437. package/fonts/montserrat/montserrat-normal-cyrillic-ext.woff2 +0 -0
  438. package/fonts/montserrat/montserrat-normal-cyrillic.woff2 +0 -0
  439. package/fonts/montserrat/montserrat-normal-latin-ext.woff2 +0 -0
  440. package/fonts/montserrat/montserrat-normal-latin.woff2 +0 -0
  441. package/fonts/montserrat/montserrat-normal-vietnamese.woff2 +0 -0
  442. package/fonts/newsreader/OFL.txt +93 -0
  443. package/fonts/newsreader/newsreader-italic-latin-ext.woff2 +0 -0
  444. package/fonts/newsreader/newsreader-italic-latin.woff2 +0 -0
  445. package/fonts/newsreader/newsreader-italic-vietnamese.woff2 +0 -0
  446. package/fonts/newsreader/newsreader-normal-latin-ext.woff2 +0 -0
  447. package/fonts/newsreader/newsreader-normal-latin.woff2 +0 -0
  448. package/fonts/newsreader/newsreader-normal-vietnamese.woff2 +0 -0
  449. package/fonts/notonaskharabic/OFL.txt +93 -0
  450. package/fonts/notonaskharabic/notonaskharabic-normal-arabic.woff2 +0 -0
  451. package/fonts/notonaskharabic/notonaskharabic-normal-latin-ext.woff2 +0 -0
  452. package/fonts/notonaskharabic/notonaskharabic-normal-latin.woff2 +0 -0
  453. package/fonts/notonaskharabic/notonaskharabic-normal-math.woff2 +0 -0
  454. package/fonts/notonaskharabic/notonaskharabic-normal-symbols.woff2 +0 -0
  455. package/fonts/notosans/OFL.txt +93 -0
  456. package/fonts/notosans/notosans-normal-cyrillic-ext.woff2 +0 -0
  457. package/fonts/notosans/notosans-normal-cyrillic.woff2 +0 -0
  458. package/fonts/notosans/notosans-normal-devanagari.woff2 +0 -0
  459. package/fonts/notosans/notosans-normal-greek-ext.woff2 +0 -0
  460. package/fonts/notosans/notosans-normal-greek.woff2 +0 -0
  461. package/fonts/notosans/notosans-normal-latin-ext.woff2 +0 -0
  462. package/fonts/notosans/notosans-normal-latin.woff2 +0 -0
  463. package/fonts/notosans/notosans-normal-vietnamese.woff2 +0 -0
  464. package/fonts/notosansarabic/OFL.txt +93 -0
  465. package/fonts/notosansarabic/notosansarabic-normal-arabic.woff2 +0 -0
  466. package/fonts/notosansarabic/notosansarabic-normal-latin-ext.woff2 +0 -0
  467. package/fonts/notosansarabic/notosansarabic-normal-latin.woff2 +0 -0
  468. package/fonts/notosansarabic/notosansarabic-normal-math.woff2 +0 -0
  469. package/fonts/notosansarabic/notosansarabic-normal-symbols.woff2 +0 -0
  470. package/fonts/notosansarmenian/OFL.txt +93 -0
  471. package/fonts/notosansarmenian/notosansarmenian-normal-armenian.woff2 +0 -0
  472. package/fonts/notosansarmenian/notosansarmenian-normal-latin-ext.woff2 +0 -0
  473. package/fonts/notosansarmenian/notosansarmenian-normal-latin.woff2 +0 -0
  474. package/fonts/notosansbengali/OFL.txt +93 -0
  475. package/fonts/notosansbengali/notosansbengali-normal-bengali.woff2 +0 -0
  476. package/fonts/notosansbengali/notosansbengali-normal-latin-ext.woff2 +0 -0
  477. package/fonts/notosansbengali/notosansbengali-normal-latin.woff2 +0 -0
  478. package/fonts/notosansdevanagari/OFL.txt +93 -0
  479. package/fonts/notosansdevanagari/notosansdevanagari-normal-devanagari.woff2 +0 -0
  480. package/fonts/notosansdevanagari/notosansdevanagari-normal-latin-ext.woff2 +0 -0
  481. package/fonts/notosansdevanagari/notosansdevanagari-normal-latin.woff2 +0 -0
  482. package/fonts/notosansethiopic/OFL.txt +93 -0
  483. package/fonts/notosansethiopic/notosansethiopic-normal-ethiopic.woff2 +0 -0
  484. package/fonts/notosansethiopic/notosansethiopic-normal-latin-ext.woff2 +0 -0
  485. package/fonts/notosansethiopic/notosansethiopic-normal-latin.woff2 +0 -0
  486. package/fonts/notosansgeorgian/OFL.txt +93 -0
  487. package/fonts/notosansgeorgian/notosansgeorgian-normal-cyrillic-ext.woff2 +0 -0
  488. package/fonts/notosansgeorgian/notosansgeorgian-normal-georgian.woff2 +0 -0
  489. package/fonts/notosansgeorgian/notosansgeorgian-normal-greek-ext.woff2 +0 -0
  490. package/fonts/notosansgeorgian/notosansgeorgian-normal-latin-ext.woff2 +0 -0
  491. package/fonts/notosansgeorgian/notosansgeorgian-normal-latin.woff2 +0 -0
  492. package/fonts/notosansgeorgian/notosansgeorgian-normal-math.woff2 +0 -0
  493. package/fonts/notosansgeorgian/notosansgeorgian-normal-symbols.woff2 +0 -0
  494. package/fonts/notosansgujarati/OFL.txt +93 -0
  495. package/fonts/notosansgujarati/notosansgujarati-normal-gujarati.woff2 +0 -0
  496. package/fonts/notosansgujarati/notosansgujarati-normal-latin-ext.woff2 +0 -0
  497. package/fonts/notosansgujarati/notosansgujarati-normal-latin.woff2 +0 -0
  498. package/fonts/notosansgujarati/notosansgujarati-normal-math.woff2 +0 -0
  499. package/fonts/notosansgujarati/notosansgujarati-normal-symbols.woff2 +0 -0
  500. package/fonts/notosansgurmukhi/OFL.txt +93 -0
  501. package/fonts/notosansgurmukhi/notosansgurmukhi-normal-gurmukhi.woff2 +0 -0
  502. package/fonts/notosansgurmukhi/notosansgurmukhi-normal-latin-ext.woff2 +0 -0
  503. package/fonts/notosansgurmukhi/notosansgurmukhi-normal-latin.woff2 +0 -0
  504. package/fonts/notosanshebrew/OFL.txt +93 -0
  505. package/fonts/notosanshebrew/notosanshebrew-normal-cyrillic-ext.woff2 +0 -0
  506. package/fonts/notosanshebrew/notosanshebrew-normal-greek-ext.woff2 +0 -0
  507. package/fonts/notosanshebrew/notosanshebrew-normal-hebrew.woff2 +0 -0
  508. package/fonts/notosanshebrew/notosanshebrew-normal-latin-ext.woff2 +0 -0
  509. package/fonts/notosanshebrew/notosanshebrew-normal-latin.woff2 +0 -0
  510. package/fonts/notosanskannada/OFL.txt +93 -0
  511. package/fonts/notosanskannada/notosanskannada-normal-kannada.woff2 +0 -0
  512. package/fonts/notosanskannada/notosanskannada-normal-latin-ext.woff2 +0 -0
  513. package/fonts/notosanskannada/notosanskannada-normal-latin.woff2 +0 -0
  514. package/fonts/notosanskhmer/OFL.txt +93 -0
  515. package/fonts/notosanskhmer/notosanskhmer-normal-khmer.woff2 +0 -0
  516. package/fonts/notosanskhmer/notosanskhmer-normal-latin-ext.woff2 +0 -0
  517. package/fonts/notosanskhmer/notosanskhmer-normal-latin.woff2 +0 -0
  518. package/fonts/notosanslao/OFL.txt +93 -0
  519. package/fonts/notosanslao/notosanslao-normal-lao.woff2 +0 -0
  520. package/fonts/notosanslao/notosanslao-normal-latin-ext.woff2 +0 -0
  521. package/fonts/notosanslao/notosanslao-normal-latin.woff2 +0 -0
  522. package/fonts/notosansmalayalam/OFL.txt +93 -0
  523. package/fonts/notosansmalayalam/notosansmalayalam-normal-latin-ext.woff2 +0 -0
  524. package/fonts/notosansmalayalam/notosansmalayalam-normal-latin.woff2 +0 -0
  525. package/fonts/notosansmalayalam/notosansmalayalam-normal-malayalam.woff2 +0 -0
  526. package/fonts/notosansmono/OFL.txt +93 -0
  527. package/fonts/notosansmono/notosansmono-normal-cyrillic-ext.woff2 +0 -0
  528. package/fonts/notosansmono/notosansmono-normal-cyrillic.woff2 +0 -0
  529. package/fonts/notosansmono/notosansmono-normal-greek-ext.woff2 +0 -0
  530. package/fonts/notosansmono/notosansmono-normal-greek.woff2 +0 -0
  531. package/fonts/notosansmono/notosansmono-normal-latin-ext.woff2 +0 -0
  532. package/fonts/notosansmono/notosansmono-normal-latin.woff2 +0 -0
  533. package/fonts/notosansmono/notosansmono-normal-vietnamese.woff2 +0 -0
  534. package/fonts/notosansmyanmar/OFL.txt +93 -0
  535. package/fonts/notosansmyanmar/notosansmyanmar-normal-latin-ext.woff2 +0 -0
  536. package/fonts/notosansmyanmar/notosansmyanmar-normal-latin.woff2 +0 -0
  537. package/fonts/notosansmyanmar/notosansmyanmar-normal-myanmar.woff2 +0 -0
  538. package/fonts/notosanssinhala/OFL.txt +93 -0
  539. package/fonts/notosanssinhala/notosanssinhala-normal-latin-ext.woff2 +0 -0
  540. package/fonts/notosanssinhala/notosanssinhala-normal-latin.woff2 +0 -0
  541. package/fonts/notosanssinhala/notosanssinhala-normal-sinhala.woff2 +0 -0
  542. package/fonts/notosanstamil/OFL.txt +93 -0
  543. package/fonts/notosanstamil/notosanstamil-normal-latin-ext.woff2 +0 -0
  544. package/fonts/notosanstamil/notosanstamil-normal-latin.woff2 +0 -0
  545. package/fonts/notosanstamil/notosanstamil-normal-tamil.woff2 +0 -0
  546. package/fonts/notosanstelugu/OFL.txt +93 -0
  547. package/fonts/notosanstelugu/notosanstelugu-normal-latin-ext.woff2 +0 -0
  548. package/fonts/notosanstelugu/notosanstelugu-normal-latin.woff2 +0 -0
  549. package/fonts/notosanstelugu/notosanstelugu-normal-telugu.woff2 +0 -0
  550. package/fonts/notosansthai/OFL.txt +93 -0
  551. package/fonts/notosansthai/notosansthai-normal-latin-ext.woff2 +0 -0
  552. package/fonts/notosansthai/notosansthai-normal-latin.woff2 +0 -0
  553. package/fonts/notosansthai/notosansthai-normal-thai.woff2 +0 -0
  554. package/fonts/notoserif/OFL.txt +93 -0
  555. package/fonts/notoserif/notoserif-normal-cyrillic-ext.woff2 +0 -0
  556. package/fonts/notoserif/notoserif-normal-cyrillic.woff2 +0 -0
  557. package/fonts/notoserif/notoserif-normal-greek-ext.woff2 +0 -0
  558. package/fonts/notoserif/notoserif-normal-greek.woff2 +0 -0
  559. package/fonts/notoserif/notoserif-normal-latin-ext.woff2 +0 -0
  560. package/fonts/notoserif/notoserif-normal-latin.woff2 +0 -0
  561. package/fonts/notoserif/notoserif-normal-math.woff2 +0 -0
  562. package/fonts/notoserif/notoserif-normal-vietnamese.woff2 +0 -0
  563. package/fonts/notoserifbengali/OFL.txt +93 -0
  564. package/fonts/notoserifbengali/notoserifbengali-normal-bengali.woff2 +0 -0
  565. package/fonts/notoserifbengali/notoserifbengali-normal-latin-ext.woff2 +0 -0
  566. package/fonts/notoserifbengali/notoserifbengali-normal-latin.woff2 +0 -0
  567. package/fonts/notoserifdevanagari/OFL.txt +93 -0
  568. package/fonts/notoserifdevanagari/notoserifdevanagari-normal-devanagari.woff2 +0 -0
  569. package/fonts/notoserifdevanagari/notoserifdevanagari-normal-latin-ext.woff2 +0 -0
  570. package/fonts/notoserifdevanagari/notoserifdevanagari-normal-latin.woff2 +0 -0
  571. package/fonts/notoserifethiopic/OFL.txt +93 -0
  572. package/fonts/notoserifethiopic/notoserifethiopic-normal-ethiopic.woff2 +0 -0
  573. package/fonts/notoserifethiopic/notoserifethiopic-normal-latin-ext.woff2 +0 -0
  574. package/fonts/notoserifethiopic/notoserifethiopic-normal-latin.woff2 +0 -0
  575. package/fonts/notoserifhebrew/OFL.txt +93 -0
  576. package/fonts/notoserifhebrew/notoserifhebrew-normal-hebrew.woff2 +0 -0
  577. package/fonts/notoserifhebrew/notoserifhebrew-normal-latin-ext.woff2 +0 -0
  578. package/fonts/notoserifhebrew/notoserifhebrew-normal-latin.woff2 +0 -0
  579. package/fonts/notoseriftamil/OFL.txt +93 -0
  580. package/fonts/notoseriftamil/notoseriftamil-normal-latin-ext.woff2 +0 -0
  581. package/fonts/notoseriftamil/notoseriftamil-normal-latin.woff2 +0 -0
  582. package/fonts/notoseriftamil/notoseriftamil-normal-tamil.woff2 +0 -0
  583. package/fonts/notoserifthai/OFL.txt +93 -0
  584. package/fonts/notoserifthai/notoserifthai-normal-latin-ext.woff2 +0 -0
  585. package/fonts/notoserifthai/notoserifthai-normal-latin.woff2 +0 -0
  586. package/fonts/notoserifthai/notoserifthai-normal-thai.woff2 +0 -0
  587. package/fonts/nunito/OFL.txt +93 -0
  588. package/fonts/nunito/nunito-italic-cyrillic-ext.woff2 +0 -0
  589. package/fonts/nunito/nunito-italic-cyrillic.woff2 +0 -0
  590. package/fonts/nunito/nunito-italic-latin-ext.woff2 +0 -0
  591. package/fonts/nunito/nunito-italic-latin.woff2 +0 -0
  592. package/fonts/nunito/nunito-italic-vietnamese.woff2 +0 -0
  593. package/fonts/nunito/nunito-normal-cyrillic-ext.woff2 +0 -0
  594. package/fonts/nunito/nunito-normal-cyrillic.woff2 +0 -0
  595. package/fonts/nunito/nunito-normal-latin-ext.woff2 +0 -0
  596. package/fonts/nunito/nunito-normal-latin.woff2 +0 -0
  597. package/fonts/nunito/nunito-normal-vietnamese.woff2 +0 -0
  598. package/fonts/nunitosans/OFL.txt +93 -0
  599. package/fonts/nunitosans/nunitosans-italic-cyrillic-ext.woff2 +0 -0
  600. package/fonts/nunitosans/nunitosans-italic-cyrillic.woff2 +0 -0
  601. package/fonts/nunitosans/nunitosans-italic-latin-ext.woff2 +0 -0
  602. package/fonts/nunitosans/nunitosans-italic-latin.woff2 +0 -0
  603. package/fonts/nunitosans/nunitosans-italic-vietnamese.woff2 +0 -0
  604. package/fonts/nunitosans/nunitosans-normal-cyrillic-400_600_700.woff2 +0 -0
  605. package/fonts/nunitosans/nunitosans-normal-cyrillic-400_600_700_800.woff2 +0 -0
  606. package/fonts/nunitosans/nunitosans-normal-cyrillic-ext-400_600_700.woff2 +0 -0
  607. package/fonts/nunitosans/nunitosans-normal-cyrillic-ext-400_600_700_800.woff2 +0 -0
  608. package/fonts/nunitosans/nunitosans-normal-latin-400_600_700.woff2 +0 -0
  609. package/fonts/nunitosans/nunitosans-normal-latin-400_600_700_800.woff2 +0 -0
  610. package/fonts/nunitosans/nunitosans-normal-latin-ext-400_600_700.woff2 +0 -0
  611. package/fonts/nunitosans/nunitosans-normal-latin-ext-400_600_700_800.woff2 +0 -0
  612. package/fonts/nunitosans/nunitosans-normal-vietnamese-400_600_700.woff2 +0 -0
  613. package/fonts/nunitosans/nunitosans-normal-vietnamese-400_600_700_800.woff2 +0 -0
  614. package/fonts/oldstandardtt/OFL.txt +93 -0
  615. package/fonts/oldstandardtt/oldstandardtt-italic-cyrillic-ext.woff2 +0 -0
  616. package/fonts/oldstandardtt/oldstandardtt-italic-cyrillic.woff2 +0 -0
  617. package/fonts/oldstandardtt/oldstandardtt-italic-latin-ext.woff2 +0 -0
  618. package/fonts/oldstandardtt/oldstandardtt-italic-latin.woff2 +0 -0
  619. package/fonts/oldstandardtt/oldstandardtt-italic-vietnamese.woff2 +0 -0
  620. package/fonts/oldstandardtt/oldstandardtt-normal-cyrillic-400.woff2 +0 -0
  621. package/fonts/oldstandardtt/oldstandardtt-normal-cyrillic-700.woff2 +0 -0
  622. package/fonts/oldstandardtt/oldstandardtt-normal-cyrillic-ext-400.woff2 +0 -0
  623. package/fonts/oldstandardtt/oldstandardtt-normal-cyrillic-ext-700.woff2 +0 -0
  624. package/fonts/oldstandardtt/oldstandardtt-normal-latin-400.woff2 +0 -0
  625. package/fonts/oldstandardtt/oldstandardtt-normal-latin-700.woff2 +0 -0
  626. package/fonts/oldstandardtt/oldstandardtt-normal-latin-ext-400.woff2 +0 -0
  627. package/fonts/oldstandardtt/oldstandardtt-normal-latin-ext-700.woff2 +0 -0
  628. package/fonts/oldstandardtt/oldstandardtt-normal-vietnamese-400.woff2 +0 -0
  629. package/fonts/oldstandardtt/oldstandardtt-normal-vietnamese-700.woff2 +0 -0
  630. package/fonts/oswald/OFL.txt +93 -0
  631. package/fonts/oswald/oswald-normal-cyrillic-ext.woff2 +0 -0
  632. package/fonts/oswald/oswald-normal-cyrillic.woff2 +0 -0
  633. package/fonts/oswald/oswald-normal-latin-ext.woff2 +0 -0
  634. package/fonts/oswald/oswald-normal-latin.woff2 +0 -0
  635. package/fonts/oswald/oswald-normal-vietnamese.woff2 +0 -0
  636. package/fonts/patrickhandsc/OFL.txt +93 -0
  637. package/fonts/patrickhandsc/patrickhandsc-normal-latin-ext.woff2 +0 -0
  638. package/fonts/patrickhandsc/patrickhandsc-normal-latin.woff2 +0 -0
  639. package/fonts/patrickhandsc/patrickhandsc-normal-vietnamese.woff2 +0 -0
  640. package/fonts/ptsans/OFL.txt +93 -0
  641. package/fonts/ptsans/ptsans-italic-cyrillic-ext.woff2 +0 -0
  642. package/fonts/ptsans/ptsans-italic-cyrillic.woff2 +0 -0
  643. package/fonts/ptsans/ptsans-italic-latin-ext.woff2 +0 -0
  644. package/fonts/ptsans/ptsans-italic-latin.woff2 +0 -0
  645. package/fonts/ptsans/ptsans-normal-cyrillic-400.woff2 +0 -0
  646. package/fonts/ptsans/ptsans-normal-cyrillic-700.woff2 +0 -0
  647. package/fonts/ptsans/ptsans-normal-cyrillic-ext-400.woff2 +0 -0
  648. package/fonts/ptsans/ptsans-normal-cyrillic-ext-700.woff2 +0 -0
  649. package/fonts/ptsans/ptsans-normal-latin-400.woff2 +0 -0
  650. package/fonts/ptsans/ptsans-normal-latin-700.woff2 +0 -0
  651. package/fonts/ptsans/ptsans-normal-latin-ext-400.woff2 +0 -0
  652. package/fonts/ptsans/ptsans-normal-latin-ext-700.woff2 +0 -0
  653. package/fonts/ptsansnarrow/OFL.txt +93 -0
  654. package/fonts/ptsansnarrow/ptsansnarrow-normal-cyrillic-400.woff2 +0 -0
  655. package/fonts/ptsansnarrow/ptsansnarrow-normal-cyrillic-700.woff2 +0 -0
  656. package/fonts/ptsansnarrow/ptsansnarrow-normal-cyrillic-ext-400.woff2 +0 -0
  657. package/fonts/ptsansnarrow/ptsansnarrow-normal-cyrillic-ext-700.woff2 +0 -0
  658. package/fonts/ptsansnarrow/ptsansnarrow-normal-latin-400.woff2 +0 -0
  659. package/fonts/ptsansnarrow/ptsansnarrow-normal-latin-700.woff2 +0 -0
  660. package/fonts/ptsansnarrow/ptsansnarrow-normal-latin-ext-400.woff2 +0 -0
  661. package/fonts/ptsansnarrow/ptsansnarrow-normal-latin-ext-700.woff2 +0 -0
  662. package/fonts/ptserif/OFL.txt +93 -0
  663. package/fonts/ptserif/ptserif-italic-cyrillic-ext.woff2 +0 -0
  664. package/fonts/ptserif/ptserif-italic-cyrillic.woff2 +0 -0
  665. package/fonts/ptserif/ptserif-italic-latin-ext.woff2 +0 -0
  666. package/fonts/ptserif/ptserif-italic-latin.woff2 +0 -0
  667. package/fonts/ptserif/ptserif-normal-cyrillic-400.woff2 +0 -0
  668. package/fonts/ptserif/ptserif-normal-cyrillic-700.woff2 +0 -0
  669. package/fonts/ptserif/ptserif-normal-cyrillic-ext-400.woff2 +0 -0
  670. package/fonts/ptserif/ptserif-normal-cyrillic-ext-700.woff2 +0 -0
  671. package/fonts/ptserif/ptserif-normal-latin-400.woff2 +0 -0
  672. package/fonts/ptserif/ptserif-normal-latin-700.woff2 +0 -0
  673. package/fonts/ptserif/ptserif-normal-latin-ext-400.woff2 +0 -0
  674. package/fonts/ptserif/ptserif-normal-latin-ext-700.woff2 +0 -0
  675. package/fonts/rubik/OFL.txt +93 -0
  676. package/fonts/rubik/rubik-italic-arabic.woff2 +0 -0
  677. package/fonts/rubik/rubik-italic-cyrillic-ext.woff2 +0 -0
  678. package/fonts/rubik/rubik-italic-cyrillic.woff2 +0 -0
  679. package/fonts/rubik/rubik-italic-hebrew.woff2 +0 -0
  680. package/fonts/rubik/rubik-italic-latin-ext.woff2 +0 -0
  681. package/fonts/rubik/rubik-italic-latin.woff2 +0 -0
  682. package/fonts/rubik/rubik-normal-arabic.woff2 +0 -0
  683. package/fonts/rubik/rubik-normal-cyrillic-ext.woff2 +0 -0
  684. package/fonts/rubik/rubik-normal-cyrillic.woff2 +0 -0
  685. package/fonts/rubik/rubik-normal-hebrew.woff2 +0 -0
  686. package/fonts/rubik/rubik-normal-latin-ext.woff2 +0 -0
  687. package/fonts/rubik/rubik-normal-latin.woff2 +0 -0
  688. package/fonts/rubikmonoone/OFL.txt +93 -0
  689. package/fonts/rubikmonoone/rubikmonoone-normal-cyrillic.woff2 +0 -0
  690. package/fonts/rubikmonoone/rubikmonoone-normal-latin-ext.woff2 +0 -0
  691. package/fonts/rubikmonoone/rubikmonoone-normal-latin.woff2 +0 -0
  692. package/fonts/sharetechmono/OFL.txt +93 -0
  693. package/fonts/sharetechmono/sharetechmono-normal-latin.woff2 +0 -0
  694. package/fonts/shrikhand/OFL.txt +93 -0
  695. package/fonts/shrikhand/shrikhand-normal-gujarati.woff2 +0 -0
  696. package/fonts/shrikhand/shrikhand-normal-latin-ext.woff2 +0 -0
  697. package/fonts/shrikhand/shrikhand-normal-latin.woff2 +0 -0
  698. package/fonts/sourceserif4/OFL.txt +93 -0
  699. package/fonts/sourceserif4/sourceserif4-italic-cyrillic-ext.woff2 +0 -0
  700. package/fonts/sourceserif4/sourceserif4-italic-cyrillic.woff2 +0 -0
  701. package/fonts/sourceserif4/sourceserif4-italic-greek.woff2 +0 -0
  702. package/fonts/sourceserif4/sourceserif4-italic-latin-ext.woff2 +0 -0
  703. package/fonts/sourceserif4/sourceserif4-italic-latin.woff2 +0 -0
  704. package/fonts/sourceserif4/sourceserif4-italic-vietnamese.woff2 +0 -0
  705. package/fonts/sourceserif4/sourceserif4-normal-cyrillic-ext.woff2 +0 -0
  706. package/fonts/sourceserif4/sourceserif4-normal-cyrillic.woff2 +0 -0
  707. package/fonts/sourceserif4/sourceserif4-normal-greek.woff2 +0 -0
  708. package/fonts/sourceserif4/sourceserif4-normal-latin-ext.woff2 +0 -0
  709. package/fonts/sourceserif4/sourceserif4-normal-latin.woff2 +0 -0
  710. package/fonts/sourceserif4/sourceserif4-normal-vietnamese.woff2 +0 -0
  711. package/fonts/spacemono/OFL.txt +93 -0
  712. package/fonts/spacemono/spacemono-italic-latin-ext.woff2 +0 -0
  713. package/fonts/spacemono/spacemono-italic-latin.woff2 +0 -0
  714. package/fonts/spacemono/spacemono-italic-vietnamese.woff2 +0 -0
  715. package/fonts/spacemono/spacemono-normal-latin-400.woff2 +0 -0
  716. package/fonts/spacemono/spacemono-normal-latin-700.woff2 +0 -0
  717. package/fonts/spacemono/spacemono-normal-latin-ext-400.woff2 +0 -0
  718. package/fonts/spacemono/spacemono-normal-latin-ext-700.woff2 +0 -0
  719. package/fonts/spacemono/spacemono-normal-vietnamese-400.woff2 +0 -0
  720. package/fonts/spacemono/spacemono-normal-vietnamese-700.woff2 +0 -0
  721. package/fonts/stardosstencil/OFL.txt +94 -0
  722. package/fonts/stardosstencil/stardosstencil-normal-latin-400.woff2 +0 -0
  723. package/fonts/stardosstencil/stardosstencil-normal-latin-700.woff2 +0 -0
  724. package/fonts/stixtwotext/OFL.txt +93 -0
  725. package/fonts/stixtwotext/stixtwotext-italic-cyrillic-ext.woff2 +0 -0
  726. package/fonts/stixtwotext/stixtwotext-italic-cyrillic.woff2 +0 -0
  727. package/fonts/stixtwotext/stixtwotext-italic-greek.woff2 +0 -0
  728. package/fonts/stixtwotext/stixtwotext-italic-latin-ext.woff2 +0 -0
  729. package/fonts/stixtwotext/stixtwotext-italic-latin.woff2 +0 -0
  730. package/fonts/stixtwotext/stixtwotext-italic-vietnamese.woff2 +0 -0
  731. package/fonts/stixtwotext/stixtwotext-normal-cyrillic-ext.woff2 +0 -0
  732. package/fonts/stixtwotext/stixtwotext-normal-cyrillic.woff2 +0 -0
  733. package/fonts/stixtwotext/stixtwotext-normal-greek.woff2 +0 -0
  734. package/fonts/stixtwotext/stixtwotext-normal-latin-ext.woff2 +0 -0
  735. package/fonts/stixtwotext/stixtwotext-normal-latin.woff2 +0 -0
  736. package/fonts/stixtwotext/stixtwotext-normal-vietnamese.woff2 +0 -0
  737. package/fonts/worksans/OFL.txt +93 -0
  738. package/fonts/worksans/worksans-italic-latin-ext.woff2 +0 -0
  739. package/fonts/worksans/worksans-italic-latin.woff2 +0 -0
  740. package/fonts/worksans/worksans-italic-vietnamese.woff2 +0 -0
  741. package/fonts/worksans/worksans-normal-latin-ext.woff2 +0 -0
  742. package/fonts/worksans/worksans-normal-latin.woff2 +0 -0
  743. package/fonts/worksans/worksans-normal-vietnamese.woff2 +0 -0
  744. package/package.json +8 -3
  745. package/src/fonts.ts +136 -0
  746. package/src/index.ts +1 -0
  747. package/src/presets.ts +115 -16
  748. package/src/print-themes.ts +14 -1
  749. package/src/stylesheet.ts +5 -0
  750. package/src/theme.ts +35 -5
@@ -0,0 +1,93 @@
1
+ Copyright 2019 The Work Sans Project Authors (https://github.com/weiweihuanghuang/Work-Sans)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datatechsolutions/tympan-tokens",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Tympan design tokens: W3C DTCG source (colour, space, radius, type, elevation and glass, motion, z) and an OKLCH theme generator, with the tympan, fakhir, astrlabe, neutral and high-contrast presets in light and dark (plus opt-in UI themes derived from the print book styles), built to --ty-* CSS custom properties, JSON and a TypeScript export.",
5
5
  "license": "FSL-1.1-ALv2",
6
6
  "author": "Natalia Mesquita",
@@ -40,6 +40,8 @@
40
40
  "default": "./dist/print-aliases.js"
41
41
  },
42
42
  "./tokens.css": "./dist/tokens.css",
43
+ "./fonts.css": "./dist/fonts.css",
44
+ "./fonts/*": "./fonts/*",
43
45
  "./print-themes.css": "./dist/print-themes.css",
44
46
  "./print-themes/*": "./dist/print-themes/*",
45
47
  "./print-themes.json": "./dist/print-themes.json",
@@ -51,14 +53,17 @@
51
53
  "files": [
52
54
  "dist",
53
55
  "src",
56
+ "fonts",
54
57
  "LICENSE",
55
- "README.md"
58
+ "README.md",
59
+ "THIRD_PARTY_NOTICES.md"
56
60
  ],
57
61
  "scripts": {
58
62
  "build": "node scripts/build.mjs && tsdown",
59
63
  "typecheck": "tsc --noEmit -p tsconfig.json && node scripts/build.mjs --check",
60
64
  "test": "vitest run",
61
- "prepack": "npm run build"
65
+ "prepack": "npm run build",
66
+ "fetch-fonts": "node scripts/fetch-fonts.mjs"
62
67
  },
63
68
  "devDependencies": {
64
69
  "style-dictionary": "^5.5.5"
package/src/fonts.ts ADDED
@@ -0,0 +1,136 @@
1
+ // Bundled web fonts. Tympan ships every family its themes name as woff2
2
+ // files inside this package (packages/tokens/fonts/, fetched once by
3
+ // scripts/fetch-fonts.mjs and committed), declared with @font-face in
4
+ // dist/fonts.css (imported by tokens.css) and in the print theme sheets.
5
+ // The CJK families are the exception: they ship in the optional
6
+ // @datatechsolutions/tympan-fonts-cjk package (see CJK_FONT_FAMILIES).
7
+ // @font-face only downloads a file when text uses that face and falls in its
8
+ // unicode-range, so nothing is fetched from a third party at runtime and an
9
+ // unused script or theme costs nothing.
10
+ //
11
+ // The lists below are the source of truth for what scripts/fetch-fonts.mjs
12
+ // downloads; the specs use the Google Fonts css2 syntax
13
+ // (`Family Name:axes@values`) because that is where the files come from.
14
+
15
+ import { SCRIPT_RULES } from './scripts.ts'
16
+
17
+ /** Base stacks of every preset: Source Serif 4, IBM Plex Sans, IBM Plex Mono. */
18
+ export const BASE_FONT_SPECS: readonly string[] = [
19
+ 'Source Serif 4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400',
20
+ 'IBM Plex Sans:ital,wght@0,400;0,500;0,600;0,700;1,400',
21
+ 'IBM Plex Mono:ital,wght@0,400;0,500;0,600;0,700;1,400',
22
+ ]
23
+
24
+ const NOTO_WEIGHTS = 'wght@400;500;600;700'
25
+
26
+ /** Noto families named by the base stacks and the per-script `:lang()` rules. */
27
+ export const SCRIPT_FONT_FAMILIES: readonly string[] = [
28
+ ...new Set([
29
+ 'Noto Sans',
30
+ 'Noto Serif',
31
+ 'Noto Sans Mono',
32
+ 'Noto Naskh Arabic',
33
+ 'Noto Sans Arabic',
34
+ 'Noto Sans Hebrew',
35
+ 'Noto Serif Hebrew',
36
+ 'Noto Sans Devanagari',
37
+ 'Noto Serif Devanagari',
38
+ 'Noto Sans Bengali',
39
+ 'Noto Sans Tamil',
40
+ 'Noto Sans Thai',
41
+ 'Noto Serif Thai',
42
+ 'Noto Sans Ethiopic',
43
+ 'Noto Serif Ethiopic',
44
+ 'Noto Sans Armenian',
45
+ 'Noto Sans Georgian',
46
+ 'Noto Sans JP',
47
+ 'Noto Serif JP',
48
+ 'Noto Sans SC',
49
+ 'Noto Serif SC',
50
+ 'Noto Sans KR',
51
+ 'Noto Serif KR',
52
+ ...SCRIPT_RULES.flatMap((r) => [...r.sans, ...(r.serif ?? [])]),
53
+ ]),
54
+ ]
55
+
56
+ export const SCRIPT_FONT_SPECS: readonly string[] = SCRIPT_FONT_FAMILIES.map((f) => `${f}:${NOTO_WEIGHTS}`)
57
+
58
+ /**
59
+ * The CJK Noto families (about 41 MB of woff2). The token stacks and the
60
+ * `:lang()` rules still name them, but their files and @font-face rules live
61
+ * in the optional package @datatechsolutions/tympan-fonts-cjk (activated with
62
+ * `import '@datatechsolutions/tympan-fonts-cjk/fonts.css'`); without it the
63
+ * browser falls back to the system CJK faces.
64
+ */
65
+ export const CJK_FONT_FAMILIES: readonly string[] = [
66
+ 'Noto Sans JP',
67
+ 'Noto Serif JP',
68
+ 'Noto Sans SC',
69
+ 'Noto Serif SC',
70
+ 'Noto Sans TC',
71
+ 'Noto Serif TC',
72
+ 'Noto Sans KR',
73
+ 'Noto Serif KR',
74
+ ]
75
+
76
+ const isCjkSpec = (spec: string) => CJK_FONT_FAMILIES.includes(spec.split(':')[0]!)
77
+
78
+ /** Specs whose faces go into the fonts.css of @datatechsolutions/tympan-fonts-cjk. */
79
+ export const CJK_FONT_SPECS: readonly string[] = SCRIPT_FONT_SPECS.filter(isCjkSpec)
80
+
81
+ /** Every spec whose faces go into dist/fonts.css (and so tokens.css): base and non-CJK Noto. */
82
+ export const CORE_FONT_SPECS: readonly string[] = [...BASE_FONT_SPECS, ...SCRIPT_FONT_SPECS.filter((s) => !isCjkSpec(s))]
83
+
84
+ /**
85
+ * Family names that are platform faces, generic keywords or legacy aliases
86
+ * kept as fallbacks; they get no @font-face (tests check that every other
87
+ * family a theme names is bundled).
88
+ */
89
+ export const SYSTEM_FONT_FAMILIES: readonly string[] = [
90
+ 'serif', 'sans-serif', 'monospace', 'cursive', 'fantasy', 'system-ui', 'ui-monospace', 'ui-sans-serif', 'ui-serif',
91
+ '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Segoe Print', 'Roboto', 'Helvetica Neue', 'Helvetica', 'Arial',
92
+ 'Georgia', 'Times New Roman', 'Times', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New',
93
+ 'Courier', 'Palatino', 'Palatino Linotype', 'Book Antiqua', 'Garamond', 'Baskerville', 'Didot', 'Futura', 'Gill Sans',
94
+ 'Optima', 'Impact', 'Verdana', 'Tahoma', 'Trebuchet MS', 'Arial Narrow', 'Arial Black', 'Avenir', 'Avenir Next',
95
+ 'American Typewriter', 'Rockwell', 'Copperplate', 'Bodoni 72', 'Hoefler Text', 'Iowan Old Style', 'Charter',
96
+ 'Source Serif Pro',
97
+ ]
98
+
99
+ /** Shape of fonts/manifest.json (written by scripts/fetch-fonts.mjs). */
100
+ export interface FontManifest {
101
+ families: Record<string, { slug: string; version: string | null; files: number; bytes: number; license: string; licenseFile: string }>
102
+ faces: Record<string, { family: string; style: string; weights: number[]; unicodeRange: string | null; file: string; bytes: number }>
103
+ specs: Record<string, string[]>
104
+ }
105
+
106
+ /**
107
+ * @font-face rules for the faces of `specs`, with `url(<base><file>)`
108
+ * (`base` is the path from the stylesheet to the fonts/ folder), font-display
109
+ * swap and the unicode-range of each slice. Faces shared by several specs
110
+ * are declared once.
111
+ */
112
+ export function fontFaceCss(manifest: FontManifest, specs: readonly string[], base: string): string {
113
+ const ids = new Set<string>()
114
+ for (const spec of specs) {
115
+ const faces = manifest.specs[spec]
116
+ if (!faces) throw new Error(`Font spec not bundled (run scripts/fetch-fonts.mjs): ${spec}`)
117
+ for (const id of faces) ids.add(id)
118
+ }
119
+ return [...ids]
120
+ .map((id) => {
121
+ const f = manifest.faces[id]!
122
+ const lo = Math.min(...f.weights)
123
+ const hi = Math.max(...f.weights)
124
+ return [
125
+ '@font-face {',
126
+ ` font-family: '${f.family}';`,
127
+ ` font-style: ${f.style};`,
128
+ ` font-weight: ${lo === hi ? lo : `${lo} ${hi}`};`,
129
+ ' font-display: swap;',
130
+ ` src: url('${base}${f.file}') format('woff2');`,
131
+ ...(f.unicodeRange ? [` unicode-range: ${f.unicodeRange};`] : []),
132
+ '}',
133
+ ].join('\n')
134
+ })
135
+ .join('\n')
136
+ }
package/src/index.ts CHANGED
@@ -8,6 +8,7 @@ export * from './flow.ts'
8
8
  export * from './print-presets.ts'
9
9
  export * from './print-themes.ts'
10
10
  export * from './print-aliases.ts'
11
+ export * from './fonts.ts'
11
12
 
12
13
  import { presets as corePresets } from './presets.ts'
13
14
  import { printThemePresets } from './print-themes.ts'
package/src/presets.ts CHANGED
@@ -110,8 +110,10 @@ export const fakhirPreset: ThemeConfig = {
110
110
  /**
111
111
  * The Astrlabe workflow engine's look (`data-ty-theme="astrlabe"`): slate
112
112
  * neutrals, an indigo brand (indigo 500 as the accent family, one step darker
113
- * where text needs 4.5:1 on light grounds), translucent glass surfaces and the
114
- * rounder corners of that app (12 px controls, about 20 px cards). The call to
113
+ * where text needs 4.5:1 on light grounds), liquid-glass surfaces (gradient
114
+ * fills, specular edges, a strong saturation boost at night), the rounder
115
+ * corners of that app (12 px controls, 20 px cards, 24 px sheets), its
116
+ * compact type scale and the sky, indigo and violet mark. The call to
115
117
  * action is the indigo to purple gradient its primary buttons fill with, and
116
118
  * text (headings included) uses the platform's own system fonts. The state
117
119
  * contract holds on every ground: running is a cyan clearly off the indigo
@@ -142,22 +144,30 @@ export const astrlabePreset: ThemeConfig = {
142
144
  'on-brand': '#ffffff',
143
145
  bg: '#f8fafc',
144
146
  surface: 'rgb(255 255 255 / 0.72)',
145
- 'surface-raised': 'rgb(255 255 255 / 0.9)',
147
+ 'surface-raised': 'rgb(255 255 255 / 0.86)',
146
148
  'surface-solid': '#ffffff',
147
149
  'surface-raised-solid': '#ffffff',
148
- 'surface-sunken': '#f1f5f9',
149
- line: 'rgb(148 163 184 / 0.3)',
150
+ // The canvas plane: the app's pale lavender ground.
151
+ 'surface-sunken': '#f2f3fa',
152
+ // The liquid divider: slate 400 at about a quarter.
153
+ line: 'rgb(148 163 184 / 0.26)',
150
154
  'line-strong': 'rgb(100 116 139 / 0.45)',
151
155
  ink: '#0f172a',
152
- 'ink-2': '#334155',
153
- // One step darker than the old #546175 so AA holds on the glass grounds.
154
- 'ink-3': '#4d5a6b',
156
+ // Slate 600 for secondary text, as the app always had.
157
+ 'ink-2': '#475569',
158
+ // Slate 500 fails 4.5:1 on the sunken ground by a hair; this is the
159
+ // nearest slate that holds AA there.
160
+ 'ink-3': '#5b6779',
155
161
  success: '#15803d',
156
162
  // Cyan, deliberately off the indigo brand, for the running state.
157
163
  info: '#0e7490',
158
164
  warning: '#a16207',
159
165
  danger: '#be123c',
160
- neutral: '#4d5a6b',
166
+ neutral: '#5b6779',
167
+ backdrop: 'rgb(15 23 42 / 0.4)',
168
+ // The three soft colour fields behind the glass: violet above, sky below.
169
+ 'ambient-1': 'rgb(167 139 250 / 0.05)',
170
+ 'ambient-2': 'rgb(56 189 248 / 0.03)',
161
171
  },
162
172
  dark: {
163
173
  brand: '#818cf8',
@@ -165,28 +175,117 @@ export const astrlabePreset: ThemeConfig = {
165
175
  'brand-strong': '#a5b4fc',
166
176
  'brand-soft': 'rgb(99 102 241 / 0.2)',
167
177
  'on-brand': '#1e1b4b',
168
- bg: '#0b1220',
169
- surface: 'rgb(30 41 59 / 0.72)',
170
- 'surface-raised': 'rgb(30 41 59 / 0.92)',
178
+ // Slate 950, the app's night ground.
179
+ bg: '#020617',
180
+ surface: 'rgb(30 41 59 / 0.7)',
181
+ 'surface-raised': 'rgb(30 41 59 / 0.78)',
171
182
  'surface-solid': '#131c2f',
172
183
  'surface-raised-solid': '#1b2539',
173
184
  'surface-sunken': '#0b1222',
174
- line: 'rgb(148 163 184 / 0.22)',
185
+ line: 'rgb(148 163 184 / 0.24)',
175
186
  'line-strong': 'rgb(148 163 184 / 0.36)',
176
- ink: '#f8fafc',
187
+ ink: '#ffffff',
177
188
  'ink-2': '#cbd5e1',
178
- 'ink-3': '#a3b0c0',
189
+ 'ink-3': '#94a3b8',
179
190
  success: '#4ade80',
180
191
  info: '#22d3ee',
181
192
  warning: '#fbbf24',
182
193
  danger: '#fb7185',
183
- neutral: '#a3b0c0',
194
+ neutral: '#94a3b8',
195
+ backdrop: 'rgb(0 0 0 / 0.5)',
196
+ 'ambient-1': 'rgb(124 58 237 / 0.1)',
197
+ 'ambient-2': 'rgb(2 132 199 / 0.08)',
184
198
  },
185
199
  },
186
200
  ctaPins: {
187
201
  light: ['#4f46e5', '#7c3aed', '#9333ea'],
188
202
  dark: ['#4f46e5', '#7c3aed', '#9333ea'],
189
203
  },
204
+ // 12 px controls, 20 px cards and panels, 24 px dialogs and hero sheets.
205
+ radii: { card: 20, sheet: 24 },
206
+ // Glass: a light boost on light grounds (more would amplify the ambient
207
+ // tint into a grey-lavender wash), a strong one on dark grounds.
208
+ glassSaturate: { light: 1.15, dark: 1.5 },
209
+ // The liquid-glass elevation: a soft drop under every sheet, a specular
210
+ // inner highlight on its top edge, and the role-named elevation scale.
211
+ shadowPins: {
212
+ light: {
213
+ sheet: [
214
+ { x: 0, y: 4, blur: 16, spread: -2, color: 'rgb(0 0 0 / 0.1)' },
215
+ { x: 0, y: 12, blur: 40, spread: -8, color: 'rgb(0 0 0 / 0.06)' },
216
+ ],
217
+ 'sheet-inset': [
218
+ { x: 0, y: 1, blur: 2, spread: 0, color: 'rgb(255 255 255 / 0.7)', inset: true },
219
+ { x: 0, y: -1, blur: 2, spread: 0, color: 'rgb(0 0 0 / 0.04)', inset: true },
220
+ ],
221
+ raised: [
222
+ { x: 0, y: 4, blur: 12, spread: -2, color: 'rgb(15 23 42 / 0.08)' },
223
+ { x: 0, y: 2, blur: 4, spread: -2, color: 'rgb(15 23 42 / 0.04)' },
224
+ ],
225
+ floating: [
226
+ { x: 0, y: 12, blur: 24, spread: -8, color: 'rgb(15 23 42 / 0.12)' },
227
+ { x: 0, y: 4, blur: 8, spread: -4, color: 'rgb(15 23 42 / 0.06)' },
228
+ ],
229
+ modal: [
230
+ { x: 0, y: 40, blur: 100, spread: -30, color: 'rgb(0 0 0 / 0.45)' },
231
+ { x: 0, y: 16, blur: 40, spread: -12, color: 'rgb(0 0 0 / 0.18)' },
232
+ ],
233
+ },
234
+ dark: {
235
+ sheet: [{ x: 0, y: 12, blur: 40, spread: -12, color: 'rgb(0 0 0 / 0.5)' }],
236
+ 'sheet-inset': [{ x: 0, y: 1, blur: 1, spread: 0, color: 'rgb(255 255 255 / 0.12)', inset: true }],
237
+ raised: [
238
+ { x: 0, y: 4, blur: 12, spread: -2, color: 'rgb(0 0 0 / 0.5)' },
239
+ { x: 0, y: 2, blur: 4, spread: -2, color: 'rgb(0 0 0 / 0.3)' },
240
+ ],
241
+ floating: [
242
+ { x: 0, y: 12, blur: 24, spread: -8, color: 'rgb(0 0 0 / 0.6)' },
243
+ { x: 0, y: 4, blur: 8, spread: -4, color: 'rgb(0 0 0 / 0.4)' },
244
+ ],
245
+ modal: [
246
+ { x: 0, y: 40, blur: 100, spread: -30, color: 'rgb(0 0 0 / 0.7)' },
247
+ { x: 0, y: 16, blur: 40, spread: -12, color: 'rgb(0 0 0 / 0.5)' },
248
+ ],
249
+ },
250
+ },
251
+ modeStrings: {
252
+ light: {
253
+ // Lit from above: bright top and start edges, grey shaded ones (top end bottom start).
254
+ 'glass-edge': 'rgb(255 255 255 / 0.9) rgb(200 200 210 / 0.3) rgb(200 200 210 / 0.25) rgb(255 255 255 / 0.7)',
255
+ 'glass-edge-width': '1.5px',
256
+ // The inner highlight of raised and floating glass.
257
+ 'glass-highlight': 'inset 0 1px 2px 0 rgb(255 255 255 / 0.8), inset 0 -1px 2px 0 rgb(0 0 0 / 0.05)',
258
+ 'glass-fill': 'linear-gradient(135deg, rgb(255 255 255 / 0.8) 0%, rgb(220 225 240 / 0.62) 40%, rgb(240 245 255 / 0.68) 70%, rgb(255 255 255 / 0.8) 100%)',
259
+ 'glass-fill-raised': 'linear-gradient(135deg, rgb(255 255 255 / 0.86) 0%, rgb(215 220 238 / 0.7) 40%, rgb(235 240 255 / 0.76) 70%, rgb(255 255 255 / 0.86) 100%)',
260
+ 'mark-gradient': 'linear-gradient(135deg, #38bdf8 0%, #6366f1 40%, #a855f7 100%)',
261
+ 'wordmark-gradient': 'linear-gradient(90deg, #0369a1, #4338ca, #7e22ce)',
262
+ },
263
+ dark: {
264
+ 'glass-edge': 'rgb(255 255 255 / 0.2) rgb(255 255 255 / 0.06) rgb(255 255 255 / 0.04) rgb(255 255 255 / 0.12)',
265
+ 'glass-edge-width': '1.5px',
266
+ 'glass-highlight': 'inset 0 1px 1px 0 rgb(255 255 255 / 0.15)',
267
+ 'glass-fill': 'linear-gradient(140deg, rgb(30 41 59 / 0.7) 0%, rgb(15 23 42 / 0.6) 45%, rgb(20 30 50 / 0.55) 100%)',
268
+ 'glass-fill-raised': 'linear-gradient(140deg, rgb(30 41 59 / 0.78) 0%, rgb(15 23 42 / 0.68) 45%, rgb(20 30 50 / 0.62) 100%)',
269
+ 'mark-gradient': 'linear-gradient(135deg, #38bdf8 0%, #6366f1 40%, #a855f7 100%)',
270
+ 'wordmark-gradient': 'linear-gradient(90deg, #38bdf8, #818cf8, #a855f7)',
271
+ },
272
+ },
273
+ // The app's type scale: 30 px display, 24 px page titles, 18 px sections, 16 px
274
+ // sub-sections, 14 px labels, tight tracking on titles.
275
+ strings: {
276
+ // The display step is the 30 px wordmark of the sign-in screens.
277
+ 'font-size-display': '30px',
278
+ 'font-line-height-display': '36px',
279
+ 'font-size-h1': '24px',
280
+ 'font-line-height-h1': '32px',
281
+ 'font-size-h2': '18px',
282
+ 'font-line-height-h2': '28px',
283
+ 'font-size-h3': '16px',
284
+ 'font-line-height-h3': '24px',
285
+ 'font-size-label': '14px',
286
+ 'font-line-height-label': '20px',
287
+ 'font-tracking-h1': '-0.025em',
288
+ },
190
289
  // The platform's own UI fonts, headings included (no web font to fetch).
191
290
  fonts: {
192
291
  display: ['-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Noto Sans', 'Arial', 'sans-serif'],
@@ -398,7 +398,20 @@ function draftPrintTheme(style: PrintStyle, override: PrintThemeOverride = PRINT
398
398
  /** Every book style as a UI theme, in the order of `printPresets`. */
399
399
  export const printThemePresets: readonly ThemeConfig[] = (Object.values(printPresets) as PrintStyle[]).map((s) => printStyleToTheme(s))
400
400
 
401
- /** Stylesheet URL of the families of each print theme, by theme name (for ThemeProvider's `fonts`). */
401
+ /**
402
+ * Legacy: Google Fonts stylesheet URL of the families of each print theme, by
403
+ * theme name. The print theme sheets now declare the bundled fonts
404
+ * (`printThemeFontSpecs`), so ThemeProvider needs no `fonts` map; this stays
405
+ * for hosts that prefer Google's CDN.
406
+ */
402
407
  export const printThemeFontUrls: Readonly<Record<string, string>> = Object.fromEntries(
403
408
  printThemePresets.filter((t) => t.fontsUrl).map((t) => [t.name, t.fontsUrl!]),
404
409
  )
410
+
411
+ /**
412
+ * Google Fonts specs of each print theme, by theme name: the families its
413
+ * stacks name, bundled under fonts/ and declared in the theme's sheet.
414
+ */
415
+ export const printThemeFontSpecs: Readonly<Record<string, readonly string[]>> = Object.fromEntries(
416
+ (Object.values(printPresets) as PrintStyle[]).map((s) => [`${PRINT_THEME_PREFIX}${s.name}`, [...s.googleFonts]]),
417
+ )
package/src/stylesheet.ts CHANGED
@@ -120,6 +120,9 @@ export const FORCED_COLORS_VARS: VarList = [
120
120
  ['--ty-shadow-modal', 'none'],
121
121
  ['--ty-glass-blur-sheet', '0px'],
122
122
  ['--ty-glass-blur-floating', '0px'],
123
+ ['--ty-glass-edge', 'CanvasText'],
124
+ ['--ty-glass-fill', 'Canvas'],
125
+ ['--ty-glass-fill-raised', 'Canvas'],
123
126
  ]
124
127
 
125
128
  /** Reduced transparency (and no backdrop-filter support): opaque surfaces, no blur, no ambient. */
@@ -130,6 +133,8 @@ export const OPAQUE_VARS: VarList = [
130
133
  ['--ty-glass-blur-sheet', '0px !important'],
131
134
  ['--ty-glass-blur-floating', '0px !important'],
132
135
  ['--ty-glass-saturate', '1 !important'],
136
+ ['--ty-glass-fill', 'var(--ty-surface-solid) !important'],
137
+ ['--ty-glass-fill-raised', 'var(--ty-surface-raised-solid) !important'],
133
138
  ['--ty-ambient-1', 'transparent !important'],
134
139
  ['--ty-ambient-2', 'transparent !important'],
135
140
  ]
package/src/theme.ts CHANGED
@@ -70,6 +70,31 @@ export interface ThemeConfig {
70
70
  elevation?: Elevation
71
71
  /** Arbitrary string variables (e.g. for textures) */
72
72
  strings?: Record<string, string>
73
+ /**
74
+ * String variables per mode (`--ty-<name>`), for values that differ
75
+ * between light and dark: a glass edge, a fill gradient, a brand mark
76
+ * gradient. Like pins, they are exact design values: the generated
77
+ * high-contrast variant leaves them out, so components fall back.
78
+ */
79
+ modeStrings?: Partial<Record<Mode, Record<string, string>>>
80
+ /** Backdrop saturation of glass surfaces per mode (1.15 when omitted). */
81
+ glassSaturate?: Partial<Record<Mode, number>>
82
+ /** Exact shadow layers per mode, replacing the generated ones by name. */
83
+ shadowPins?: Partial<Record<Mode, Partial<Record<ShadowName, ShadowPin[]>>>>
84
+ /** Card and sheet radii in px, when they do not follow the control radius. */
85
+ radii?: Partial<Record<'card' | 'sheet', number>>
86
+ }
87
+
88
+ export type ShadowName = 'sheet' | 'raised' | 'floating' | 'modal' | 'sheet-inset'
89
+
90
+ /** One shadow layer of `shadowPins`, its colour as a CSS colour string. */
91
+ export interface ShadowPin {
92
+ x: number
93
+ y: number
94
+ blur: number
95
+ spread: number
96
+ color: string
97
+ inset?: boolean
73
98
  }
74
99
 
75
100
  export const RAMP_STEPS = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950] as const
@@ -288,7 +313,7 @@ export interface ResolvedTheme {
288
313
  colors: Record<string, Rgba>
289
314
  ramps: Record<SeedName, Record<RampStep, Rgba>>
290
315
  cta: { angle: number; stops: Rgba[] }
291
- shadows: Record<'sheet' | 'raised' | 'floating' | 'modal' | 'sheet-inset', ShadowLayer[]>
316
+ shadows: Record<ShadowName, ShadowLayer[]>
292
317
  /** Pixel dimensions (radius, glass blur, focus width). */
293
318
  dimensions: Record<string, number>
294
319
  /** Font stacks keyed by token name (`serif`, `sans`, `mono`); empty when the theme keeps the base stacks. */
@@ -471,19 +496,24 @@ export function resolveTheme(config: ThemeConfig, mode: Mode, contrastOverride?:
471
496
  }
472
497
  }
473
498
 
499
+ const shadowPins = config.shadowPins?.[mode] ?? {}
500
+ for (const [name, layers] of Object.entries(shadowPins) as Array<[ShadowName, ShadowPin[]]>) {
501
+ shadows[name] = layers.map((l) => ({ ...l, color: parseColor(l.color) }))
502
+ }
503
+
474
504
  const R = config.radius
475
505
  const dimensions: Record<string, number> = {
476
506
  radius: R,
477
507
  'radius-control': R,
478
- 'radius-card': Math.round(R * 1.6),
479
- 'radius-sheet': Math.round(R * 2.4),
508
+ 'radius-card': config.radii?.card ?? Math.round(R * 1.6),
509
+ 'radius-sheet': config.radii?.sheet ?? Math.round(R * 2.4),
480
510
  'radius-pill': 999,
481
511
  'radius-agent': Math.max(2, Math.round(R * 0.6)),
482
512
  'focus-width': contrast === 'high' ? 3 : 2,
483
513
  'glass-blur-sheet': config.glass ? 20 : 0,
484
514
  'glass-blur-floating': config.glass ? 24 : 0,
485
515
  }
486
- const numbers: Record<string, number> = { 'glass-saturate': config.glass ? 1.15 : 1 }
516
+ const numbers: Record<string, number> = { 'glass-saturate': config.glass ? (config.glassSaturate?.[mode] ?? 1.15) : 1 }
487
517
 
488
518
  const fonts: ResolvedTheme['fonts'] = {}
489
519
  for (const role of ['display', 'body', 'mono'] as const) {
@@ -491,7 +521,7 @@ export function resolveTheme(config: ThemeConfig, mode: Mode, contrastOverride?:
491
521
  if (list?.length) fonts[FONT_ROLE_TOKENS[role]] = [...list]
492
522
  }
493
523
 
494
- return { name: config.name, mode, contrast, colors, ramps, cta: { angle: 135, stops: ctaStops }, shadows, dimensions, numbers, fonts, strings: config.strings ?? {}, report }
524
+ return { name: config.name, mode, contrast, colors, ramps, cta: { angle: 135, stops: ctaStops }, shadows, dimensions, numbers, fonts, strings: { ...config.strings, ...(contrast === config.contrast ? config.modeStrings?.[mode] : undefined) }, report }
495
525
  }
496
526
 
497
527
  // ---------------------------------------------------------------------------