@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.
- package/README.md +53 -13
- package/THIRD_PARTY_NOTICES.md +103 -0
- package/dist/contrast-report.md +95 -95
- package/dist/dtcg/astrlabe.dark-high.tokens.json +99 -43
- package/dist/dtcg/astrlabe.dark.tokens.json +137 -81
- package/dist/dtcg/astrlabe.light-high.tokens.json +146 -33
- package/dist/dtcg/astrlabe.light.tokens.json +211 -98
- package/dist/fonts.css +1273 -0
- package/dist/index.d.ts +91 -4
- package/dist/index.js +368 -22
- package/dist/index.js.map +1 -1
- package/dist/print-themes/print-aquarela.css +241 -0
- package/dist/print-themes/print-art-nouveau.css +121 -0
- package/dist/print-themes/print-atlas-oficial.css +249 -0
- package/dist/print-themes/print-azulejo-modernista.css +49 -0
- package/dist/print-themes/print-bauhaus.css +49 -0
- package/dist/print-themes/print-blocos-coloridos.css +129 -0
- package/dist/print-themes/print-brutalista.css +273 -0
- package/dist/print-themes/print-caderno.css +185 -0
- package/dist/print-themes/print-cartao-postal.css +161 -0
- package/dist/print-themes/print-cientifico.css +161 -0
- package/dist/print-themes/print-concretismo.css +193 -0
- package/dist/print-themes/print-construtivismo.css +201 -0
- package/dist/print-themes/print-cordel.css +265 -0
- package/dist/print-themes/print-dados-br.css +257 -0
- package/dist/print-themes/print-dashboard.css +273 -0
- package/dist/print-themes/print-diagrama-modernista.css +73 -0
- package/dist/print-themes/print-divulgacao.css +97 -0
- package/dist/print-themes/print-fluxo-historico.css +145 -0
- package/dist/print-themes/print-grade-holandesa.css +57 -0
- package/dist/print-themes/print-graficos-1900.css +241 -0
- package/dist/print-themes/print-infografico-ilustrado.css +177 -0
- package/dist/print-themes/print-isotype.css +49 -0
- package/dist/print-themes/print-jornal-1959.css +161 -0
- package/dist/print-themes/print-jornal.css +209 -0
- package/dist/print-themes/print-mapa-de-metro.css +57 -0
- package/dist/print-themes/print-memphis.css +121 -0
- package/dist/print-themes/print-minimo-de-tinta.css +193 -0
- package/dist/print-themes/print-papel-recortado.css +65 -0
- package/dist/print-themes/print-papel-salmao.css +145 -0
- package/dist/print-themes/print-pictogramas.css +33 -0
- package/dist/print-themes/print-pop-art.css +81 -0
- package/dist/print-themes/print-prancheta-clara.css +185 -0
- package/dist/print-themes/print-prancheta.css +185 -0
- package/dist/print-themes/print-proporcao-modular.css +73 -0
- package/dist/print-themes/print-riso.css +97 -0
- package/dist/print-themes/print-semanario.css +377 -0
- package/dist/print-themes/print-sinalizacao.css +97 -0
- package/dist/print-themes/print-suico.css +129 -0
- package/dist/print-themes/print-tropicalia.css +73 -0
- package/dist/print-themes.css +3913 -0
- package/dist/tokens.css +248 -124
- package/dist/tokens.json +124 -66
- package/dist/values.js +124 -66
- package/fonts/albertsans/OFL.txt +93 -0
- package/fonts/albertsans/albertsans-italic-latin-ext.woff2 +0 -0
- package/fonts/albertsans/albertsans-italic-latin.woff2 +0 -0
- package/fonts/albertsans/albertsans-normal-latin-ext.woff2 +0 -0
- package/fonts/albertsans/albertsans-normal-latin.woff2 +0 -0
- package/fonts/alegreya/OFL.txt +93 -0
- package/fonts/alegreya/alegreya-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/alegreya/alegreya-italic-cyrillic.woff2 +0 -0
- package/fonts/alegreya/alegreya-italic-greek-ext.woff2 +0 -0
- package/fonts/alegreya/alegreya-italic-greek.woff2 +0 -0
- package/fonts/alegreya/alegreya-italic-latin-ext.woff2 +0 -0
- package/fonts/alegreya/alegreya-italic-latin.woff2 +0 -0
- package/fonts/alegreya/alegreya-italic-vietnamese.woff2 +0 -0
- package/fonts/alegreya/alegreya-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/alegreya/alegreya-normal-cyrillic.woff2 +0 -0
- package/fonts/alegreya/alegreya-normal-greek-ext.woff2 +0 -0
- package/fonts/alegreya/alegreya-normal-greek.woff2 +0 -0
- package/fonts/alegreya/alegreya-normal-latin-ext.woff2 +0 -0
- package/fonts/alegreya/alegreya-normal-latin.woff2 +0 -0
- package/fonts/alegreya/alegreya-normal-vietnamese.woff2 +0 -0
- package/fonts/alegreyasc/OFL.txt +93 -0
- package/fonts/alegreyasc/alegreyasc-normal-cyrillic-500.woff2 +0 -0
- package/fonts/alegreyasc/alegreyasc-normal-cyrillic-700.woff2 +0 -0
- package/fonts/alegreyasc/alegreyasc-normal-cyrillic-ext-500.woff2 +0 -0
- package/fonts/alegreyasc/alegreyasc-normal-cyrillic-ext-700.woff2 +0 -0
- package/fonts/alegreyasc/alegreyasc-normal-greek-500.woff2 +0 -0
- package/fonts/alegreyasc/alegreyasc-normal-greek-700.woff2 +0 -0
- package/fonts/alegreyasc/alegreyasc-normal-greek-ext-500.woff2 +0 -0
- package/fonts/alegreyasc/alegreyasc-normal-greek-ext-700.woff2 +0 -0
- package/fonts/alegreyasc/alegreyasc-normal-latin-500.woff2 +0 -0
- package/fonts/alegreyasc/alegreyasc-normal-latin-700.woff2 +0 -0
- package/fonts/alegreyasc/alegreyasc-normal-latin-ext-500.woff2 +0 -0
- package/fonts/alegreyasc/alegreyasc-normal-latin-ext-700.woff2 +0 -0
- package/fonts/alegreyasc/alegreyasc-normal-vietnamese-500.woff2 +0 -0
- package/fonts/alegreyasc/alegreyasc-normal-vietnamese-700.woff2 +0 -0
- package/fonts/alfaslabone/OFL.txt +93 -0
- package/fonts/alfaslabone/alfaslabone-normal-latin-ext.woff2 +0 -0
- package/fonts/alfaslabone/alfaslabone-normal-latin.woff2 +0 -0
- package/fonts/alfaslabone/alfaslabone-normal-vietnamese.woff2 +0 -0
- package/fonts/allertastencil/OFL.txt +94 -0
- package/fonts/allertastencil/allertastencil-normal-latin.woff2 +0 -0
- package/fonts/archivo/OFL.txt +93 -0
- package/fonts/archivo/archivo-italic-latin-400-000.woff2 +0 -0
- package/fonts/archivo/archivo-italic-latin-400-001.woff2 +0 -0
- package/fonts/archivo/archivo-italic-latin-ext-400-000.woff2 +0 -0
- package/fonts/archivo/archivo-italic-latin-ext-400-001.woff2 +0 -0
- package/fonts/archivo/archivo-italic-vietnamese-400-000.woff2 +0 -0
- package/fonts/archivo/archivo-italic-vietnamese-400-001.woff2 +0 -0
- package/fonts/archivo/archivo-normal-latin-400_500_600_700_800.woff2 +0 -0
- package/fonts/archivo/archivo-normal-latin-400_600.woff2 +0 -0
- package/fonts/archivo/archivo-normal-latin-ext-400_500_600_700_800.woff2 +0 -0
- package/fonts/archivo/archivo-normal-latin-ext-400_600.woff2 +0 -0
- package/fonts/archivo/archivo-normal-vietnamese-400_500_600_700_800.woff2 +0 -0
- package/fonts/archivo/archivo-normal-vietnamese-400_600.woff2 +0 -0
- package/fonts/archivoblack/OFL.txt +93 -0
- package/fonts/archivoblack/archivoblack-normal-latin-ext.woff2 +0 -0
- package/fonts/archivoblack/archivoblack-normal-latin.woff2 +0 -0
- package/fonts/arimo/OFL.txt +93 -0
- package/fonts/arimo/arimo-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/arimo/arimo-normal-cyrillic.woff2 +0 -0
- package/fonts/arimo/arimo-normal-greek-ext.woff2 +0 -0
- package/fonts/arimo/arimo-normal-greek.woff2 +0 -0
- package/fonts/arimo/arimo-normal-hebrew.woff2 +0 -0
- package/fonts/arimo/arimo-normal-latin-ext.woff2 +0 -0
- package/fonts/arimo/arimo-normal-latin.woff2 +0 -0
- package/fonts/arimo/arimo-normal-vietnamese.woff2 +0 -0
- package/fonts/bangers/OFL.txt +93 -0
- package/fonts/bangers/bangers-normal-latin-ext.woff2 +0 -0
- package/fonts/bangers/bangers-normal-latin.woff2 +0 -0
- package/fonts/bangers/bangers-normal-vietnamese.woff2 +0 -0
- package/fonts/barlow/OFL.txt +93 -0
- package/fonts/barlow/barlow-italic-latin-ext.woff2 +0 -0
- package/fonts/barlow/barlow-italic-latin.woff2 +0 -0
- package/fonts/barlow/barlow-italic-vietnamese.woff2 +0 -0
- package/fonts/barlow/barlow-normal-latin-400.woff2 +0 -0
- package/fonts/barlow/barlow-normal-latin-500.woff2 +0 -0
- package/fonts/barlow/barlow-normal-latin-600.woff2 +0 -0
- package/fonts/barlow/barlow-normal-latin-700.woff2 +0 -0
- package/fonts/barlow/barlow-normal-latin-800.woff2 +0 -0
- package/fonts/barlow/barlow-normal-latin-ext-400.woff2 +0 -0
- package/fonts/barlow/barlow-normal-latin-ext-500.woff2 +0 -0
- package/fonts/barlow/barlow-normal-latin-ext-600.woff2 +0 -0
- package/fonts/barlow/barlow-normal-latin-ext-700.woff2 +0 -0
- package/fonts/barlow/barlow-normal-latin-ext-800.woff2 +0 -0
- package/fonts/barlow/barlow-normal-vietnamese-400.woff2 +0 -0
- package/fonts/barlow/barlow-normal-vietnamese-500.woff2 +0 -0
- package/fonts/barlow/barlow-normal-vietnamese-600.woff2 +0 -0
- package/fonts/barlow/barlow-normal-vietnamese-700.woff2 +0 -0
- package/fonts/barlow/barlow-normal-vietnamese-800.woff2 +0 -0
- package/fonts/barlowcondensed/OFL.txt +93 -0
- package/fonts/barlowcondensed/barlowcondensed-normal-latin-500.woff2 +0 -0
- package/fonts/barlowcondensed/barlowcondensed-normal-latin-600.woff2 +0 -0
- package/fonts/barlowcondensed/barlowcondensed-normal-latin-ext-500.woff2 +0 -0
- package/fonts/barlowcondensed/barlowcondensed-normal-latin-ext-600.woff2 +0 -0
- package/fonts/barlowcondensed/barlowcondensed-normal-vietnamese-500.woff2 +0 -0
- package/fonts/barlowcondensed/barlowcondensed-normal-vietnamese-600.woff2 +0 -0
- package/fonts/bricolagegrotesque/OFL.txt +93 -0
- package/fonts/bricolagegrotesque/bricolagegrotesque-normal-latin-ext.woff2 +0 -0
- package/fonts/bricolagegrotesque/bricolagegrotesque-normal-latin.woff2 +0 -0
- package/fonts/bricolagegrotesque/bricolagegrotesque-normal-vietnamese.woff2 +0 -0
- package/fonts/bungee/OFL.txt +93 -0
- package/fonts/bungee/bungee-normal-latin-ext.woff2 +0 -0
- package/fonts/bungee/bungee-normal-latin.woff2 +0 -0
- package/fonts/bungee/bungee-normal-vietnamese.woff2 +0 -0
- package/fonts/caveat/OFL.txt +93 -0
- package/fonts/caveat/caveat-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/caveat/caveat-normal-cyrillic.woff2 +0 -0
- package/fonts/caveat/caveat-normal-latin-ext.woff2 +0 -0
- package/fonts/caveat/caveat-normal-latin.woff2 +0 -0
- package/fonts/comicneue/OFL.txt +93 -0
- package/fonts/comicneue/comicneue-normal-latin-400.woff2 +0 -0
- package/fonts/comicneue/comicneue-normal-latin-700.woff2 +0 -0
- package/fonts/cormorantgaramond/OFL.txt +93 -0
- package/fonts/cormorantgaramond/cormorantgaramond-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/cormorantgaramond/cormorantgaramond-italic-cyrillic.woff2 +0 -0
- package/fonts/cormorantgaramond/cormorantgaramond-italic-latin-ext.woff2 +0 -0
- package/fonts/cormorantgaramond/cormorantgaramond-italic-latin.woff2 +0 -0
- package/fonts/cormorantgaramond/cormorantgaramond-italic-vietnamese.woff2 +0 -0
- package/fonts/cormorantgaramond/cormorantgaramond-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/cormorantgaramond/cormorantgaramond-normal-cyrillic.woff2 +0 -0
- package/fonts/cormorantgaramond/cormorantgaramond-normal-latin-ext.woff2 +0 -0
- package/fonts/cormorantgaramond/cormorantgaramond-normal-latin.woff2 +0 -0
- package/fonts/cormorantgaramond/cormorantgaramond-normal-vietnamese.woff2 +0 -0
- package/fonts/courierprime/OFL.txt +93 -0
- package/fonts/courierprime/courierprime-normal-latin-400.woff2 +0 -0
- package/fonts/courierprime/courierprime-normal-latin-700.woff2 +0 -0
- package/fonts/courierprime/courierprime-normal-latin-ext-400.woff2 +0 -0
- package/fonts/courierprime/courierprime-normal-latin-ext-700.woff2 +0 -0
- package/fonts/crimsonpro/OFL.txt +93 -0
- package/fonts/crimsonpro/crimsonpro-italic-latin-ext.woff2 +0 -0
- package/fonts/crimsonpro/crimsonpro-italic-latin.woff2 +0 -0
- package/fonts/crimsonpro/crimsonpro-italic-vietnamese.woff2 +0 -0
- package/fonts/crimsonpro/crimsonpro-normal-latin-ext.woff2 +0 -0
- package/fonts/crimsonpro/crimsonpro-normal-latin.woff2 +0 -0
- package/fonts/crimsonpro/crimsonpro-normal-vietnamese.woff2 +0 -0
- package/fonts/dmserifdisplay/OFL.txt +93 -0
- package/fonts/dmserifdisplay/dmserifdisplay-italic-latin-ext.woff2 +0 -0
- package/fonts/dmserifdisplay/dmserifdisplay-italic-latin.woff2 +0 -0
- package/fonts/dmserifdisplay/dmserifdisplay-normal-latin-ext.woff2 +0 -0
- package/fonts/dmserifdisplay/dmserifdisplay-normal-latin.woff2 +0 -0
- package/fonts/ebgaramond/OFL.txt +93 -0
- package/fonts/ebgaramond/ebgaramond-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/ebgaramond/ebgaramond-italic-cyrillic.woff2 +0 -0
- package/fonts/ebgaramond/ebgaramond-italic-greek-ext.woff2 +0 -0
- package/fonts/ebgaramond/ebgaramond-italic-greek.woff2 +0 -0
- package/fonts/ebgaramond/ebgaramond-italic-latin-ext.woff2 +0 -0
- package/fonts/ebgaramond/ebgaramond-italic-latin.woff2 +0 -0
- package/fonts/ebgaramond/ebgaramond-italic-vietnamese.woff2 +0 -0
- package/fonts/ebgaramond/ebgaramond-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/ebgaramond/ebgaramond-normal-cyrillic.woff2 +0 -0
- package/fonts/ebgaramond/ebgaramond-normal-greek-ext.woff2 +0 -0
- package/fonts/ebgaramond/ebgaramond-normal-greek.woff2 +0 -0
- package/fonts/ebgaramond/ebgaramond-normal-latin-ext.woff2 +0 -0
- package/fonts/ebgaramond/ebgaramond-normal-latin.woff2 +0 -0
- package/fonts/ebgaramond/ebgaramond-normal-vietnamese.woff2 +0 -0
- package/fonts/federo/OFL.txt +94 -0
- package/fonts/federo/federo-normal-latin.woff2 +0 -0
- package/fonts/firasanscondensed/OFL.txt +93 -0
- package/fonts/firasanscondensed/firasanscondensed-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-italic-cyrillic.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-italic-greek-ext.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-italic-greek.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-italic-latin-ext.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-italic-latin.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-italic-vietnamese.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-400.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-500.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-600.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-700.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-ext-400.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-ext-500.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-ext-600.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-cyrillic-ext-700.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-greek-400.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-greek-500.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-greek-600.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-greek-700.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-greek-ext-400.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-greek-ext-500.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-greek-ext-600.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-greek-ext-700.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-latin-400.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-latin-500.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-latin-600.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-latin-700.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-latin-ext-400.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-latin-ext-500.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-latin-ext-600.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-latin-ext-700.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-vietnamese-400.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-vietnamese-500.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-vietnamese-600.woff2 +0 -0
- package/fonts/firasanscondensed/firasanscondensed-normal-vietnamese-700.woff2 +0 -0
- package/fonts/gelasio/OFL.txt +93 -0
- package/fonts/gelasio/gelasio-italic-latin-ext.woff2 +0 -0
- package/fonts/gelasio/gelasio-italic-latin.woff2 +0 -0
- package/fonts/gelasio/gelasio-italic-vietnamese.woff2 +0 -0
- package/fonts/gelasio/gelasio-normal-latin-ext.woff2 +0 -0
- package/fonts/gelasio/gelasio-normal-latin.woff2 +0 -0
- package/fonts/gelasio/gelasio-normal-vietnamese.woff2 +0 -0
- package/fonts/gochihand/OFL.txt +94 -0
- package/fonts/gochihand/gochihand-normal-latin.woff2 +0 -0
- package/fonts/hankengrotesk/OFL.txt +94 -0
- package/fonts/hankengrotesk/hankengrotesk-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/hankengrotesk/hankengrotesk-italic-latin-ext.woff2 +0 -0
- package/fonts/hankengrotesk/hankengrotesk-italic-latin.woff2 +0 -0
- package/fonts/hankengrotesk/hankengrotesk-italic-vietnamese.woff2 +0 -0
- package/fonts/hankengrotesk/hankengrotesk-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/hankengrotesk/hankengrotesk-normal-latin-ext.woff2 +0 -0
- package/fonts/hankengrotesk/hankengrotesk-normal-latin.woff2 +0 -0
- package/fonts/hankengrotesk/hankengrotesk-normal-vietnamese.woff2 +0 -0
- package/fonts/hind/OFL.txt +93 -0
- package/fonts/hind/hind-normal-devanagari-400.woff2 +0 -0
- package/fonts/hind/hind-normal-devanagari-500.woff2 +0 -0
- package/fonts/hind/hind-normal-devanagari-600.woff2 +0 -0
- package/fonts/hind/hind-normal-devanagari-700.woff2 +0 -0
- package/fonts/hind/hind-normal-latin-400.woff2 +0 -0
- package/fonts/hind/hind-normal-latin-500.woff2 +0 -0
- package/fonts/hind/hind-normal-latin-600.woff2 +0 -0
- package/fonts/hind/hind-normal-latin-700.woff2 +0 -0
- package/fonts/hind/hind-normal-latin-ext-400.woff2 +0 -0
- package/fonts/hind/hind-normal-latin-ext-500.woff2 +0 -0
- package/fonts/hind/hind-normal-latin-ext-600.woff2 +0 -0
- package/fonts/hind/hind-normal-latin-ext-700.woff2 +0 -0
- package/fonts/ibmplexmono/OFL.txt +93 -0
- package/fonts/ibmplexmono/ibmplexmono-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-italic-cyrillic.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-italic-latin-ext.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-italic-latin.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-italic-vietnamese.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-400.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-500.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-600.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-700.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-ext-400.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-ext-500.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-ext-600.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-cyrillic-ext-700.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-latin-400.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-latin-500.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-latin-600.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-latin-700.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-latin-ext-400.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-latin-ext-500.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-latin-ext-600.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-latin-ext-700.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-vietnamese-400.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-vietnamese-500.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-vietnamese-600.woff2 +0 -0
- package/fonts/ibmplexmono/ibmplexmono-normal-vietnamese-700.woff2 +0 -0
- package/fonts/ibmplexsans/OFL.txt +93 -0
- package/fonts/ibmplexsans/ibmplexsans-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/ibmplexsans/ibmplexsans-italic-cyrillic.woff2 +0 -0
- package/fonts/ibmplexsans/ibmplexsans-italic-greek.woff2 +0 -0
- package/fonts/ibmplexsans/ibmplexsans-italic-latin-ext.woff2 +0 -0
- package/fonts/ibmplexsans/ibmplexsans-italic-latin.woff2 +0 -0
- package/fonts/ibmplexsans/ibmplexsans-italic-vietnamese.woff2 +0 -0
- package/fonts/ibmplexsans/ibmplexsans-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/ibmplexsans/ibmplexsans-normal-cyrillic.woff2 +0 -0
- package/fonts/ibmplexsans/ibmplexsans-normal-greek.woff2 +0 -0
- package/fonts/ibmplexsans/ibmplexsans-normal-latin-ext.woff2 +0 -0
- package/fonts/ibmplexsans/ibmplexsans-normal-latin.woff2 +0 -0
- package/fonts/ibmplexsans/ibmplexsans-normal-vietnamese.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/OFL.txt +93 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-italic-latin-ext.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-italic-latin.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-italic-vietnamese.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-cyrillic-ext-400.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-cyrillic-ext-500.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-cyrillic-ext-600.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-cyrillic-ext-700.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-400.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-500.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-600.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-700.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-ext-400.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-ext-500.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-ext-600.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-latin-ext-700.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-vietnamese-400.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-vietnamese-500.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-vietnamese-600.woff2 +0 -0
- package/fonts/ibmplexsanscondensed/ibmplexsanscondensed-normal-vietnamese-700.woff2 +0 -0
- package/fonts/ibmplexserif/OFL.txt +93 -0
- package/fonts/ibmplexserif/ibmplexserif-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/ibmplexserif/ibmplexserif-italic-cyrillic.woff2 +0 -0
- package/fonts/ibmplexserif/ibmplexserif-italic-latin-ext.woff2 +0 -0
- package/fonts/ibmplexserif/ibmplexserif-italic-latin.woff2 +0 -0
- package/fonts/ibmplexserif/ibmplexserif-italic-vietnamese.woff2 +0 -0
- package/fonts/ibmplexserif/ibmplexserif-normal-cyrillic-400.woff2 +0 -0
- package/fonts/ibmplexserif/ibmplexserif-normal-cyrillic-600.woff2 +0 -0
- package/fonts/ibmplexserif/ibmplexserif-normal-cyrillic-ext-400.woff2 +0 -0
- package/fonts/ibmplexserif/ibmplexserif-normal-cyrillic-ext-600.woff2 +0 -0
- package/fonts/ibmplexserif/ibmplexserif-normal-latin-400.woff2 +0 -0
- package/fonts/ibmplexserif/ibmplexserif-normal-latin-600.woff2 +0 -0
- package/fonts/ibmplexserif/ibmplexserif-normal-latin-ext-400.woff2 +0 -0
- package/fonts/ibmplexserif/ibmplexserif-normal-latin-ext-600.woff2 +0 -0
- package/fonts/ibmplexserif/ibmplexserif-normal-vietnamese-400.woff2 +0 -0
- package/fonts/ibmplexserif/ibmplexserif-normal-vietnamese-600.woff2 +0 -0
- package/fonts/imfellenglish/OFL.txt +93 -0
- package/fonts/imfellenglish/imfellenglish-italic-latin.woff2 +0 -0
- package/fonts/imfellenglish/imfellenglish-normal-latin.woff2 +0 -0
- package/fonts/imfellenglishsc/OFL.txt +93 -0
- package/fonts/imfellenglishsc/imfellenglishsc-normal-latin.woff2 +0 -0
- package/fonts/inter/OFL.txt +93 -0
- package/fonts/inter/inter-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/inter/inter-normal-cyrillic.woff2 +0 -0
- package/fonts/inter/inter-normal-greek-ext.woff2 +0 -0
- package/fonts/inter/inter-normal-greek.woff2 +0 -0
- package/fonts/inter/inter-normal-latin-ext.woff2 +0 -0
- package/fonts/inter/inter-normal-latin.woff2 +0 -0
- package/fonts/inter/inter-normal-vietnamese.woff2 +0 -0
- package/fonts/jost/OFL.txt +93 -0
- package/fonts/jost/jost-italic-cyrillic.woff2 +0 -0
- package/fonts/jost/jost-italic-latin-ext.woff2 +0 -0
- package/fonts/jost/jost-italic-latin.woff2 +0 -0
- package/fonts/jost/jost-normal-cyrillic.woff2 +0 -0
- package/fonts/jost/jost-normal-latin-ext.woff2 +0 -0
- package/fonts/jost/jost-normal-latin.woff2 +0 -0
- package/fonts/kalam/OFL.txt +93 -0
- package/fonts/kalam/kalam-normal-devanagari-400.woff2 +0 -0
- package/fonts/kalam/kalam-normal-devanagari-700.woff2 +0 -0
- package/fonts/kalam/kalam-normal-latin-400.woff2 +0 -0
- package/fonts/kalam/kalam-normal-latin-700.woff2 +0 -0
- package/fonts/kalam/kalam-normal-latin-ext-400.woff2 +0 -0
- package/fonts/kalam/kalam-normal-latin-ext-700.woff2 +0 -0
- package/fonts/lato/OFL.txt +93 -0
- package/fonts/lato/lato-italic-latin-ext.woff2 +0 -0
- package/fonts/lato/lato-italic-latin.woff2 +0 -0
- package/fonts/lato/lato-normal-latin-400.woff2 +0 -0
- package/fonts/lato/lato-normal-latin-700.woff2 +0 -0
- package/fonts/lato/lato-normal-latin-ext-400.woff2 +0 -0
- package/fonts/lato/lato-normal-latin-ext-700.woff2 +0 -0
- package/fonts/leaguespartan/OFL.txt +93 -0
- package/fonts/leaguespartan/leaguespartan-normal-latin-ext.woff2 +0 -0
- package/fonts/leaguespartan/leaguespartan-normal-latin.woff2 +0 -0
- package/fonts/leaguespartan/leaguespartan-normal-vietnamese.woff2 +0 -0
- package/fonts/librebodoni/OFL.txt +93 -0
- package/fonts/librebodoni/librebodoni-normal-latin-ext.woff2 +0 -0
- package/fonts/librebodoni/librebodoni-normal-latin.woff2 +0 -0
- package/fonts/librebodoni/librebodoni-normal-vietnamese.woff2 +0 -0
- package/fonts/librefranklin/OFL.txt +93 -0
- package/fonts/librefranklin/librefranklin-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/librefranklin/librefranklin-italic-cyrillic.woff2 +0 -0
- package/fonts/librefranklin/librefranklin-italic-latin-ext.woff2 +0 -0
- package/fonts/librefranklin/librefranklin-italic-latin.woff2 +0 -0
- package/fonts/librefranklin/librefranklin-italic-vietnamese.woff2 +0 -0
- package/fonts/librefranklin/librefranklin-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/librefranklin/librefranklin-normal-cyrillic.woff2 +0 -0
- package/fonts/librefranklin/librefranklin-normal-latin-ext.woff2 +0 -0
- package/fonts/librefranklin/librefranklin-normal-latin.woff2 +0 -0
- package/fonts/librefranklin/librefranklin-normal-vietnamese.woff2 +0 -0
- package/fonts/literata/OFL.txt +93 -0
- package/fonts/literata/literata-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/literata/literata-italic-cyrillic.woff2 +0 -0
- package/fonts/literata/literata-italic-greek-ext.woff2 +0 -0
- package/fonts/literata/literata-italic-greek.woff2 +0 -0
- package/fonts/literata/literata-italic-latin-ext.woff2 +0 -0
- package/fonts/literata/literata-italic-latin.woff2 +0 -0
- package/fonts/literata/literata-italic-vietnamese.woff2 +0 -0
- package/fonts/literata/literata-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/literata/literata-normal-cyrillic.woff2 +0 -0
- package/fonts/literata/literata-normal-greek-ext.woff2 +0 -0
- package/fonts/literata/literata-normal-greek.woff2 +0 -0
- package/fonts/literata/literata-normal-latin-ext.woff2 +0 -0
- package/fonts/literata/literata-normal-latin.woff2 +0 -0
- package/fonts/literata/literata-normal-vietnamese.woff2 +0 -0
- package/fonts/londrinasolid/OFL.txt +93 -0
- package/fonts/londrinasolid/londrinasolid-normal-latin-400.woff2 +0 -0
- package/fonts/londrinasolid/londrinasolid-normal-latin-900.woff2 +0 -0
- package/fonts/majormonodisplay/OFL.txt +93 -0
- package/fonts/majormonodisplay/majormonodisplay-normal-latin-ext.woff2 +0 -0
- package/fonts/majormonodisplay/majormonodisplay-normal-latin.woff2 +0 -0
- package/fonts/majormonodisplay/majormonodisplay-normal-vietnamese.woff2 +0 -0
- package/fonts/manifest.json +9084 -0
- package/fonts/montserrat/OFL.txt +93 -0
- package/fonts/montserrat/montserrat-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/montserrat/montserrat-italic-cyrillic.woff2 +0 -0
- package/fonts/montserrat/montserrat-italic-latin-ext.woff2 +0 -0
- package/fonts/montserrat/montserrat-italic-latin.woff2 +0 -0
- package/fonts/montserrat/montserrat-italic-vietnamese.woff2 +0 -0
- package/fonts/montserrat/montserrat-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/montserrat/montserrat-normal-cyrillic.woff2 +0 -0
- package/fonts/montserrat/montserrat-normal-latin-ext.woff2 +0 -0
- package/fonts/montserrat/montserrat-normal-latin.woff2 +0 -0
- package/fonts/montserrat/montserrat-normal-vietnamese.woff2 +0 -0
- package/fonts/newsreader/OFL.txt +93 -0
- package/fonts/newsreader/newsreader-italic-latin-ext.woff2 +0 -0
- package/fonts/newsreader/newsreader-italic-latin.woff2 +0 -0
- package/fonts/newsreader/newsreader-italic-vietnamese.woff2 +0 -0
- package/fonts/newsreader/newsreader-normal-latin-ext.woff2 +0 -0
- package/fonts/newsreader/newsreader-normal-latin.woff2 +0 -0
- package/fonts/newsreader/newsreader-normal-vietnamese.woff2 +0 -0
- package/fonts/notonaskharabic/OFL.txt +93 -0
- package/fonts/notonaskharabic/notonaskharabic-normal-arabic.woff2 +0 -0
- package/fonts/notonaskharabic/notonaskharabic-normal-latin-ext.woff2 +0 -0
- package/fonts/notonaskharabic/notonaskharabic-normal-latin.woff2 +0 -0
- package/fonts/notonaskharabic/notonaskharabic-normal-math.woff2 +0 -0
- package/fonts/notonaskharabic/notonaskharabic-normal-symbols.woff2 +0 -0
- package/fonts/notosans/OFL.txt +93 -0
- package/fonts/notosans/notosans-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/notosans/notosans-normal-cyrillic.woff2 +0 -0
- package/fonts/notosans/notosans-normal-devanagari.woff2 +0 -0
- package/fonts/notosans/notosans-normal-greek-ext.woff2 +0 -0
- package/fonts/notosans/notosans-normal-greek.woff2 +0 -0
- package/fonts/notosans/notosans-normal-latin-ext.woff2 +0 -0
- package/fonts/notosans/notosans-normal-latin.woff2 +0 -0
- package/fonts/notosans/notosans-normal-vietnamese.woff2 +0 -0
- package/fonts/notosansarabic/OFL.txt +93 -0
- package/fonts/notosansarabic/notosansarabic-normal-arabic.woff2 +0 -0
- package/fonts/notosansarabic/notosansarabic-normal-latin-ext.woff2 +0 -0
- package/fonts/notosansarabic/notosansarabic-normal-latin.woff2 +0 -0
- package/fonts/notosansarabic/notosansarabic-normal-math.woff2 +0 -0
- package/fonts/notosansarabic/notosansarabic-normal-symbols.woff2 +0 -0
- package/fonts/notosansarmenian/OFL.txt +93 -0
- package/fonts/notosansarmenian/notosansarmenian-normal-armenian.woff2 +0 -0
- package/fonts/notosansarmenian/notosansarmenian-normal-latin-ext.woff2 +0 -0
- package/fonts/notosansarmenian/notosansarmenian-normal-latin.woff2 +0 -0
- package/fonts/notosansbengali/OFL.txt +93 -0
- package/fonts/notosansbengali/notosansbengali-normal-bengali.woff2 +0 -0
- package/fonts/notosansbengali/notosansbengali-normal-latin-ext.woff2 +0 -0
- package/fonts/notosansbengali/notosansbengali-normal-latin.woff2 +0 -0
- package/fonts/notosansdevanagari/OFL.txt +93 -0
- package/fonts/notosansdevanagari/notosansdevanagari-normal-devanagari.woff2 +0 -0
- package/fonts/notosansdevanagari/notosansdevanagari-normal-latin-ext.woff2 +0 -0
- package/fonts/notosansdevanagari/notosansdevanagari-normal-latin.woff2 +0 -0
- package/fonts/notosansethiopic/OFL.txt +93 -0
- package/fonts/notosansethiopic/notosansethiopic-normal-ethiopic.woff2 +0 -0
- package/fonts/notosansethiopic/notosansethiopic-normal-latin-ext.woff2 +0 -0
- package/fonts/notosansethiopic/notosansethiopic-normal-latin.woff2 +0 -0
- package/fonts/notosansgeorgian/OFL.txt +93 -0
- package/fonts/notosansgeorgian/notosansgeorgian-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/notosansgeorgian/notosansgeorgian-normal-georgian.woff2 +0 -0
- package/fonts/notosansgeorgian/notosansgeorgian-normal-greek-ext.woff2 +0 -0
- package/fonts/notosansgeorgian/notosansgeorgian-normal-latin-ext.woff2 +0 -0
- package/fonts/notosansgeorgian/notosansgeorgian-normal-latin.woff2 +0 -0
- package/fonts/notosansgeorgian/notosansgeorgian-normal-math.woff2 +0 -0
- package/fonts/notosansgeorgian/notosansgeorgian-normal-symbols.woff2 +0 -0
- package/fonts/notosansgujarati/OFL.txt +93 -0
- package/fonts/notosansgujarati/notosansgujarati-normal-gujarati.woff2 +0 -0
- package/fonts/notosansgujarati/notosansgujarati-normal-latin-ext.woff2 +0 -0
- package/fonts/notosansgujarati/notosansgujarati-normal-latin.woff2 +0 -0
- package/fonts/notosansgujarati/notosansgujarati-normal-math.woff2 +0 -0
- package/fonts/notosansgujarati/notosansgujarati-normal-symbols.woff2 +0 -0
- package/fonts/notosansgurmukhi/OFL.txt +93 -0
- package/fonts/notosansgurmukhi/notosansgurmukhi-normal-gurmukhi.woff2 +0 -0
- package/fonts/notosansgurmukhi/notosansgurmukhi-normal-latin-ext.woff2 +0 -0
- package/fonts/notosansgurmukhi/notosansgurmukhi-normal-latin.woff2 +0 -0
- package/fonts/notosanshebrew/OFL.txt +93 -0
- package/fonts/notosanshebrew/notosanshebrew-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/notosanshebrew/notosanshebrew-normal-greek-ext.woff2 +0 -0
- package/fonts/notosanshebrew/notosanshebrew-normal-hebrew.woff2 +0 -0
- package/fonts/notosanshebrew/notosanshebrew-normal-latin-ext.woff2 +0 -0
- package/fonts/notosanshebrew/notosanshebrew-normal-latin.woff2 +0 -0
- package/fonts/notosanskannada/OFL.txt +93 -0
- package/fonts/notosanskannada/notosanskannada-normal-kannada.woff2 +0 -0
- package/fonts/notosanskannada/notosanskannada-normal-latin-ext.woff2 +0 -0
- package/fonts/notosanskannada/notosanskannada-normal-latin.woff2 +0 -0
- package/fonts/notosanskhmer/OFL.txt +93 -0
- package/fonts/notosanskhmer/notosanskhmer-normal-khmer.woff2 +0 -0
- package/fonts/notosanskhmer/notosanskhmer-normal-latin-ext.woff2 +0 -0
- package/fonts/notosanskhmer/notosanskhmer-normal-latin.woff2 +0 -0
- package/fonts/notosanslao/OFL.txt +93 -0
- package/fonts/notosanslao/notosanslao-normal-lao.woff2 +0 -0
- package/fonts/notosanslao/notosanslao-normal-latin-ext.woff2 +0 -0
- package/fonts/notosanslao/notosanslao-normal-latin.woff2 +0 -0
- package/fonts/notosansmalayalam/OFL.txt +93 -0
- package/fonts/notosansmalayalam/notosansmalayalam-normal-latin-ext.woff2 +0 -0
- package/fonts/notosansmalayalam/notosansmalayalam-normal-latin.woff2 +0 -0
- package/fonts/notosansmalayalam/notosansmalayalam-normal-malayalam.woff2 +0 -0
- package/fonts/notosansmono/OFL.txt +93 -0
- package/fonts/notosansmono/notosansmono-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/notosansmono/notosansmono-normal-cyrillic.woff2 +0 -0
- package/fonts/notosansmono/notosansmono-normal-greek-ext.woff2 +0 -0
- package/fonts/notosansmono/notosansmono-normal-greek.woff2 +0 -0
- package/fonts/notosansmono/notosansmono-normal-latin-ext.woff2 +0 -0
- package/fonts/notosansmono/notosansmono-normal-latin.woff2 +0 -0
- package/fonts/notosansmono/notosansmono-normal-vietnamese.woff2 +0 -0
- package/fonts/notosansmyanmar/OFL.txt +93 -0
- package/fonts/notosansmyanmar/notosansmyanmar-normal-latin-ext.woff2 +0 -0
- package/fonts/notosansmyanmar/notosansmyanmar-normal-latin.woff2 +0 -0
- package/fonts/notosansmyanmar/notosansmyanmar-normal-myanmar.woff2 +0 -0
- package/fonts/notosanssinhala/OFL.txt +93 -0
- package/fonts/notosanssinhala/notosanssinhala-normal-latin-ext.woff2 +0 -0
- package/fonts/notosanssinhala/notosanssinhala-normal-latin.woff2 +0 -0
- package/fonts/notosanssinhala/notosanssinhala-normal-sinhala.woff2 +0 -0
- package/fonts/notosanstamil/OFL.txt +93 -0
- package/fonts/notosanstamil/notosanstamil-normal-latin-ext.woff2 +0 -0
- package/fonts/notosanstamil/notosanstamil-normal-latin.woff2 +0 -0
- package/fonts/notosanstamil/notosanstamil-normal-tamil.woff2 +0 -0
- package/fonts/notosanstelugu/OFL.txt +93 -0
- package/fonts/notosanstelugu/notosanstelugu-normal-latin-ext.woff2 +0 -0
- package/fonts/notosanstelugu/notosanstelugu-normal-latin.woff2 +0 -0
- package/fonts/notosanstelugu/notosanstelugu-normal-telugu.woff2 +0 -0
- package/fonts/notosansthai/OFL.txt +93 -0
- package/fonts/notosansthai/notosansthai-normal-latin-ext.woff2 +0 -0
- package/fonts/notosansthai/notosansthai-normal-latin.woff2 +0 -0
- package/fonts/notosansthai/notosansthai-normal-thai.woff2 +0 -0
- package/fonts/notoserif/OFL.txt +93 -0
- package/fonts/notoserif/notoserif-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/notoserif/notoserif-normal-cyrillic.woff2 +0 -0
- package/fonts/notoserif/notoserif-normal-greek-ext.woff2 +0 -0
- package/fonts/notoserif/notoserif-normal-greek.woff2 +0 -0
- package/fonts/notoserif/notoserif-normal-latin-ext.woff2 +0 -0
- package/fonts/notoserif/notoserif-normal-latin.woff2 +0 -0
- package/fonts/notoserif/notoserif-normal-math.woff2 +0 -0
- package/fonts/notoserif/notoserif-normal-vietnamese.woff2 +0 -0
- package/fonts/notoserifbengali/OFL.txt +93 -0
- package/fonts/notoserifbengali/notoserifbengali-normal-bengali.woff2 +0 -0
- package/fonts/notoserifbengali/notoserifbengali-normal-latin-ext.woff2 +0 -0
- package/fonts/notoserifbengali/notoserifbengali-normal-latin.woff2 +0 -0
- package/fonts/notoserifdevanagari/OFL.txt +93 -0
- package/fonts/notoserifdevanagari/notoserifdevanagari-normal-devanagari.woff2 +0 -0
- package/fonts/notoserifdevanagari/notoserifdevanagari-normal-latin-ext.woff2 +0 -0
- package/fonts/notoserifdevanagari/notoserifdevanagari-normal-latin.woff2 +0 -0
- package/fonts/notoserifethiopic/OFL.txt +93 -0
- package/fonts/notoserifethiopic/notoserifethiopic-normal-ethiopic.woff2 +0 -0
- package/fonts/notoserifethiopic/notoserifethiopic-normal-latin-ext.woff2 +0 -0
- package/fonts/notoserifethiopic/notoserifethiopic-normal-latin.woff2 +0 -0
- package/fonts/notoserifhebrew/OFL.txt +93 -0
- package/fonts/notoserifhebrew/notoserifhebrew-normal-hebrew.woff2 +0 -0
- package/fonts/notoserifhebrew/notoserifhebrew-normal-latin-ext.woff2 +0 -0
- package/fonts/notoserifhebrew/notoserifhebrew-normal-latin.woff2 +0 -0
- package/fonts/notoseriftamil/OFL.txt +93 -0
- package/fonts/notoseriftamil/notoseriftamil-normal-latin-ext.woff2 +0 -0
- package/fonts/notoseriftamil/notoseriftamil-normal-latin.woff2 +0 -0
- package/fonts/notoseriftamil/notoseriftamil-normal-tamil.woff2 +0 -0
- package/fonts/notoserifthai/OFL.txt +93 -0
- package/fonts/notoserifthai/notoserifthai-normal-latin-ext.woff2 +0 -0
- package/fonts/notoserifthai/notoserifthai-normal-latin.woff2 +0 -0
- package/fonts/notoserifthai/notoserifthai-normal-thai.woff2 +0 -0
- package/fonts/nunito/OFL.txt +93 -0
- package/fonts/nunito/nunito-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/nunito/nunito-italic-cyrillic.woff2 +0 -0
- package/fonts/nunito/nunito-italic-latin-ext.woff2 +0 -0
- package/fonts/nunito/nunito-italic-latin.woff2 +0 -0
- package/fonts/nunito/nunito-italic-vietnamese.woff2 +0 -0
- package/fonts/nunito/nunito-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/nunito/nunito-normal-cyrillic.woff2 +0 -0
- package/fonts/nunito/nunito-normal-latin-ext.woff2 +0 -0
- package/fonts/nunito/nunito-normal-latin.woff2 +0 -0
- package/fonts/nunito/nunito-normal-vietnamese.woff2 +0 -0
- package/fonts/nunitosans/OFL.txt +93 -0
- package/fonts/nunitosans/nunitosans-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/nunitosans/nunitosans-italic-cyrillic.woff2 +0 -0
- package/fonts/nunitosans/nunitosans-italic-latin-ext.woff2 +0 -0
- package/fonts/nunitosans/nunitosans-italic-latin.woff2 +0 -0
- package/fonts/nunitosans/nunitosans-italic-vietnamese.woff2 +0 -0
- package/fonts/nunitosans/nunitosans-normal-cyrillic-400_600_700.woff2 +0 -0
- package/fonts/nunitosans/nunitosans-normal-cyrillic-400_600_700_800.woff2 +0 -0
- package/fonts/nunitosans/nunitosans-normal-cyrillic-ext-400_600_700.woff2 +0 -0
- package/fonts/nunitosans/nunitosans-normal-cyrillic-ext-400_600_700_800.woff2 +0 -0
- package/fonts/nunitosans/nunitosans-normal-latin-400_600_700.woff2 +0 -0
- package/fonts/nunitosans/nunitosans-normal-latin-400_600_700_800.woff2 +0 -0
- package/fonts/nunitosans/nunitosans-normal-latin-ext-400_600_700.woff2 +0 -0
- package/fonts/nunitosans/nunitosans-normal-latin-ext-400_600_700_800.woff2 +0 -0
- package/fonts/nunitosans/nunitosans-normal-vietnamese-400_600_700.woff2 +0 -0
- package/fonts/nunitosans/nunitosans-normal-vietnamese-400_600_700_800.woff2 +0 -0
- package/fonts/oldstandardtt/OFL.txt +93 -0
- package/fonts/oldstandardtt/oldstandardtt-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/oldstandardtt/oldstandardtt-italic-cyrillic.woff2 +0 -0
- package/fonts/oldstandardtt/oldstandardtt-italic-latin-ext.woff2 +0 -0
- package/fonts/oldstandardtt/oldstandardtt-italic-latin.woff2 +0 -0
- package/fonts/oldstandardtt/oldstandardtt-italic-vietnamese.woff2 +0 -0
- package/fonts/oldstandardtt/oldstandardtt-normal-cyrillic-400.woff2 +0 -0
- package/fonts/oldstandardtt/oldstandardtt-normal-cyrillic-700.woff2 +0 -0
- package/fonts/oldstandardtt/oldstandardtt-normal-cyrillic-ext-400.woff2 +0 -0
- package/fonts/oldstandardtt/oldstandardtt-normal-cyrillic-ext-700.woff2 +0 -0
- package/fonts/oldstandardtt/oldstandardtt-normal-latin-400.woff2 +0 -0
- package/fonts/oldstandardtt/oldstandardtt-normal-latin-700.woff2 +0 -0
- package/fonts/oldstandardtt/oldstandardtt-normal-latin-ext-400.woff2 +0 -0
- package/fonts/oldstandardtt/oldstandardtt-normal-latin-ext-700.woff2 +0 -0
- package/fonts/oldstandardtt/oldstandardtt-normal-vietnamese-400.woff2 +0 -0
- package/fonts/oldstandardtt/oldstandardtt-normal-vietnamese-700.woff2 +0 -0
- package/fonts/oswald/OFL.txt +93 -0
- package/fonts/oswald/oswald-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/oswald/oswald-normal-cyrillic.woff2 +0 -0
- package/fonts/oswald/oswald-normal-latin-ext.woff2 +0 -0
- package/fonts/oswald/oswald-normal-latin.woff2 +0 -0
- package/fonts/oswald/oswald-normal-vietnamese.woff2 +0 -0
- package/fonts/patrickhandsc/OFL.txt +93 -0
- package/fonts/patrickhandsc/patrickhandsc-normal-latin-ext.woff2 +0 -0
- package/fonts/patrickhandsc/patrickhandsc-normal-latin.woff2 +0 -0
- package/fonts/patrickhandsc/patrickhandsc-normal-vietnamese.woff2 +0 -0
- package/fonts/ptsans/OFL.txt +93 -0
- package/fonts/ptsans/ptsans-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/ptsans/ptsans-italic-cyrillic.woff2 +0 -0
- package/fonts/ptsans/ptsans-italic-latin-ext.woff2 +0 -0
- package/fonts/ptsans/ptsans-italic-latin.woff2 +0 -0
- package/fonts/ptsans/ptsans-normal-cyrillic-400.woff2 +0 -0
- package/fonts/ptsans/ptsans-normal-cyrillic-700.woff2 +0 -0
- package/fonts/ptsans/ptsans-normal-cyrillic-ext-400.woff2 +0 -0
- package/fonts/ptsans/ptsans-normal-cyrillic-ext-700.woff2 +0 -0
- package/fonts/ptsans/ptsans-normal-latin-400.woff2 +0 -0
- package/fonts/ptsans/ptsans-normal-latin-700.woff2 +0 -0
- package/fonts/ptsans/ptsans-normal-latin-ext-400.woff2 +0 -0
- package/fonts/ptsans/ptsans-normal-latin-ext-700.woff2 +0 -0
- package/fonts/ptsansnarrow/OFL.txt +93 -0
- package/fonts/ptsansnarrow/ptsansnarrow-normal-cyrillic-400.woff2 +0 -0
- package/fonts/ptsansnarrow/ptsansnarrow-normal-cyrillic-700.woff2 +0 -0
- package/fonts/ptsansnarrow/ptsansnarrow-normal-cyrillic-ext-400.woff2 +0 -0
- package/fonts/ptsansnarrow/ptsansnarrow-normal-cyrillic-ext-700.woff2 +0 -0
- package/fonts/ptsansnarrow/ptsansnarrow-normal-latin-400.woff2 +0 -0
- package/fonts/ptsansnarrow/ptsansnarrow-normal-latin-700.woff2 +0 -0
- package/fonts/ptsansnarrow/ptsansnarrow-normal-latin-ext-400.woff2 +0 -0
- package/fonts/ptsansnarrow/ptsansnarrow-normal-latin-ext-700.woff2 +0 -0
- package/fonts/ptserif/OFL.txt +93 -0
- package/fonts/ptserif/ptserif-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/ptserif/ptserif-italic-cyrillic.woff2 +0 -0
- package/fonts/ptserif/ptserif-italic-latin-ext.woff2 +0 -0
- package/fonts/ptserif/ptserif-italic-latin.woff2 +0 -0
- package/fonts/ptserif/ptserif-normal-cyrillic-400.woff2 +0 -0
- package/fonts/ptserif/ptserif-normal-cyrillic-700.woff2 +0 -0
- package/fonts/ptserif/ptserif-normal-cyrillic-ext-400.woff2 +0 -0
- package/fonts/ptserif/ptserif-normal-cyrillic-ext-700.woff2 +0 -0
- package/fonts/ptserif/ptserif-normal-latin-400.woff2 +0 -0
- package/fonts/ptserif/ptserif-normal-latin-700.woff2 +0 -0
- package/fonts/ptserif/ptserif-normal-latin-ext-400.woff2 +0 -0
- package/fonts/ptserif/ptserif-normal-latin-ext-700.woff2 +0 -0
- package/fonts/rubik/OFL.txt +93 -0
- package/fonts/rubik/rubik-italic-arabic.woff2 +0 -0
- package/fonts/rubik/rubik-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/rubik/rubik-italic-cyrillic.woff2 +0 -0
- package/fonts/rubik/rubik-italic-hebrew.woff2 +0 -0
- package/fonts/rubik/rubik-italic-latin-ext.woff2 +0 -0
- package/fonts/rubik/rubik-italic-latin.woff2 +0 -0
- package/fonts/rubik/rubik-normal-arabic.woff2 +0 -0
- package/fonts/rubik/rubik-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/rubik/rubik-normal-cyrillic.woff2 +0 -0
- package/fonts/rubik/rubik-normal-hebrew.woff2 +0 -0
- package/fonts/rubik/rubik-normal-latin-ext.woff2 +0 -0
- package/fonts/rubik/rubik-normal-latin.woff2 +0 -0
- package/fonts/rubikmonoone/OFL.txt +93 -0
- package/fonts/rubikmonoone/rubikmonoone-normal-cyrillic.woff2 +0 -0
- package/fonts/rubikmonoone/rubikmonoone-normal-latin-ext.woff2 +0 -0
- package/fonts/rubikmonoone/rubikmonoone-normal-latin.woff2 +0 -0
- package/fonts/sharetechmono/OFL.txt +93 -0
- package/fonts/sharetechmono/sharetechmono-normal-latin.woff2 +0 -0
- package/fonts/shrikhand/OFL.txt +93 -0
- package/fonts/shrikhand/shrikhand-normal-gujarati.woff2 +0 -0
- package/fonts/shrikhand/shrikhand-normal-latin-ext.woff2 +0 -0
- package/fonts/shrikhand/shrikhand-normal-latin.woff2 +0 -0
- package/fonts/sourceserif4/OFL.txt +93 -0
- package/fonts/sourceserif4/sourceserif4-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/sourceserif4/sourceserif4-italic-cyrillic.woff2 +0 -0
- package/fonts/sourceserif4/sourceserif4-italic-greek.woff2 +0 -0
- package/fonts/sourceserif4/sourceserif4-italic-latin-ext.woff2 +0 -0
- package/fonts/sourceserif4/sourceserif4-italic-latin.woff2 +0 -0
- package/fonts/sourceserif4/sourceserif4-italic-vietnamese.woff2 +0 -0
- package/fonts/sourceserif4/sourceserif4-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/sourceserif4/sourceserif4-normal-cyrillic.woff2 +0 -0
- package/fonts/sourceserif4/sourceserif4-normal-greek.woff2 +0 -0
- package/fonts/sourceserif4/sourceserif4-normal-latin-ext.woff2 +0 -0
- package/fonts/sourceserif4/sourceserif4-normal-latin.woff2 +0 -0
- package/fonts/sourceserif4/sourceserif4-normal-vietnamese.woff2 +0 -0
- package/fonts/spacemono/OFL.txt +93 -0
- package/fonts/spacemono/spacemono-italic-latin-ext.woff2 +0 -0
- package/fonts/spacemono/spacemono-italic-latin.woff2 +0 -0
- package/fonts/spacemono/spacemono-italic-vietnamese.woff2 +0 -0
- package/fonts/spacemono/spacemono-normal-latin-400.woff2 +0 -0
- package/fonts/spacemono/spacemono-normal-latin-700.woff2 +0 -0
- package/fonts/spacemono/spacemono-normal-latin-ext-400.woff2 +0 -0
- package/fonts/spacemono/spacemono-normal-latin-ext-700.woff2 +0 -0
- package/fonts/spacemono/spacemono-normal-vietnamese-400.woff2 +0 -0
- package/fonts/spacemono/spacemono-normal-vietnamese-700.woff2 +0 -0
- package/fonts/stardosstencil/OFL.txt +94 -0
- package/fonts/stardosstencil/stardosstencil-normal-latin-400.woff2 +0 -0
- package/fonts/stardosstencil/stardosstencil-normal-latin-700.woff2 +0 -0
- package/fonts/stixtwotext/OFL.txt +93 -0
- package/fonts/stixtwotext/stixtwotext-italic-cyrillic-ext.woff2 +0 -0
- package/fonts/stixtwotext/stixtwotext-italic-cyrillic.woff2 +0 -0
- package/fonts/stixtwotext/stixtwotext-italic-greek.woff2 +0 -0
- package/fonts/stixtwotext/stixtwotext-italic-latin-ext.woff2 +0 -0
- package/fonts/stixtwotext/stixtwotext-italic-latin.woff2 +0 -0
- package/fonts/stixtwotext/stixtwotext-italic-vietnamese.woff2 +0 -0
- package/fonts/stixtwotext/stixtwotext-normal-cyrillic-ext.woff2 +0 -0
- package/fonts/stixtwotext/stixtwotext-normal-cyrillic.woff2 +0 -0
- package/fonts/stixtwotext/stixtwotext-normal-greek.woff2 +0 -0
- package/fonts/stixtwotext/stixtwotext-normal-latin-ext.woff2 +0 -0
- package/fonts/stixtwotext/stixtwotext-normal-latin.woff2 +0 -0
- package/fonts/stixtwotext/stixtwotext-normal-vietnamese.woff2 +0 -0
- package/fonts/worksans/OFL.txt +93 -0
- package/fonts/worksans/worksans-italic-latin-ext.woff2 +0 -0
- package/fonts/worksans/worksans-italic-latin.woff2 +0 -0
- package/fonts/worksans/worksans-italic-vietnamese.woff2 +0 -0
- package/fonts/worksans/worksans-normal-latin-ext.woff2 +0 -0
- package/fonts/worksans/worksans-normal-latin.woff2 +0 -0
- package/fonts/worksans/worksans-normal-vietnamese.woff2 +0 -0
- package/package.json +8 -3
- package/src/fonts.ts +136 -0
- package/src/index.ts +1 -0
- package/src/presets.ts +115 -16
- package/src/print-themes.ts +14 -1
- package/src/stylesheet.ts +5 -0
- package/src/theme.ts +35 -5
|
Binary file
|
|
@@ -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.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datatechsolutions/tympan-tokens",
|
|
3
|
-
"version": "0.4.
|
|
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),
|
|
114
|
-
*
|
|
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.
|
|
147
|
+
'surface-raised': 'rgb(255 255 255 / 0.86)',
|
|
146
148
|
'surface-solid': '#ffffff',
|
|
147
149
|
'surface-raised-solid': '#ffffff',
|
|
148
|
-
|
|
149
|
-
|
|
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
|
-
|
|
153
|
-
|
|
154
|
-
|
|
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: '#
|
|
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
|
-
|
|
169
|
-
|
|
170
|
-
|
|
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.
|
|
185
|
+
line: 'rgb(148 163 184 / 0.24)',
|
|
175
186
|
'line-strong': 'rgb(148 163 184 / 0.36)',
|
|
176
|
-
ink: '#
|
|
187
|
+
ink: '#ffffff',
|
|
177
188
|
'ink-2': '#cbd5e1',
|
|
178
|
-
'ink-3': '#
|
|
189
|
+
'ink-3': '#94a3b8',
|
|
179
190
|
success: '#4ade80',
|
|
180
191
|
info: '#22d3ee',
|
|
181
192
|
warning: '#fbbf24',
|
|
182
193
|
danger: '#fb7185',
|
|
183
|
-
neutral: '#
|
|
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'],
|
package/src/print-themes.ts
CHANGED
|
@@ -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
|
-
/**
|
|
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<
|
|
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
|
|
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
|
// ---------------------------------------------------------------------------
|