@datatechsolutions/tympan-tokens 0.3.0 → 0.4.0
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 +10 -6
- package/dist/contrast-report.md +648 -320
- package/dist/dtcg/astrlabe-controle.dark-high.tokens.json +3013 -0
- package/dist/dtcg/astrlabe-controle.dark.tokens.json +3010 -0
- package/dist/dtcg/astrlabe-controle.light-high.tokens.json +3013 -0
- package/dist/dtcg/astrlabe-controle.light.tokens.json +3010 -0
- package/dist/dtcg/astrlabe.dark-high.tokens.json +655 -561
- package/dist/dtcg/astrlabe.dark.tokens.json +676 -582
- package/dist/dtcg/astrlabe.light-high.tokens.json +660 -566
- package/dist/dtcg/astrlabe.light.tokens.json +679 -585
- package/dist/dtcg/fakhir.dark-high.tokens.json +16 -0
- package/dist/dtcg/fakhir.dark.tokens.json +16 -0
- package/dist/dtcg/fakhir.light-high.tokens.json +16 -0
- package/dist/dtcg/fakhir.light.tokens.json +16 -0
- package/dist/dtcg/flow.tokens.json +47 -2
- package/dist/dtcg/high-contrast.dark.tokens.json +16 -0
- package/dist/dtcg/high-contrast.light.tokens.json +16 -0
- package/dist/dtcg/neutral.dark-high.tokens.json +16 -0
- package/dist/dtcg/neutral.dark.tokens.json +16 -0
- package/dist/dtcg/neutral.light-high.tokens.json +16 -0
- package/dist/dtcg/neutral.light.tokens.json +16 -0
- package/dist/dtcg/print/print-aquarela.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-aquarela.light.tokens.json +16 -0
- package/dist/dtcg/print/print-art-nouveau.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-art-nouveau.light.tokens.json +16 -0
- package/dist/dtcg/print/print-atlas-oficial.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-atlas-oficial.light.tokens.json +16 -0
- package/dist/dtcg/print/print-azulejo-modernista.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-azulejo-modernista.light.tokens.json +16 -0
- package/dist/dtcg/print/print-bauhaus.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-bauhaus.light.tokens.json +16 -0
- package/dist/dtcg/print/print-blocos-coloridos.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-blocos-coloridos.light.tokens.json +16 -0
- package/dist/dtcg/print/print-brutalista.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-brutalista.light.tokens.json +16 -0
- package/dist/dtcg/print/print-caderno.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-caderno.light.tokens.json +16 -0
- package/dist/dtcg/print/print-cartao-postal.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-cartao-postal.light.tokens.json +16 -0
- package/dist/dtcg/print/print-cientifico.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-cientifico.light.tokens.json +16 -0
- package/dist/dtcg/print/print-concretismo.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-concretismo.light.tokens.json +16 -0
- package/dist/dtcg/print/print-construtivismo.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-construtivismo.light.tokens.json +16 -0
- package/dist/dtcg/print/print-cordel.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-cordel.light.tokens.json +16 -0
- package/dist/dtcg/print/print-dados-br.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-dados-br.light.tokens.json +16 -0
- package/dist/dtcg/print/print-dashboard.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-dashboard.light.tokens.json +16 -0
- package/dist/dtcg/print/print-diagrama-modernista.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-diagrama-modernista.light.tokens.json +16 -0
- package/dist/dtcg/print/print-divulgacao.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-divulgacao.light.tokens.json +16 -0
- package/dist/dtcg/print/print-fluxo-historico.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-fluxo-historico.light.tokens.json +16 -0
- package/dist/dtcg/print/print-grade-holandesa.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-grade-holandesa.light.tokens.json +16 -0
- package/dist/dtcg/print/print-graficos-1900.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-graficos-1900.light.tokens.json +16 -0
- package/dist/dtcg/print/print-infografico-ilustrado.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-infografico-ilustrado.light.tokens.json +16 -0
- package/dist/dtcg/print/print-isotype.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-isotype.light.tokens.json +16 -0
- package/dist/dtcg/print/print-jornal-1959.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-jornal-1959.light.tokens.json +16 -0
- package/dist/dtcg/print/print-jornal.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-jornal.light.tokens.json +16 -0
- package/dist/dtcg/print/print-mapa-de-metro.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-mapa-de-metro.light.tokens.json +16 -0
- package/dist/dtcg/print/print-memphis.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-memphis.light.tokens.json +16 -0
- package/dist/dtcg/print/print-minimo-de-tinta.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-minimo-de-tinta.light.tokens.json +16 -0
- package/dist/dtcg/print/print-papel-recortado.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-papel-recortado.light.tokens.json +16 -0
- package/dist/dtcg/print/print-papel-salmao.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-papel-salmao.light.tokens.json +16 -0
- package/dist/dtcg/print/print-pictogramas.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-pictogramas.light.tokens.json +16 -0
- package/dist/dtcg/print/print-pop-art.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-pop-art.light.tokens.json +16 -0
- package/dist/dtcg/print/print-prancheta-clara.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-prancheta-clara.light.tokens.json +16 -0
- package/dist/dtcg/print/print-prancheta.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-prancheta.light.tokens.json +16 -0
- package/dist/dtcg/print/print-proporcao-modular.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-proporcao-modular.light.tokens.json +16 -0
- package/dist/dtcg/print/print-riso.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-riso.light.tokens.json +16 -0
- package/dist/dtcg/print/print-semanario.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-semanario.light.tokens.json +16 -0
- package/dist/dtcg/print/print-sinalizacao.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-sinalizacao.light.tokens.json +16 -0
- package/dist/dtcg/print/print-suico.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-suico.light.tokens.json +16 -0
- package/dist/dtcg/print/print-tropicalia.dark.tokens.json +16 -0
- package/dist/dtcg/print/print-tropicalia.light.tokens.json +16 -0
- package/dist/dtcg/print-aquarela.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-aquarela.dark.tokens.json +16 -0
- package/dist/dtcg/print-aquarela.light-high.tokens.json +16 -0
- package/dist/dtcg/print-aquarela.light.tokens.json +16 -0
- package/dist/dtcg/print-art-nouveau.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-art-nouveau.dark.tokens.json +16 -0
- package/dist/dtcg/print-art-nouveau.light-high.tokens.json +16 -0
- package/dist/dtcg/print-art-nouveau.light.tokens.json +16 -0
- package/dist/dtcg/print-atlas-oficial.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-atlas-oficial.dark.tokens.json +16 -0
- package/dist/dtcg/print-atlas-oficial.light-high.tokens.json +16 -0
- package/dist/dtcg/print-atlas-oficial.light.tokens.json +16 -0
- package/dist/dtcg/print-azulejo-modernista.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-azulejo-modernista.dark.tokens.json +16 -0
- package/dist/dtcg/print-azulejo-modernista.light-high.tokens.json +16 -0
- package/dist/dtcg/print-azulejo-modernista.light.tokens.json +16 -0
- package/dist/dtcg/print-bauhaus.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-bauhaus.dark.tokens.json +16 -0
- package/dist/dtcg/print-bauhaus.light-high.tokens.json +16 -0
- package/dist/dtcg/print-bauhaus.light.tokens.json +16 -0
- package/dist/dtcg/print-blocos-coloridos.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-blocos-coloridos.dark.tokens.json +16 -0
- package/dist/dtcg/print-blocos-coloridos.light-high.tokens.json +16 -0
- package/dist/dtcg/print-blocos-coloridos.light.tokens.json +16 -0
- package/dist/dtcg/print-brutalista.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-brutalista.dark.tokens.json +16 -0
- package/dist/dtcg/print-brutalista.light-high.tokens.json +16 -0
- package/dist/dtcg/print-brutalista.light.tokens.json +16 -0
- package/dist/dtcg/print-caderno.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-caderno.dark.tokens.json +16 -0
- package/dist/dtcg/print-caderno.light-high.tokens.json +16 -0
- package/dist/dtcg/print-caderno.light.tokens.json +16 -0
- package/dist/dtcg/print-cartao-postal.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-cartao-postal.dark.tokens.json +16 -0
- package/dist/dtcg/print-cartao-postal.light-high.tokens.json +16 -0
- package/dist/dtcg/print-cartao-postal.light.tokens.json +16 -0
- package/dist/dtcg/print-cientifico.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-cientifico.dark.tokens.json +16 -0
- package/dist/dtcg/print-cientifico.light-high.tokens.json +16 -0
- package/dist/dtcg/print-cientifico.light.tokens.json +16 -0
- package/dist/dtcg/print-concretismo.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-concretismo.dark.tokens.json +16 -0
- package/dist/dtcg/print-concretismo.light-high.tokens.json +16 -0
- package/dist/dtcg/print-concretismo.light.tokens.json +16 -0
- package/dist/dtcg/print-construtivismo.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-construtivismo.dark.tokens.json +16 -0
- package/dist/dtcg/print-construtivismo.light-high.tokens.json +16 -0
- package/dist/dtcg/print-construtivismo.light.tokens.json +16 -0
- package/dist/dtcg/print-cordel.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-cordel.dark.tokens.json +16 -0
- package/dist/dtcg/print-cordel.light-high.tokens.json +16 -0
- package/dist/dtcg/print-cordel.light.tokens.json +16 -0
- package/dist/dtcg/print-dados-br.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-dados-br.dark.tokens.json +16 -0
- package/dist/dtcg/print-dados-br.light-high.tokens.json +16 -0
- package/dist/dtcg/print-dados-br.light.tokens.json +16 -0
- package/dist/dtcg/print-dashboard.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-dashboard.dark.tokens.json +16 -0
- package/dist/dtcg/print-dashboard.light-high.tokens.json +16 -0
- package/dist/dtcg/print-dashboard.light.tokens.json +16 -0
- package/dist/dtcg/print-diagrama-modernista.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-diagrama-modernista.dark.tokens.json +16 -0
- package/dist/dtcg/print-diagrama-modernista.light-high.tokens.json +16 -0
- package/dist/dtcg/print-diagrama-modernista.light.tokens.json +16 -0
- package/dist/dtcg/print-divulgacao.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-divulgacao.dark.tokens.json +16 -0
- package/dist/dtcg/print-divulgacao.light-high.tokens.json +16 -0
- package/dist/dtcg/print-divulgacao.light.tokens.json +16 -0
- package/dist/dtcg/print-fluxo-historico.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-fluxo-historico.dark.tokens.json +16 -0
- package/dist/dtcg/print-fluxo-historico.light-high.tokens.json +16 -0
- package/dist/dtcg/print-fluxo-historico.light.tokens.json +16 -0
- package/dist/dtcg/print-grade-holandesa.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-grade-holandesa.dark.tokens.json +16 -0
- package/dist/dtcg/print-grade-holandesa.light-high.tokens.json +16 -0
- package/dist/dtcg/print-grade-holandesa.light.tokens.json +16 -0
- package/dist/dtcg/print-graficos-1900.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-graficos-1900.dark.tokens.json +16 -0
- package/dist/dtcg/print-graficos-1900.light-high.tokens.json +16 -0
- package/dist/dtcg/print-graficos-1900.light.tokens.json +16 -0
- package/dist/dtcg/print-infografico-ilustrado.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-infografico-ilustrado.dark.tokens.json +16 -0
- package/dist/dtcg/print-infografico-ilustrado.light-high.tokens.json +16 -0
- package/dist/dtcg/print-infografico-ilustrado.light.tokens.json +16 -0
- package/dist/dtcg/print-isotype.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-isotype.dark.tokens.json +16 -0
- package/dist/dtcg/print-isotype.light-high.tokens.json +16 -0
- package/dist/dtcg/print-isotype.light.tokens.json +16 -0
- package/dist/dtcg/print-jornal-1959.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-jornal-1959.dark.tokens.json +16 -0
- package/dist/dtcg/print-jornal-1959.light-high.tokens.json +16 -0
- package/dist/dtcg/print-jornal-1959.light.tokens.json +16 -0
- package/dist/dtcg/print-jornal.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-jornal.dark.tokens.json +16 -0
- package/dist/dtcg/print-jornal.light-high.tokens.json +16 -0
- package/dist/dtcg/print-jornal.light.tokens.json +16 -0
- package/dist/dtcg/print-mapa-de-metro.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-mapa-de-metro.dark.tokens.json +16 -0
- package/dist/dtcg/print-mapa-de-metro.light-high.tokens.json +16 -0
- package/dist/dtcg/print-mapa-de-metro.light.tokens.json +16 -0
- package/dist/dtcg/print-memphis.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-memphis.dark.tokens.json +16 -0
- package/dist/dtcg/print-memphis.light-high.tokens.json +16 -0
- package/dist/dtcg/print-memphis.light.tokens.json +16 -0
- package/dist/dtcg/print-minimo-de-tinta.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-minimo-de-tinta.dark.tokens.json +16 -0
- package/dist/dtcg/print-minimo-de-tinta.light-high.tokens.json +16 -0
- package/dist/dtcg/print-minimo-de-tinta.light.tokens.json +16 -0
- package/dist/dtcg/print-papel-recortado.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-papel-recortado.dark.tokens.json +16 -0
- package/dist/dtcg/print-papel-recortado.light-high.tokens.json +16 -0
- package/dist/dtcg/print-papel-recortado.light.tokens.json +16 -0
- package/dist/dtcg/print-papel-salmao.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-papel-salmao.dark.tokens.json +16 -0
- package/dist/dtcg/print-papel-salmao.light-high.tokens.json +16 -0
- package/dist/dtcg/print-papel-salmao.light.tokens.json +16 -0
- package/dist/dtcg/print-pictogramas.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-pictogramas.dark.tokens.json +16 -0
- package/dist/dtcg/print-pictogramas.light-high.tokens.json +16 -0
- package/dist/dtcg/print-pictogramas.light.tokens.json +16 -0
- package/dist/dtcg/print-pop-art.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-pop-art.dark.tokens.json +16 -0
- package/dist/dtcg/print-pop-art.light-high.tokens.json +16 -0
- package/dist/dtcg/print-pop-art.light.tokens.json +16 -0
- package/dist/dtcg/print-prancheta-clara.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-prancheta-clara.dark.tokens.json +16 -0
- package/dist/dtcg/print-prancheta-clara.light-high.tokens.json +16 -0
- package/dist/dtcg/print-prancheta-clara.light.tokens.json +16 -0
- package/dist/dtcg/print-prancheta.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-prancheta.dark.tokens.json +16 -0
- package/dist/dtcg/print-prancheta.light-high.tokens.json +16 -0
- package/dist/dtcg/print-prancheta.light.tokens.json +16 -0
- package/dist/dtcg/print-proporcao-modular.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-proporcao-modular.dark.tokens.json +16 -0
- package/dist/dtcg/print-proporcao-modular.light-high.tokens.json +16 -0
- package/dist/dtcg/print-proporcao-modular.light.tokens.json +16 -0
- package/dist/dtcg/print-riso.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-riso.dark.tokens.json +16 -0
- package/dist/dtcg/print-riso.light-high.tokens.json +16 -0
- package/dist/dtcg/print-riso.light.tokens.json +16 -0
- package/dist/dtcg/print-semanario.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-semanario.dark.tokens.json +16 -0
- package/dist/dtcg/print-semanario.light-high.tokens.json +16 -0
- package/dist/dtcg/print-semanario.light.tokens.json +16 -0
- package/dist/dtcg/print-sinalizacao.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-sinalizacao.dark.tokens.json +16 -0
- package/dist/dtcg/print-sinalizacao.light-high.tokens.json +16 -0
- package/dist/dtcg/print-sinalizacao.light.tokens.json +16 -0
- package/dist/dtcg/print-suico.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-suico.dark.tokens.json +16 -0
- package/dist/dtcg/print-suico.light-high.tokens.json +16 -0
- package/dist/dtcg/print-suico.light.tokens.json +16 -0
- package/dist/dtcg/print-tropicalia.dark-high.tokens.json +16 -0
- package/dist/dtcg/print-tropicalia.dark.tokens.json +16 -0
- package/dist/dtcg/print-tropicalia.light-high.tokens.json +16 -0
- package/dist/dtcg/print-tropicalia.light.tokens.json +16 -0
- package/dist/dtcg/tympan.dark-high.tokens.json +16 -0
- package/dist/dtcg/tympan.dark.tokens.json +16 -0
- package/dist/dtcg/tympan.light-high.tokens.json +16 -0
- package/dist/dtcg/tympan.light.tokens.json +16 -0
- package/dist/index.d.ts +33 -5
- package/dist/index.js +298 -28
- package/dist/index.js.map +1 -1
- package/dist/print-themes/print-aquarela.css +8 -0
- package/dist/print-themes/print-art-nouveau.css +8 -0
- package/dist/print-themes/print-atlas-oficial.css +8 -0
- package/dist/print-themes/print-azulejo-modernista.css +8 -0
- package/dist/print-themes/print-bauhaus.css +8 -0
- package/dist/print-themes/print-blocos-coloridos.css +8 -0
- package/dist/print-themes/print-brutalista.css +8 -0
- package/dist/print-themes/print-caderno.css +8 -0
- package/dist/print-themes/print-cartao-postal.css +8 -0
- package/dist/print-themes/print-cientifico.css +8 -0
- package/dist/print-themes/print-concretismo.css +8 -0
- package/dist/print-themes/print-construtivismo.css +8 -0
- package/dist/print-themes/print-cordel.css +8 -0
- package/dist/print-themes/print-dados-br.css +8 -0
- package/dist/print-themes/print-dashboard.css +8 -0
- package/dist/print-themes/print-diagrama-modernista.css +8 -0
- package/dist/print-themes/print-divulgacao.css +8 -0
- package/dist/print-themes/print-fluxo-historico.css +8 -0
- package/dist/print-themes/print-grade-holandesa.css +8 -0
- package/dist/print-themes/print-graficos-1900.css +8 -0
- package/dist/print-themes/print-infografico-ilustrado.css +8 -0
- package/dist/print-themes/print-isotype.css +8 -0
- package/dist/print-themes/print-jornal-1959.css +8 -0
- package/dist/print-themes/print-jornal.css +8 -0
- package/dist/print-themes/print-mapa-de-metro.css +8 -0
- package/dist/print-themes/print-memphis.css +8 -0
- package/dist/print-themes/print-minimo-de-tinta.css +8 -0
- package/dist/print-themes/print-papel-recortado.css +8 -0
- package/dist/print-themes/print-papel-salmao.css +8 -0
- package/dist/print-themes/print-pictogramas.css +8 -0
- package/dist/print-themes/print-pop-art.css +8 -0
- package/dist/print-themes/print-prancheta-clara.css +8 -0
- package/dist/print-themes/print-prancheta.css +8 -0
- package/dist/print-themes/print-proporcao-modular.css +8 -0
- package/dist/print-themes/print-riso.css +8 -0
- package/dist/print-themes/print-semanario.css +8 -0
- package/dist/print-themes/print-sinalizacao.css +8 -0
- package/dist/print-themes/print-suico.css +8 -0
- package/dist/print-themes/print-tropicalia.css +8 -0
- package/dist/print-themes.css +312 -0
- package/dist/themes.json +272 -0
- package/dist/tokens.css +5749 -61416
- package/dist/tokens.json +2238 -1321
- package/dist/values.d.ts +3 -3
- package/dist/values.js +2238 -1321
- package/package.json +9 -3
- package/src/flow.ts +11 -3
- package/src/presets.ts +174 -16
- package/src/print-presets.ts +17 -8
- package/src/theme.ts +4 -0
- package/src/presets.ts.diff +0 -26
- package/src/theme.ts.rej +0 -16
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datatechsolutions/tympan-tokens",
|
|
3
|
-
"version": "0.
|
|
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, 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.",
|
|
3
|
+
"version": "0.4.0",
|
|
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",
|
|
7
7
|
"repository": {
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"./print-themes/*": "./dist/print-themes/*",
|
|
45
45
|
"./print-themes.json": "./dist/print-themes.json",
|
|
46
46
|
"./tokens.json": "./dist/tokens.json",
|
|
47
|
+
"./themes.json": "./dist/themes.json",
|
|
47
48
|
"./dtcg/*": "./dist/dtcg/*",
|
|
48
49
|
"./package.json": "./package.json"
|
|
49
50
|
},
|
|
@@ -56,11 +57,16 @@
|
|
|
56
57
|
"scripts": {
|
|
57
58
|
"build": "node scripts/build.mjs && tsdown",
|
|
58
59
|
"typecheck": "tsc --noEmit -p tsconfig.json && node scripts/build.mjs --check",
|
|
59
|
-
"test": "vitest run"
|
|
60
|
+
"test": "vitest run",
|
|
61
|
+
"prepack": "npm run build"
|
|
60
62
|
},
|
|
61
63
|
"devDependencies": {
|
|
62
64
|
"style-dictionary": "^5.5.5"
|
|
63
65
|
},
|
|
66
|
+
"homepage": "https://github.com/datatechsolutionsbr/tympan#readme",
|
|
67
|
+
"bugs": {
|
|
68
|
+
"url": "https://github.com/datatechsolutionsbr/tympan/issues"
|
|
69
|
+
},
|
|
64
70
|
"publishConfig": {
|
|
65
71
|
"access": "public"
|
|
66
72
|
}
|
package/src/flow.ts
CHANGED
|
@@ -46,20 +46,28 @@ function toneTokens(): Array<[string, FlowToken]> {
|
|
|
46
46
|
export const FLOW_TOKENS: ReadonlyArray<readonly [string, FlowToken]> = [
|
|
47
47
|
...toneTokens(),
|
|
48
48
|
// Connectors. Rest uses the >=3:1 boundary role (WCAG 1.4.11), not line-strong.
|
|
49
|
+
// State colours: traversed success, active info, blocked warning, pending neutral.
|
|
49
50
|
['connector', color('input')],
|
|
50
|
-
['connector-active', color('
|
|
51
|
+
['connector-active', color('info')],
|
|
51
52
|
['connector-true', color('success')],
|
|
52
53
|
['connector-false', color('danger')],
|
|
53
54
|
['connector-rule', color('categorical-2')],
|
|
55
|
+
['connector-traversed', color('success')],
|
|
56
|
+
['connector-blocked', color('warning')],
|
|
57
|
+
['connector-pending', color('neutral')],
|
|
54
58
|
['connector-width', px(1.5)],
|
|
55
59
|
['connector-width-active', px(2.5)],
|
|
56
|
-
// Node frame and state rings.
|
|
60
|
+
// Node frame and state rings. Running is info (cyan), suspended is warning
|
|
61
|
+
// (amber), so "em execução" and "aguardando" never share a hue.
|
|
57
62
|
['node-border', color('line-strong')],
|
|
58
63
|
['node-border-hover', color('input')],
|
|
59
64
|
['ring-selected', color('accent')],
|
|
60
|
-
['ring-running', color('
|
|
65
|
+
['ring-running', color('info')],
|
|
66
|
+
['ring-suspended', color('warning')],
|
|
61
67
|
['ring-succeeded', color('success')],
|
|
62
68
|
['ring-failed', color('danger')],
|
|
69
|
+
// The "now" cursor of run timelines: magenta, off every state hue.
|
|
70
|
+
['cursor-now', color('cursor-now')],
|
|
63
71
|
['node-surface', color('surface-raised-solid')],
|
|
64
72
|
['node-radius', { type: 'dimension', ref: 'radius-card' }],
|
|
65
73
|
// Canvas plane.
|
package/src/presets.ts
CHANGED
|
@@ -97,9 +97,9 @@ export const neutralPreset: ThemeConfig = {
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* A named product preset, selected by name
|
|
101
101
|
* (`data-ty-theme="fakhir"`). Today it carries the default theme's values; it
|
|
102
|
-
* is a separate preset so
|
|
102
|
+
* is a separate preset so an app that selects it keeps its look if the default changes.
|
|
103
103
|
*/
|
|
104
104
|
export const fakhirPreset: ThemeConfig = {
|
|
105
105
|
...tympanPreset,
|
|
@@ -107,6 +107,177 @@ export const fakhirPreset: ThemeConfig = {
|
|
|
107
107
|
label: 'Fakhir',
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
/**
|
|
111
|
+
* The Astrlabe workflow engine's look (`data-ty-theme="astrlabe"`): slate
|
|
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
|
|
115
|
+
* action is the indigo to purple gradient its primary buttons fill with, and
|
|
116
|
+
* text (headings included) uses the platform's own system fonts. The state
|
|
117
|
+
* contract holds on every ground: running is a cyan clearly off the indigo
|
|
118
|
+
* brand, waiting is amber.
|
|
119
|
+
*/
|
|
120
|
+
export const astrlabePreset: ThemeConfig = {
|
|
121
|
+
name: 'astrlabe',
|
|
122
|
+
label: 'Astrlabe',
|
|
123
|
+
seeds: {
|
|
124
|
+
brand: seedFromColor('#6366f1', 0.2),
|
|
125
|
+
neutral: { hue: 257, chroma: 0.02 },
|
|
126
|
+
danger: { hue: 25, chroma: 0.2 },
|
|
127
|
+
warning: { hue: 70, chroma: 0.15 },
|
|
128
|
+
success: { hue: 150, chroma: 0.16 },
|
|
129
|
+
info: { hue: 240, chroma: 0.1 },
|
|
130
|
+
},
|
|
131
|
+
chartHues: [277, 237, 163, 75, 12, 293, 185, 48],
|
|
132
|
+
radius: 12,
|
|
133
|
+
contrast: 'default',
|
|
134
|
+
glass: true,
|
|
135
|
+
cta: 'gradient',
|
|
136
|
+
pins: {
|
|
137
|
+
light: {
|
|
138
|
+
brand: '#4f46e5',
|
|
139
|
+
'focus-ring': '#6366f1',
|
|
140
|
+
'brand-strong': '#4338ca',
|
|
141
|
+
'brand-soft': 'rgb(99 102 241 / 0.12)',
|
|
142
|
+
'on-brand': '#ffffff',
|
|
143
|
+
bg: '#f8fafc',
|
|
144
|
+
surface: 'rgb(255 255 255 / 0.72)',
|
|
145
|
+
'surface-raised': 'rgb(255 255 255 / 0.9)',
|
|
146
|
+
'surface-solid': '#ffffff',
|
|
147
|
+
'surface-raised-solid': '#ffffff',
|
|
148
|
+
'surface-sunken': '#f1f5f9',
|
|
149
|
+
line: 'rgb(148 163 184 / 0.3)',
|
|
150
|
+
'line-strong': 'rgb(100 116 139 / 0.45)',
|
|
151
|
+
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',
|
|
155
|
+
success: '#15803d',
|
|
156
|
+
// Cyan, deliberately off the indigo brand, for the running state.
|
|
157
|
+
info: '#0e7490',
|
|
158
|
+
warning: '#a16207',
|
|
159
|
+
danger: '#be123c',
|
|
160
|
+
neutral: '#4d5a6b',
|
|
161
|
+
},
|
|
162
|
+
dark: {
|
|
163
|
+
brand: '#818cf8',
|
|
164
|
+
'focus-ring': '#818cf8',
|
|
165
|
+
'brand-strong': '#a5b4fc',
|
|
166
|
+
'brand-soft': 'rgb(99 102 241 / 0.2)',
|
|
167
|
+
'on-brand': '#1e1b4b',
|
|
168
|
+
bg: '#0b1220',
|
|
169
|
+
surface: 'rgb(30 41 59 / 0.72)',
|
|
170
|
+
'surface-raised': 'rgb(30 41 59 / 0.92)',
|
|
171
|
+
'surface-solid': '#131c2f',
|
|
172
|
+
'surface-raised-solid': '#1b2539',
|
|
173
|
+
'surface-sunken': '#0b1222',
|
|
174
|
+
line: 'rgb(148 163 184 / 0.22)',
|
|
175
|
+
'line-strong': 'rgb(148 163 184 / 0.36)',
|
|
176
|
+
ink: '#f8fafc',
|
|
177
|
+
'ink-2': '#cbd5e1',
|
|
178
|
+
'ink-3': '#a3b0c0',
|
|
179
|
+
success: '#4ade80',
|
|
180
|
+
info: '#22d3ee',
|
|
181
|
+
warning: '#fbbf24',
|
|
182
|
+
danger: '#fb7185',
|
|
183
|
+
neutral: '#a3b0c0',
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
ctaPins: {
|
|
187
|
+
light: ['#4f46e5', '#7c3aed', '#9333ea'],
|
|
188
|
+
dark: ['#4f46e5', '#7c3aed', '#9333ea'],
|
|
189
|
+
},
|
|
190
|
+
// The platform's own UI fonts, headings included (no web font to fetch).
|
|
191
|
+
fonts: {
|
|
192
|
+
display: ['-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Noto Sans', 'Arial', 'sans-serif'],
|
|
193
|
+
body: ['-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Noto Sans', 'Arial', 'sans-serif'],
|
|
194
|
+
mono: ['ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace'],
|
|
195
|
+
},
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Astrlabe · Sala de Controle (`data-ty-theme="astrlabe-controle"`): the
|
|
200
|
+
* dark-operations variant of the Astrlabe identity for control rooms and
|
|
201
|
+
* monitoring walls. No glass, square corners (2 px controls), deep blue-slate
|
|
202
|
+
* surfaces, and the saturated state colours of operator consoles: ok green,
|
|
203
|
+
* run cyan, wait amber, fail red, now magenta. Everything renders in a
|
|
204
|
+
* monospace stack so columns of numbers line up.
|
|
205
|
+
*/
|
|
206
|
+
export const astrlabeControlePreset: ThemeConfig = {
|
|
207
|
+
name: 'astrlabe-controle',
|
|
208
|
+
label: 'Astrlabe · Sala de Controle',
|
|
209
|
+
seeds: {
|
|
210
|
+
brand: seedFromColor('#6366f1', 0.2),
|
|
211
|
+
neutral: { hue: 257, chroma: 0.02 },
|
|
212
|
+
danger: { hue: 12, chroma: 0.2 },
|
|
213
|
+
warning: { hue: 75, chroma: 0.15 },
|
|
214
|
+
success: { hue: 145, chroma: 0.16 },
|
|
215
|
+
info: { hue: 185, chroma: 0.12 },
|
|
216
|
+
},
|
|
217
|
+
radius: 2,
|
|
218
|
+
contrast: 'default',
|
|
219
|
+
glass: false,
|
|
220
|
+
cta: 'solid',
|
|
221
|
+
pins: {
|
|
222
|
+
light: {
|
|
223
|
+
// The control room is always dark: the light mode carries the same
|
|
224
|
+
// dark grounds and the light-on-dark indigo brand.
|
|
225
|
+
brand: '#818cf8',
|
|
226
|
+
'focus-ring': '#818cf8',
|
|
227
|
+
'brand-strong': '#a5b4fc',
|
|
228
|
+
'brand-soft': 'rgb(99 102 241 / 0.2)',
|
|
229
|
+
'on-brand': '#1e1b4b',
|
|
230
|
+
bg: '#131a22',
|
|
231
|
+
surface: 'rgb(26 35 46 / 1)',
|
|
232
|
+
'surface-raised': 'rgb(26 35 46 / 1)',
|
|
233
|
+
'surface-solid': '#1a232e',
|
|
234
|
+
'surface-raised-solid': '#1a232e',
|
|
235
|
+
'surface-sunken': '#0e141b',
|
|
236
|
+
line: '#2e3d4c',
|
|
237
|
+
'line-strong': '#46586a',
|
|
238
|
+
ink: '#e8eef4',
|
|
239
|
+
'ink-2': '#bcc9d6',
|
|
240
|
+
'ink-3': '#93a2b1',
|
|
241
|
+
success: '#3fb950',
|
|
242
|
+
info: '#39c5cf',
|
|
243
|
+
warning: '#d29922',
|
|
244
|
+
danger: '#f85149',
|
|
245
|
+
neutral: '#93a2b1',
|
|
246
|
+
'cursor-now': '#e34ba9',
|
|
247
|
+
},
|
|
248
|
+
dark: {
|
|
249
|
+
brand: '#818cf8',
|
|
250
|
+
'focus-ring': '#818cf8',
|
|
251
|
+
'brand-strong': '#a5b4fc',
|
|
252
|
+
'brand-soft': 'rgb(99 102 241 / 0.2)',
|
|
253
|
+
'on-brand': '#1e1b4b',
|
|
254
|
+
bg: '#131a22',
|
|
255
|
+
surface: 'rgb(26 35 46 / 1)',
|
|
256
|
+
'surface-raised': 'rgb(26 35 46 / 1)',
|
|
257
|
+
'surface-solid': '#1a232e',
|
|
258
|
+
'surface-raised-solid': '#1a232e',
|
|
259
|
+
'surface-sunken': '#0e141b',
|
|
260
|
+
line: '#2e3d4c',
|
|
261
|
+
'line-strong': '#46586a',
|
|
262
|
+
ink: '#e8eef4',
|
|
263
|
+
'ink-2': '#bcc9d6',
|
|
264
|
+
'ink-3': '#93a2b1',
|
|
265
|
+
success: '#3fb950',
|
|
266
|
+
info: '#39c5cf',
|
|
267
|
+
warning: '#d29922',
|
|
268
|
+
danger: '#f85149',
|
|
269
|
+
neutral: '#93a2b1',
|
|
270
|
+
'cursor-now': '#e34ba9',
|
|
271
|
+
},
|
|
272
|
+
},
|
|
273
|
+
// Mono-friendly: one monospace stack for every role.
|
|
274
|
+
fonts: {
|
|
275
|
+
display: ['ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace'],
|
|
276
|
+
body: ['ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace'],
|
|
277
|
+
mono: ['ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace'],
|
|
278
|
+
},
|
|
279
|
+
}
|
|
280
|
+
|
|
110
281
|
/** Default hues with high contrast, opaque surfaces and a thicker focus ring. */
|
|
111
282
|
export const highContrastPreset: ThemeConfig = {
|
|
112
283
|
name: 'high-contrast',
|
|
@@ -118,18 +289,5 @@ export const highContrastPreset: ThemeConfig = {
|
|
|
118
289
|
cta: 'solid',
|
|
119
290
|
}
|
|
120
291
|
|
|
121
|
-
export const
|
|
122
|
-
name: 'astrlabe',
|
|
123
|
-
label: 'Astrlabe',
|
|
124
|
-
seeds: {
|
|
125
|
-
...baseSeeds,
|
|
126
|
-
brand: { hue: 240, chroma: 0.15 },
|
|
127
|
-
},
|
|
128
|
-
radius: 8,
|
|
129
|
-
contrast: 'default',
|
|
130
|
-
glass: true,
|
|
131
|
-
cta: 'solid',
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
export const presets: readonly ThemeConfig[] = [tympanPreset, fakhirPreset, neutralPreset, highContrastPreset, astrlabePreset]
|
|
292
|
+
export const presets: readonly ThemeConfig[] = [tympanPreset, fakhirPreset, astrlabePreset, astrlabeControlePreset, neutralPreset, highContrastPreset]
|
|
135
293
|
export const DEFAULT_THEME = 'tympan'
|
package/src/print-presets.ts
CHANGED
|
@@ -131,6 +131,13 @@ export interface PrintEstrutura {
|
|
|
131
131
|
notasFigura?: 'dentro' | 'coluna'
|
|
132
132
|
/** The key numbers (b) marked with the highlighter (caderno). */
|
|
133
133
|
numerosMarcados?: boolean
|
|
134
|
+
/**
|
|
135
|
+
* How a chart highlights: every row in its series colours (default, most studies) or the highlighted row in
|
|
136
|
+
* the accent against the others in ink (NYT Upshot, Tufte).
|
|
137
|
+
*/
|
|
138
|
+
realce?: 'serie' | 'linha'
|
|
139
|
+
/** Head of each small multiple: plain title (default), a band in the highlighter colour with an arrow (Schiphol), a dark band (Vignelli), a band in the ornament colour (Aicher), each multiple on its own tinted card (Le Corbusier, Bayer). */
|
|
140
|
+
cabecaMultiplo?: 'titulo' | 'faixa' | 'faixa-escura' | 'faixa-cor' | 'caixa-cor'
|
|
134
141
|
}
|
|
135
142
|
|
|
136
143
|
/**
|
|
@@ -149,8 +156,10 @@ export type Emblema = 'pictogramas' | 'formas' | 'circulo-bicolor' | 'figura-mod
|
|
|
149
156
|
* - 'fluxo': bands whose thickness is the value, splitting at the cut (fluxo-historico).
|
|
150
157
|
* - 'predios': columns drawn as buildings (height = value; windows are texture only).
|
|
151
158
|
* - 'cartoes': one card per row with the numbers written large and mini columns on a shared scale.
|
|
159
|
+
* - 'halteres': a dumbbell per row, two dots joined on one axis (NYT Upshot; the only shape that keeps a
|
|
160
|
+
* dumbbell spec as drawn). Every other shape redraws a zero-based dumbbell as its own comparison.
|
|
152
161
|
*/
|
|
153
|
-
export type FormaGrafico = 'barras' | 'colunas' | 'eixo-central' | 'ziguezague' | 'fluxo' | 'predios' | 'cartoes'
|
|
162
|
+
export type FormaGrafico = 'barras' | 'colunas' | 'eixo-central' | 'ziguezague' | 'fluxo' | 'predios' | 'cartoes' | 'halteres'
|
|
154
163
|
|
|
155
164
|
/** Page ornaments (optional, CONTRATO §1). */
|
|
156
165
|
export type Moldura =
|
|
@@ -589,7 +598,7 @@ const jornal: PrintStyle = {
|
|
|
589
598
|
raio: 3,
|
|
590
599
|
caixaAlta: false,
|
|
591
600
|
pb: { destaque: '#121212' },
|
|
592
|
-
estrutura: { painel: 'fio', rotulo: 'letra', rotuloCaixa: 'alta', notas: 'dentro', figura: 'simples', minusculas: false },
|
|
601
|
+
estrutura: { painel: 'fio', rotulo: 'letra', rotuloCaixa: 'alta', notas: 'dentro', figura: 'simples', minusculas: false, forma: 'halteres', realce: 'linha' },
|
|
593
602
|
}
|
|
594
603
|
|
|
595
604
|
const prancheta: PrintStyle = {
|
|
@@ -761,7 +770,7 @@ const minimoDeTinta: PrintStyle = {
|
|
|
761
770
|
raio: 0,
|
|
762
771
|
caixaAlta: false,
|
|
763
772
|
pb: { destaque: '#111111' },
|
|
764
|
-
estrutura: { painel: 'nenhum', rotulo: 'letra', rotuloCaixa: 'versalete', notas: 'margem', figura: 'amplitude', minusculas: false, forma: 'colunas', colunasFinas: true, linhaCorte: 'tracejada', tituloEstilo: 'italico' },
|
|
773
|
+
estrutura: { painel: 'nenhum', rotulo: 'letra', rotuloCaixa: 'versalete', notas: 'margem', figura: 'amplitude', minusculas: false, forma: 'colunas', colunasFinas: true, linhaCorte: 'tracejada', tituloEstilo: 'italico', realce: 'linha' },
|
|
765
774
|
}
|
|
766
775
|
|
|
767
776
|
const suico: PrintStyle = {
|
|
@@ -974,7 +983,7 @@ const diagramaModernista: PrintStyle = {
|
|
|
974
983
|
raio: 0,
|
|
975
984
|
caixaAlta: false,
|
|
976
985
|
pb: { destaque: '#2a2a2a', destaque2: '#8a8a8a' },
|
|
977
|
-
estrutura: { painel: 'bloco', rotulo: 'circulo', rotuloCaixa: 'normal', notas: 'dentro', figura: 'simples', minusculas: true, forma: 'colunas', linhaCorte: 'cheia', marcador: 'circulo', multiplos: 'lado-a-lado', fundoPainel: 'alternado', moldura: 'quartos', manchete: 'texto' },
|
|
986
|
+
estrutura: { painel: 'bloco', rotulo: 'circulo', rotuloCaixa: 'normal', notas: 'dentro', figura: 'simples', minusculas: true, forma: 'colunas', linhaCorte: 'cheia', marcador: 'circulo', multiplos: 'lado-a-lado', fundoPainel: 'alternado', moldura: 'quartos', manchete: 'texto', cabecaMultiplo: 'caixa-cor' },
|
|
978
987
|
}
|
|
979
988
|
|
|
980
989
|
const papelSalmao: PrintStyle = {
|
|
@@ -1159,7 +1168,7 @@ const proporcaoModular: PrintStyle = {
|
|
|
1159
1168
|
raio: 0,
|
|
1160
1169
|
caixaAlta: true,
|
|
1161
1170
|
pb: { destaque: '#5a5a5a', destaque2: '#a0a0a0' },
|
|
1162
|
-
estrutura: { painel: 'bloco', rotulo: 'quadrado', rotuloCaixa: 'alta', notas: 'dentro', figura: 'simples', minusculas: false, barras: 'vertical', corRotulo: 'tinta', multiplos: 'lado-a-lado', emblema: 'figura-modular', fundoPainel: 'alternado', costura: 'barra', manchete: 'texto' },
|
|
1171
|
+
estrutura: { painel: 'bloco', rotulo: 'quadrado', rotuloCaixa: 'alta', notas: 'dentro', figura: 'simples', minusculas: false, barras: 'vertical', corRotulo: 'tinta', multiplos: 'lado-a-lado', emblema: 'figura-modular', fundoPainel: 'alternado', costura: 'barra', manchete: 'texto', cabecaMultiplo: 'caixa-cor' },
|
|
1163
1172
|
}
|
|
1164
1173
|
|
|
1165
1174
|
const sinalizacao: PrintStyle = {
|
|
@@ -1176,7 +1185,7 @@ const sinalizacao: PrintStyle = {
|
|
|
1176
1185
|
raio: 0,
|
|
1177
1186
|
caixaAlta: false,
|
|
1178
1187
|
pb: { marcaTexto: '#d9d9d9' },
|
|
1179
|
-
estrutura: { painel: 'placa', rotulo: 'quadrado', rotuloCaixa: 'normal', notas: 'dentro', figura: 'simples', minusculas: false, cabeco: 'etiqueta', corRotulo: 'tinta', veredito: 'bloco-escuro', rastro: 'placa', manchete: 'faixa' },
|
|
1188
|
+
estrutura: { painel: 'placa', rotulo: 'quadrado', rotuloCaixa: 'normal', notas: 'dentro', figura: 'simples', minusculas: false, cabeco: 'etiqueta', corRotulo: 'tinta', veredito: 'bloco-escuro', rastro: 'placa', manchete: 'faixa', cabecaMultiplo: 'faixa' },
|
|
1180
1189
|
}
|
|
1181
1190
|
|
|
1182
1191
|
const pictogramas: PrintStyle = {
|
|
@@ -1193,7 +1202,7 @@ const pictogramas: PrintStyle = {
|
|
|
1193
1202
|
raio: 0,
|
|
1194
1203
|
caixaAlta: false,
|
|
1195
1204
|
pb: { destaque: '#8a8a8a', destaque2: '#3a3a3a', marcaTexto: '#d9d9d9' },
|
|
1196
|
-
estrutura: { painel: 'bloco', rotulo: 'quadrado', rotuloCaixa: 'normal', notas: 'dentro', figura: 'simples', minusculas: false, barras: 'vertical', corRotulo: 'sustentada', multiplos: 'lado-a-lado', emblema: 'pictogramas', fundoPainel: 'claro', manchete: 'faixa' },
|
|
1205
|
+
estrutura: { painel: 'bloco', rotulo: 'quadrado', rotuloCaixa: 'normal', notas: 'dentro', figura: 'simples', minusculas: false, barras: 'vertical', corRotulo: 'sustentada', multiplos: 'lado-a-lado', emblema: 'pictogramas', fundoPainel: 'claro', manchete: 'faixa', cabecaMultiplo: 'faixa-cor' },
|
|
1197
1206
|
}
|
|
1198
1207
|
|
|
1199
1208
|
const mapaDeMetro: PrintStyle = {
|
|
@@ -1210,7 +1219,7 @@ const mapaDeMetro: PrintStyle = {
|
|
|
1210
1219
|
raio: 0,
|
|
1211
1220
|
caixaAlta: false,
|
|
1212
1221
|
pb: { destaque: '#4a4a4a' },
|
|
1213
|
-
estrutura: { painel: 'fio', rotulo: 'circulo', rotuloCaixa: 'normal', notas: 'dentro', figura: 'simples', minusculas: false, barras: 'vertical', cabeco: 'faixa', corRotulo: 'tinta', veredito: 'bloco-escuro', rastro: 'metro', manchete: 'texto' },
|
|
1222
|
+
estrutura: { painel: 'fio', rotulo: 'circulo', rotuloCaixa: 'normal', notas: 'dentro', figura: 'simples', minusculas: false, barras: 'vertical', cabeco: 'faixa', corRotulo: 'tinta', veredito: 'bloco-escuro', rastro: 'metro', manchete: 'texto', cabecaMultiplo: 'faixa-escura' },
|
|
1214
1223
|
}
|
|
1215
1224
|
|
|
1216
1225
|
const jornal1959: PrintStyle = {
|
package/src/theme.ts
CHANGED
|
@@ -106,6 +106,7 @@ export const ROLE_NAMES = [
|
|
|
106
106
|
'ink', 'ink-2', 'ink-3',
|
|
107
107
|
'line', 'line-soft', 'line-strong', 'input',
|
|
108
108
|
'focus-ring',
|
|
109
|
+
'cursor-now',
|
|
109
110
|
'brand', 'on-brand', 'brand-strong', 'brand-soft', 'on-brand-soft',
|
|
110
111
|
'cta-solid', 'on-cta',
|
|
111
112
|
'secondary', 'on-secondary',
|
|
@@ -175,6 +176,9 @@ function recipes(mode: Mode, contrast: ContrastLevel, glass: boolean): Partial<R
|
|
|
175
176
|
'line-strong': { seed: 'neutral', l: pick(0.55, 0.78), c: 2.5, a: high ? pick(0.75, 0.65) : pick(0.38, 0.3) },
|
|
176
177
|
input: { seed: 'neutral', l: high ? pick(0.42, 0.78) : pick(0.6, 0.58), c: 2.5 },
|
|
177
178
|
'focus-ring': { seed: 'brand', l: high ? pick(0.4, 0.85) : pick(0.47, 0.79), c: 0.75 },
|
|
179
|
+
// The "now" cursor of run timelines: magenta/pink, deliberately off every
|
|
180
|
+
// state hue (success/warning/danger/info) so it never reads as a state.
|
|
181
|
+
'cursor-now': { seed: 'brand', l: pick(0.55, 0.74), c: 0.9, h: 330 },
|
|
178
182
|
brand: { seed: 'brand', l: high ? pick(0.4, 0.85) : pick(0.47, 0.79), c: 0.75 },
|
|
179
183
|
'brand-strong': { seed: 'brand', l: high ? pick(0.33, 0.9) : pick(0.4, 0.87), c: 0.7 },
|
|
180
184
|
'brand-soft': { seed: 'brand', l: pick(0.55, 0.75), c: 0.8, a: softA },
|
package/src/presets.ts.diff
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
--- datatech/tympan-wt/site/packages/tokens/src/presets.ts
|
|
2
|
-
+++ datatech/tympan-wt/site/packages/tokens/src/presets.ts
|
|
3
|
-
@@ -102,4 +102,23 @@
|
|
4
|
-
-export const presets: readonly ThemeConfig[] = [tympanPreset, fakhirPreset, neutralPreset, highContrastPreset]
|
|
5
|
-
+export const astrlabePreset: ThemeConfig = {
|
|
6
|
-
+ name: 'astrlabe',
|
|
7
|
-
+ label: 'Astrlabe',
|
|
8
|
-
+ seeds: {
|
|
9
|
-
+ ...baseSeeds,
|
|
10
|
-
+ brand: { hue: 240, chroma: 0.15 }, // Example deep blue for Astrlabe
|
|
11
|
-
+ },
|
|
12
|
-
+ radius: 6,
|
|
13
|
-
+ contrast: 'comfortable',
|
|
14
|
-
+ glass: false,
|
|
15
|
-
+ cta: 'solid',
|
|
16
|
-
+ pins: {
|
|
17
|
-
+ light: {
|
|
18
|
-
+ brand: '#4f46e5',
|
|
19
|
-
+ },
|
|
20
|
-
+ dark: {
|
|
21
|
-
+ brand: '#6366f1',
|
|
22
|
-
+ }
|
|
23
|
-
+ }
|
|
24
|
-
+}
|
|
25
|
-
+
|
|
26
|
-
+export const presets: readonly ThemeConfig[] = [tympanPreset, fakhirPreset, neutralPreset, highContrastPreset, astrlabePreset]
|
package/src/theme.ts.rej
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
@@ -86,6 +88,7 @@
|
|
2
|
-
dimensions: Record<string, number>
|
|
3
|
-
numbers: Record<string, number>
|
|
4
|
-
fonts: Record<string, string[]>
|
|
5
|
-
+ strings: Record<string, string>
|
|
6
|
-
report: Array<{ fg: string; over: string[]; kind: string; ratio: number; min: number; apca: number }>
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@@ -374,6 +377,7 @@
|
|
10
|
-
dimensions: { ...BASE_DIMENSIONS },
|
|
11
|
-
numbers: { ...BASE_NUMBERS },
|
|
12
|
-
fonts: config.fonts ? { ...config.fonts } : {},
|
|
13
|
-
+ strings: config.strings ? { ...config.strings } : {},
|
|
14
|
-
report: [],
|
|
15
|
-
}
|
|
16
|
-
if (config.glass) resolved.numbers.glass = 1
|