@datatechsolutions/tympan-tokens 0.4.1 → 0.5.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.
Files changed (91) hide show
  1. package/THIRD_PARTY_NOTICES.md +5 -5
  2. package/dist/contrast-report.md +95 -95
  3. package/dist/dtcg/astrlabe.dark-high.tokens.json +99 -43
  4. package/dist/dtcg/astrlabe.dark.tokens.json +137 -81
  5. package/dist/dtcg/astrlabe.light-high.tokens.json +146 -33
  6. package/dist/dtcg/astrlabe.light.tokens.json +211 -98
  7. package/dist/fonts.css +80 -80
  8. package/dist/index.d.ts +257 -58
  9. package/dist/index.js +568 -36
  10. package/dist/index.js.map +1 -1
  11. package/dist/print-themes/print-aquarela.css +7 -7
  12. package/dist/print-themes/print-art-nouveau.css +2 -2
  13. package/dist/print-themes/print-atlas-oficial.css +7 -7
  14. package/dist/print-themes/print-azulejo-modernista.css +2 -2
  15. package/dist/print-themes/print-bauhaus.css +2 -2
  16. package/dist/print-themes/print-blocos-coloridos.css +5 -5
  17. package/dist/print-themes/print-brutalista.css +8 -8
  18. package/dist/print-themes/print-caderno.css +14 -14
  19. package/dist/print-themes/print-cartao-postal.css +5 -5
  20. package/dist/print-themes/print-cientifico.css +3 -3
  21. package/dist/print-themes/print-concretismo.css +8 -8
  22. package/dist/print-themes/print-construtivismo.css +6 -6
  23. package/dist/print-themes/print-cordel.css +6 -6
  24. package/dist/print-themes/print-dados-br.css +12 -12
  25. package/dist/print-themes/print-dashboard.css +18 -18
  26. package/dist/print-themes/print-diagrama-modernista.css +3 -3
  27. package/dist/print-themes/print-divulgacao.css +3 -3
  28. package/dist/print-themes/print-fluxo-historico.css +3 -3
  29. package/dist/print-themes/print-grade-holandesa.css +2 -2
  30. package/dist/print-themes/print-graficos-1900.css +6 -6
  31. package/dist/print-themes/print-infografico-ilustrado.css +6 -6
  32. package/dist/print-themes/print-isotype.css +2 -2
  33. package/dist/print-themes/print-jornal-1959.css +5 -5
  34. package/dist/print-themes/print-jornal.css +6 -6
  35. package/dist/print-themes/print-mapa-de-metro.css +1 -1
  36. package/dist/print-themes/print-memphis.css +5 -5
  37. package/dist/print-themes/print-minimo-de-tinta.css +4 -4
  38. package/dist/print-themes/print-papel-recortado.css +2 -2
  39. package/dist/print-themes/print-papel-salmao.css +6 -6
  40. package/dist/print-themes/print-pictogramas.css +2 -2
  41. package/dist/print-themes/print-pop-art.css +2 -2
  42. package/dist/print-themes/print-prancheta-clara.css +5 -5
  43. package/dist/print-themes/print-prancheta.css +5 -5
  44. package/dist/print-themes/print-proporcao-modular.css +2 -2
  45. package/dist/print-themes/print-riso.css +4 -4
  46. package/dist/print-themes/print-semanario.css +13 -13
  47. package/dist/print-themes/print-sinalizacao.css +8 -8
  48. package/dist/print-themes/print-suico.css +4 -4
  49. package/dist/print-themes/print-tropicalia.css +3 -3
  50. package/dist/print-themes.css +133 -133
  51. package/dist/tokens.css +247 -124
  52. package/dist/tokens.json +124 -66
  53. package/dist/values.js +124 -66
  54. package/fonts/ibmplexsans/ibmplexsans-italic-cyrillic-400_500_600.woff2 +0 -0
  55. package/fonts/ibmplexsans/ibmplexsans-italic-cyrillic-ext-400_500_600.woff2 +0 -0
  56. package/fonts/ibmplexsans/ibmplexsans-italic-greek-400_500_600.woff2 +0 -0
  57. package/fonts/ibmplexsans/ibmplexsans-italic-latin-400_500_600.woff2 +0 -0
  58. package/fonts/ibmplexsans/ibmplexsans-italic-latin-ext-400_500_600.woff2 +0 -0
  59. package/fonts/ibmplexsans/ibmplexsans-italic-vietnamese-400_500_600.woff2 +0 -0
  60. package/fonts/manifest.json +998 -820
  61. package/fonts/nunitosans/nunitosans-normal-cyrillic-400_600_700_800.woff2 +0 -0
  62. package/fonts/nunitosans/nunitosans-normal-cyrillic-ext-400_600_700_800.woff2 +0 -0
  63. package/fonts/nunitosans/nunitosans-normal-latin-400_600_700_800.woff2 +0 -0
  64. package/fonts/nunitosans/nunitosans-normal-latin-ext-400_600_700_800.woff2 +0 -0
  65. package/fonts/nunitosans/nunitosans-normal-vietnamese-400_600_700_800.woff2 +0 -0
  66. package/fonts/sourceserif4/sourceserif4-italic-cyrillic-400_600.woff2 +0 -0
  67. package/fonts/sourceserif4/sourceserif4-italic-cyrillic-ext-400_600.woff2 +0 -0
  68. package/fonts/sourceserif4/sourceserif4-italic-greek-400_600.woff2 +0 -0
  69. package/fonts/sourceserif4/sourceserif4-italic-latin-400_600.woff2 +0 -0
  70. package/fonts/sourceserif4/sourceserif4-italic-latin-ext-400_600.woff2 +0 -0
  71. package/fonts/sourceserif4/sourceserif4-italic-vietnamese-400_600.woff2 +0 -0
  72. package/package.json +1 -1
  73. package/src/fonts.ts +2 -2
  74. package/src/index.ts +1 -0
  75. package/src/presets.ts +115 -16
  76. package/src/print-book-themes.ts +239 -0
  77. package/src/print-presets.ts +220 -10
  78. package/src/stylesheet.ts +5 -0
  79. package/src/theme.ts +35 -5
  80. /package/fonts/ibmplexsans/{ibmplexsans-italic-cyrillic.woff2 → ibmplexsans-italic-cyrillic-400.woff2} +0 -0
  81. /package/fonts/ibmplexsans/{ibmplexsans-italic-cyrillic-ext.woff2 → ibmplexsans-italic-cyrillic-ext-400.woff2} +0 -0
  82. /package/fonts/ibmplexsans/{ibmplexsans-italic-greek.woff2 → ibmplexsans-italic-greek-400.woff2} +0 -0
  83. /package/fonts/ibmplexsans/{ibmplexsans-italic-latin.woff2 → ibmplexsans-italic-latin-400.woff2} +0 -0
  84. /package/fonts/ibmplexsans/{ibmplexsans-italic-latin-ext.woff2 → ibmplexsans-italic-latin-ext-400.woff2} +0 -0
  85. /package/fonts/ibmplexsans/{ibmplexsans-italic-vietnamese.woff2 → ibmplexsans-italic-vietnamese-400.woff2} +0 -0
  86. /package/fonts/sourceserif4/{sourceserif4-italic-cyrillic.woff2 → sourceserif4-italic-cyrillic-400.woff2} +0 -0
  87. /package/fonts/sourceserif4/{sourceserif4-italic-cyrillic-ext.woff2 → sourceserif4-italic-cyrillic-ext-400.woff2} +0 -0
  88. /package/fonts/sourceserif4/{sourceserif4-italic-greek.woff2 → sourceserif4-italic-greek-400.woff2} +0 -0
  89. /package/fonts/sourceserif4/{sourceserif4-italic-latin.woff2 → sourceserif4-italic-latin-400.woff2} +0 -0
  90. /package/fonts/sourceserif4/{sourceserif4-italic-latin-ext.woff2 → sourceserif4-italic-latin-ext-400.woff2} +0 -0
  91. /package/fonts/sourceserif4/{sourceserif4-italic-vietnamese.woff2 → sourceserif4-italic-vietnamese-400.woff2} +0 -0
@@ -6,11 +6,11 @@
6
6
  "$value": {
7
7
  "colorSpace": "srgb",
8
8
  "components": [
9
- 0.0431,
10
- 0.0706,
11
- 0.1255
9
+ 0.0078,
10
+ 0.0235,
11
+ 0.0902
12
12
  ],
13
- "hex": "#0b1220"
13
+ "hex": "#020617"
14
14
  },
15
15
  "$extensions": {
16
16
  "br.com.datatechsolutions.tympan": {
@@ -27,7 +27,7 @@
27
27
  0.2314
28
28
  ],
29
29
  "hex": "#1e293b",
30
- "alpha": 0.72
30
+ "alpha": 0.7
31
31
  },
32
32
  "$extensions": {
33
33
  "br.com.datatechsolutions.tympan": {
@@ -44,7 +44,7 @@
44
44
  0.2314
45
45
  ],
46
46
  "hex": "#1e293b",
47
- "alpha": 0.92
47
+ "alpha": 0.78
48
48
  },
49
49
  "$extensions": {
50
50
  "br.com.datatechsolutions.tympan": {
@@ -104,11 +104,11 @@
104
104
  "$value": {
105
105
  "colorSpace": "srgb",
106
106
  "components": [
107
- 0.9725,
108
- 0.9804,
109
- 0.9882
107
+ 1,
108
+ 1,
109
+ 1
110
110
  ],
111
- "hex": "#f8fafc"
111
+ "hex": "#ffffff"
112
112
  },
113
113
  "$extensions": {
114
114
  "br.com.datatechsolutions.tympan": {
@@ -136,11 +136,11 @@
136
136
  "$value": {
137
137
  "colorSpace": "srgb",
138
138
  "components": [
139
+ 0.5804,
139
140
  0.6392,
140
- 0.6902,
141
- 0.7529
141
+ 0.7216
142
142
  ],
143
- "hex": "#a3b0c0"
143
+ "hex": "#94a3b8"
144
144
  },
145
145
  "$extensions": {
146
146
  "br.com.datatechsolutions.tympan": {
@@ -157,7 +157,7 @@
157
157
  0.7216
158
158
  ],
159
159
  "hex": "#94a3b8",
160
- "alpha": 0.22
160
+ "alpha": 0.24
161
161
  },
162
162
  "$extensions": {
163
163
  "br.com.datatechsolutions.tympan": {
@@ -398,11 +398,11 @@
398
398
  "colorSpace": "srgb",
399
399
  "components": [
400
400
  0,
401
- 0.0118,
402
- 0.0549
401
+ 0,
402
+ 0
403
403
  ],
404
- "hex": "#00030e",
405
- "alpha": 0.6
404
+ "hex": "#000000",
405
+ "alpha": 0.5
406
406
  },
407
407
  "$extensions": {
408
408
  "br.com.datatechsolutions.tympan": {
@@ -414,12 +414,12 @@
414
414
  "$value": {
415
415
  "colorSpace": "srgb",
416
416
  "components": [
417
- 0.5569,
418
- 0.6039,
419
- 1
417
+ 0.4863,
418
+ 0.2275,
419
+ 0.9294
420
420
  ],
421
- "hex": "#8e9aff",
422
- "alpha": 0.12
421
+ "hex": "#7c3aed",
422
+ "alpha": 0.1
423
423
  },
424
424
  "$extensions": {
425
425
  "br.com.datatechsolutions.tympan": {
@@ -431,11 +431,11 @@
431
431
  "$value": {
432
432
  "colorSpace": "srgb",
433
433
  "components": [
434
- 0.3059,
435
- 0.7373,
436
- 0.9216
434
+ 0.0078,
435
+ 0.5176,
436
+ 0.7804
437
437
  ],
438
- "hex": "#4ebceb",
438
+ "hex": "#0284c7",
439
439
  "alpha": 0.08
440
440
  },
441
441
  "$extensions": {
@@ -708,11 +708,11 @@
708
708
  "$value": {
709
709
  "colorSpace": "srgb",
710
710
  "components": [
711
+ 0.5804,
711
712
  0.6392,
712
- 0.6902,
713
- 0.7529
713
+ 0.7216
714
714
  ],
715
- "hex": "#a3b0c0"
715
+ "hex": "#94a3b8"
716
716
  },
717
717
  "$extensions": {
718
718
  "br.com.datatechsolutions.tympan": {
@@ -1097,11 +1097,11 @@
1097
1097
  "$value": {
1098
1098
  "colorSpace": "srgb",
1099
1099
  "components": [
1100
+ 0.5804,
1100
1101
  0.6392,
1101
- 0.6902,
1102
- 0.7529
1102
+ 0.7216
1103
1103
  ],
1104
- "hex": "#a3b0c0"
1104
+ "hex": "#94a3b8"
1105
1105
  },
1106
1106
  "$extensions": {
1107
1107
  "br.com.datatechsolutions.tympan": {
@@ -1196,11 +1196,11 @@
1196
1196
  "$value": {
1197
1197
  "colorSpace": "srgb",
1198
1198
  "components": [
1199
+ 0.5804,
1199
1200
  0.6392,
1200
- 0.6902,
1201
- 0.7529
1201
+ 0.7216
1202
1202
  ],
1203
- "hex": "#a3b0c0"
1203
+ "hex": "#94a3b8"
1204
1204
  },
1205
1205
  "$extensions": {
1206
1206
  "br.com.datatechsolutions.tympan": {
@@ -1234,7 +1234,7 @@
1234
1234
  0.2314
1235
1235
  ],
1236
1236
  "hex": "#1e293b",
1237
- "alpha": 0.72
1237
+ "alpha": 0.7
1238
1238
  },
1239
1239
  "$extensions": {
1240
1240
  "br.com.datatechsolutions.tympan": {
@@ -1300,7 +1300,7 @@
1300
1300
  0.7216
1301
1301
  ],
1302
1302
  "hex": "#94a3b8",
1303
- "alpha": 0.22
1303
+ "alpha": 0.24
1304
1304
  },
1305
1305
  "$extensions": {
1306
1306
  "br.com.datatechsolutions.tympan": {
@@ -2663,87 +2663,87 @@
2663
2663
  "colorSpace": "srgb",
2664
2664
  "components": [
2665
2665
  0,
2666
- 0.0196,
2667
- 0.0784
2666
+ 0,
2667
+ 0
2668
2668
  ],
2669
- "hex": "#000514",
2670
- "alpha": 0.08
2669
+ "hex": "#000000",
2670
+ "alpha": 0.5
2671
2671
  },
2672
2672
  "offsetX": {
2673
2673
  "value": 0,
2674
2674
  "unit": "px"
2675
2675
  },
2676
2676
  "offsetY": {
2677
- "value": 1,
2677
+ "value": 12,
2678
2678
  "unit": "px"
2679
2679
  },
2680
2680
  "blur": {
2681
- "value": 2,
2681
+ "value": 40,
2682
2682
  "unit": "px"
2683
2683
  },
2684
2684
  "spread": {
2685
- "value": 0,
2685
+ "value": -12,
2686
2686
  "unit": "px"
2687
2687
  }
2688
- },
2688
+ }
2689
+ ],
2690
+ "$extensions": {
2691
+ "br.com.datatechsolutions.tympan": {
2692
+ "cssName": "--ty-shadow-sheet"
2693
+ }
2694
+ }
2695
+ },
2696
+ "raised": {
2697
+ "$value": [
2689
2698
  {
2690
2699
  "color": {
2691
2700
  "colorSpace": "srgb",
2692
2701
  "components": [
2693
2702
  0,
2694
- 0.0196,
2695
- 0.0784
2703
+ 0,
2704
+ 0
2696
2705
  ],
2697
- "hex": "#000514",
2698
- "alpha": 0.2
2706
+ "hex": "#000000",
2707
+ "alpha": 0.5
2699
2708
  },
2700
2709
  "offsetX": {
2701
2710
  "value": 0,
2702
2711
  "unit": "px"
2703
2712
  },
2704
2713
  "offsetY": {
2705
- "value": 8,
2714
+ "value": 4,
2706
2715
  "unit": "px"
2707
2716
  },
2708
2717
  "blur": {
2709
- "value": 24,
2718
+ "value": 12,
2710
2719
  "unit": "px"
2711
2720
  },
2712
2721
  "spread": {
2713
- "value": -12,
2722
+ "value": -2,
2714
2723
  "unit": "px"
2715
2724
  }
2716
- }
2717
- ],
2718
- "$extensions": {
2719
- "br.com.datatechsolutions.tympan": {
2720
- "cssName": "--ty-shadow-sheet"
2721
- }
2722
- }
2723
- },
2724
- "raised": {
2725
- "$value": [
2725
+ },
2726
2726
  {
2727
2727
  "color": {
2728
2728
  "colorSpace": "srgb",
2729
2729
  "components": [
2730
2730
  0,
2731
- 0.0196,
2732
- 0.0784
2731
+ 0,
2732
+ 0
2733
2733
  ],
2734
- "hex": "#000514",
2735
- "alpha": 0.16
2734
+ "hex": "#000000",
2735
+ "alpha": 0.3
2736
2736
  },
2737
2737
  "offsetX": {
2738
2738
  "value": 0,
2739
2739
  "unit": "px"
2740
2740
  },
2741
2741
  "offsetY": {
2742
- "value": 4,
2742
+ "value": 2,
2743
2743
  "unit": "px"
2744
2744
  },
2745
2745
  "blur": {
2746
- "value": 12,
2746
+ "value": 4,
2747
2747
  "unit": "px"
2748
2748
  },
2749
2749
  "spread": {
@@ -2765,11 +2765,11 @@
2765
2765
  "colorSpace": "srgb",
2766
2766
  "components": [
2767
2767
  0,
2768
- 0.0196,
2769
- 0.0784
2768
+ 0,
2769
+ 0
2770
2770
  ],
2771
- "hex": "#000514",
2772
- "alpha": 0.28
2771
+ "hex": "#000000",
2772
+ "alpha": 0.6
2773
2773
  },
2774
2774
  "offsetX": {
2775
2775
  "value": 0,
@@ -2787,6 +2787,34 @@
2787
2787
  "value": -8,
2788
2788
  "unit": "px"
2789
2789
  }
2790
+ },
2791
+ {
2792
+ "color": {
2793
+ "colorSpace": "srgb",
2794
+ "components": [
2795
+ 0,
2796
+ 0,
2797
+ 0
2798
+ ],
2799
+ "hex": "#000000",
2800
+ "alpha": 0.4
2801
+ },
2802
+ "offsetX": {
2803
+ "value": 0,
2804
+ "unit": "px"
2805
+ },
2806
+ "offsetY": {
2807
+ "value": 4,
2808
+ "unit": "px"
2809
+ },
2810
+ "blur": {
2811
+ "value": 8,
2812
+ "unit": "px"
2813
+ },
2814
+ "spread": {
2815
+ "value": -4,
2816
+ "unit": "px"
2817
+ }
2790
2818
  }
2791
2819
  ],
2792
2820
  "$extensions": {
@@ -2802,10 +2830,10 @@
2802
2830
  "colorSpace": "srgb",
2803
2831
  "components": [
2804
2832
  0,
2805
- 0.0196,
2806
- 0.0784
2833
+ 0,
2834
+ 0
2807
2835
  ],
2808
- "hex": "#000514",
2836
+ "hex": "#000000",
2809
2837
  "alpha": 0.7
2810
2838
  },
2811
2839
  "offsetX": {
@@ -2824,6 +2852,34 @@
2824
2852
  "value": -30,
2825
2853
  "unit": "px"
2826
2854
  }
2855
+ },
2856
+ {
2857
+ "color": {
2858
+ "colorSpace": "srgb",
2859
+ "components": [
2860
+ 0,
2861
+ 0,
2862
+ 0
2863
+ ],
2864
+ "hex": "#000000",
2865
+ "alpha": 0.5
2866
+ },
2867
+ "offsetX": {
2868
+ "value": 0,
2869
+ "unit": "px"
2870
+ },
2871
+ "offsetY": {
2872
+ "value": 16,
2873
+ "unit": "px"
2874
+ },
2875
+ "blur": {
2876
+ "value": 40,
2877
+ "unit": "px"
2878
+ },
2879
+ "spread": {
2880
+ "value": -12,
2881
+ "unit": "px"
2882
+ }
2827
2883
  }
2828
2884
  ],
2829
2885
  "$extensions": {
@@ -2843,7 +2899,7 @@
2843
2899
  1
2844
2900
  ],
2845
2901
  "hex": "#ffffff",
2846
- "alpha": 0.06
2902
+ "alpha": 0.12
2847
2903
  },
2848
2904
  "offsetX": {
2849
2905
  "value": 0,
@@ -2854,7 +2910,7 @@
2854
2910
  "unit": "px"
2855
2911
  },
2856
2912
  "blur": {
2857
- "value": 0,
2913
+ "value": 1,
2858
2914
  "unit": "px"
2859
2915
  },
2860
2916
  "spread": {
@@ -2897,7 +2953,7 @@
2897
2953
  },
2898
2954
  "radius-card": {
2899
2955
  "$value": {
2900
- "value": 19,
2956
+ "value": 20,
2901
2957
  "unit": "px"
2902
2958
  },
2903
2959
  "$extensions": {
@@ -2908,7 +2964,7 @@
2908
2964
  },
2909
2965
  "radius-sheet": {
2910
2966
  "$value": {
2911
- "value": 29,
2967
+ "value": 24,
2912
2968
  "unit": "px"
2913
2969
  },
2914
2970
  "$extensions": {
@@ -2976,7 +3032,7 @@
2976
3032
  "number": {
2977
3033
  "$type": "number",
2978
3034
  "glass-saturate": {
2979
- "$value": 1.15,
3035
+ "$value": 1.5,
2980
3036
  "$extensions": {
2981
3037
  "br.com.datatechsolutions.tympan": {
2982
3038
  "cssName": "--ty-glass-saturate"