@govbr-ds/tokens 4.0.0-next.4 → 4.0.0-next.5
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/dist/css/themes/dark.css +46 -19
- package/dist/css/themes/light.css +39 -12
- package/dist/css/tokens.css +94 -41
- package/dist/js/themes/dark.js +46 -19
- package/dist/js/themes/light.js +39 -12
- package/dist/js/tokens.js +94 -41
- package/dist/json/themes/dark.json +1521 -630
- package/dist/json/themes/light.json +1333 -442
- package/dist/json/tokens.json +2329 -811
- package/dist/scss/_tokens.scss +95 -42
- package/dist/scss/themes/_dark.scss +47 -20
- package/dist/scss/themes/_light.scss +40 -13
- package/package.json +3 -2
- package/src/figma/tokens.json +964 -269
- package/src/figma/variables/color.json +2 -2
- package/src/figma/variables/dark.json +304 -0
- package/src/figma/variables/elevation.json +162 -0
- package/src/figma/variables/guideline/componente.json +24 -0
- package/src/figma/variables/guideline/fundamento.json +24 -0
- package/src/figma/variables/guideline/geral.json +20 -0
- package/src/figma/variables/guideline/manifest.json +21 -0
- package/src/figma/variables/guideline/padrao.json +24 -0
- package/src/figma/variables/light.json +304 -0
- package/src/figma/variables/manifest.json +2 -1
- package/src/figma/variables/motion.json +2 -2
- package/src/figma/variables/state.json +238 -0
- package/src/style-dictionary/themes/dark.json +434 -71
- package/src/style-dictionary/themes/light.json +428 -65
- package/src/style-dictionary/tokens.json +209 -157
|
@@ -1234,7 +1234,7 @@
|
|
|
1234
1234
|
"type": "color"
|
|
1235
1235
|
},
|
|
1236
1236
|
"20": {
|
|
1237
|
-
"value": "#
|
|
1237
|
+
"value": "#AACDEC",
|
|
1238
1238
|
"type": "color"
|
|
1239
1239
|
},
|
|
1240
1240
|
"30": {
|
|
@@ -2613,124 +2613,164 @@
|
|
|
2613
2613
|
},
|
|
2614
2614
|
"level": {
|
|
2615
2615
|
"0": {
|
|
2616
|
-
"
|
|
2617
|
-
{
|
|
2618
|
-
"
|
|
2619
|
-
"
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
"
|
|
2623
|
-
"
|
|
2624
|
-
|
|
2616
|
+
"offsetX": {
|
|
2617
|
+
"cast": {
|
|
2618
|
+
"value": "{elevation.offset.none}",
|
|
2619
|
+
"type": "offset"
|
|
2620
|
+
},
|
|
2621
|
+
"occlusion": {
|
|
2622
|
+
"value": "{elevation.offset.none}",
|
|
2623
|
+
"type": "offset"
|
|
2624
|
+
}
|
|
2625
|
+
},
|
|
2626
|
+
"offsetY": {
|
|
2627
|
+
"cast": {
|
|
2628
|
+
"value": "{elevation.offset.none}",
|
|
2629
|
+
"type": "offset"
|
|
2630
|
+
},
|
|
2631
|
+
"occlusion": {
|
|
2632
|
+
"value": "{elevation.offset.none}",
|
|
2633
|
+
"type": "offset"
|
|
2634
|
+
}
|
|
2635
|
+
},
|
|
2636
|
+
"blur": {
|
|
2637
|
+
"cast": {
|
|
2638
|
+
"value": "{elevation.blur.none}",
|
|
2639
|
+
"type": "blur"
|
|
2625
2640
|
},
|
|
2626
|
-
{
|
|
2627
|
-
"
|
|
2628
|
-
"
|
|
2629
|
-
"blur": "{elevation.blur.none}",
|
|
2630
|
-
"color": "{theme.shadow.color}",
|
|
2631
|
-
"spread": 0,
|
|
2632
|
-
"description": "Sombra oclusão",
|
|
2633
|
-
"type": "dropShadow"
|
|
2641
|
+
"occlusion": {
|
|
2642
|
+
"value": "{elevation.blur.none}",
|
|
2643
|
+
"type": "blur"
|
|
2634
2644
|
}
|
|
2635
|
-
|
|
2636
|
-
"type": "boxShadow",
|
|
2637
|
-
"failedToResolve": true
|
|
2645
|
+
}
|
|
2638
2646
|
},
|
|
2639
2647
|
"1": {
|
|
2640
|
-
"
|
|
2641
|
-
{
|
|
2642
|
-
"
|
|
2643
|
-
"
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
"
|
|
2647
|
-
"
|
|
2648
|
-
|
|
2648
|
+
"offsetX": {
|
|
2649
|
+
"cast": {
|
|
2650
|
+
"value": "{elevation.offset.none}",
|
|
2651
|
+
"type": "offset"
|
|
2652
|
+
},
|
|
2653
|
+
"occlusion": {
|
|
2654
|
+
"value": "{elevation.offset.none}",
|
|
2655
|
+
"type": "offset"
|
|
2656
|
+
}
|
|
2657
|
+
},
|
|
2658
|
+
"offsetY": {
|
|
2659
|
+
"cast": {
|
|
2660
|
+
"value": "{elevation.offset.01}",
|
|
2661
|
+
"type": "offset"
|
|
2662
|
+
},
|
|
2663
|
+
"occlusion": {
|
|
2664
|
+
"value": "{elevation.offset.none}",
|
|
2665
|
+
"type": "offset"
|
|
2666
|
+
}
|
|
2667
|
+
},
|
|
2668
|
+
"blur": {
|
|
2669
|
+
"cast": {
|
|
2670
|
+
"value": "{elevation.blur.01}",
|
|
2671
|
+
"type": "blur"
|
|
2649
2672
|
},
|
|
2650
|
-
{
|
|
2651
|
-
"
|
|
2652
|
-
"
|
|
2653
|
-
"blur": "{elevation.blur.02}",
|
|
2654
|
-
"color": "{theme.shadow.color}",
|
|
2655
|
-
"spread": 0,
|
|
2656
|
-
"description": "Sombra oclusão",
|
|
2657
|
-
"type": "dropShadow"
|
|
2673
|
+
"occlusion": {
|
|
2674
|
+
"value": "{elevation.blur.02}",
|
|
2675
|
+
"type": "blur"
|
|
2658
2676
|
}
|
|
2659
|
-
|
|
2660
|
-
"type": "boxShadow",
|
|
2661
|
-
"failedToResolve": true
|
|
2677
|
+
}
|
|
2662
2678
|
},
|
|
2663
2679
|
"2": {
|
|
2664
|
-
"
|
|
2665
|
-
{
|
|
2666
|
-
"
|
|
2667
|
-
"
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
"
|
|
2671
|
-
"
|
|
2672
|
-
|
|
2680
|
+
"offsetX": {
|
|
2681
|
+
"cast": {
|
|
2682
|
+
"value": "{elevation.offset.none}",
|
|
2683
|
+
"type": "offset"
|
|
2684
|
+
},
|
|
2685
|
+
"occlusion": {
|
|
2686
|
+
"value": "{elevation.offset.none}",
|
|
2687
|
+
"type": "offset"
|
|
2688
|
+
}
|
|
2689
|
+
},
|
|
2690
|
+
"offsetY": {
|
|
2691
|
+
"cast": {
|
|
2692
|
+
"value": "{elevation.offset.02}",
|
|
2693
|
+
"type": "offset"
|
|
2694
|
+
},
|
|
2695
|
+
"occlusion": {
|
|
2696
|
+
"value": "{elevation.offset.none}",
|
|
2697
|
+
"type": "offset"
|
|
2698
|
+
}
|
|
2699
|
+
},
|
|
2700
|
+
"blur": {
|
|
2701
|
+
"cast": {
|
|
2702
|
+
"value": "{elevation.blur.02}",
|
|
2703
|
+
"type": "blur"
|
|
2673
2704
|
},
|
|
2674
|
-
{
|
|
2675
|
-
"
|
|
2676
|
-
"
|
|
2677
|
-
"blur": "{elevation.blur.03}",
|
|
2678
|
-
"color": "{theme.shadow.color}",
|
|
2679
|
-
"spread": 0,
|
|
2680
|
-
"description": "Sombra oclusão",
|
|
2681
|
-
"type": "dropShadow"
|
|
2705
|
+
"occlusion": {
|
|
2706
|
+
"value": "{elevation.blur.03}",
|
|
2707
|
+
"type": "blur"
|
|
2682
2708
|
}
|
|
2683
|
-
|
|
2684
|
-
"type": "boxShadow",
|
|
2685
|
-
"failedToResolve": true
|
|
2709
|
+
}
|
|
2686
2710
|
},
|
|
2687
2711
|
"3": {
|
|
2688
|
-
"
|
|
2689
|
-
{
|
|
2690
|
-
"
|
|
2691
|
-
"
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
"
|
|
2695
|
-
"
|
|
2696
|
-
|
|
2712
|
+
"offsetX": {
|
|
2713
|
+
"cast": {
|
|
2714
|
+
"value": "{elevation.offset.none}",
|
|
2715
|
+
"type": "offset"
|
|
2716
|
+
},
|
|
2717
|
+
"occlusion": {
|
|
2718
|
+
"value": "{elevation.offset.none}",
|
|
2719
|
+
"type": "offset"
|
|
2720
|
+
}
|
|
2721
|
+
},
|
|
2722
|
+
"offsetY": {
|
|
2723
|
+
"cast": {
|
|
2724
|
+
"value": "{elevation.offset.03}",
|
|
2725
|
+
"type": "offset"
|
|
2726
|
+
},
|
|
2727
|
+
"occlusion": {
|
|
2728
|
+
"value": "{elevation.offset.none}",
|
|
2729
|
+
"type": "offset"
|
|
2730
|
+
}
|
|
2731
|
+
},
|
|
2732
|
+
"blur": {
|
|
2733
|
+
"cast": {
|
|
2734
|
+
"value": "{elevation.blur.03}",
|
|
2735
|
+
"type": "blur"
|
|
2697
2736
|
},
|
|
2698
|
-
{
|
|
2699
|
-
"
|
|
2700
|
-
"
|
|
2701
|
-
"blur": "{elevation.blur.04}",
|
|
2702
|
-
"color": "{theme.shadow.color}",
|
|
2703
|
-
"spread": 0,
|
|
2704
|
-
"description": "Sombra oclusão",
|
|
2705
|
-
"type": "dropShadow"
|
|
2737
|
+
"occlusion": {
|
|
2738
|
+
"value": "{elevation.blur.04}",
|
|
2739
|
+
"type": "blur"
|
|
2706
2740
|
}
|
|
2707
|
-
|
|
2708
|
-
"type": "boxShadow",
|
|
2709
|
-
"failedToResolve": true
|
|
2741
|
+
}
|
|
2710
2742
|
},
|
|
2711
2743
|
"4": {
|
|
2712
|
-
"
|
|
2713
|
-
{
|
|
2714
|
-
"
|
|
2715
|
-
"
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
"
|
|
2719
|
-
"
|
|
2720
|
-
|
|
2744
|
+
"offsetX": {
|
|
2745
|
+
"cast": {
|
|
2746
|
+
"value": "{elevation.offset.none}",
|
|
2747
|
+
"type": "offset"
|
|
2748
|
+
},
|
|
2749
|
+
"occlusion": {
|
|
2750
|
+
"value": "{elevation.offset.none}",
|
|
2751
|
+
"type": "offset"
|
|
2752
|
+
}
|
|
2753
|
+
},
|
|
2754
|
+
"offsetY": {
|
|
2755
|
+
"cast": {
|
|
2756
|
+
"value": "{elevation.offset.04}",
|
|
2757
|
+
"type": "offset"
|
|
2758
|
+
},
|
|
2759
|
+
"occlusion": {
|
|
2760
|
+
"value": "{elevation.offset.none}",
|
|
2761
|
+
"type": "offset"
|
|
2762
|
+
}
|
|
2763
|
+
},
|
|
2764
|
+
"blur": {
|
|
2765
|
+
"cast": {
|
|
2766
|
+
"value": "{elevation.blur.04}",
|
|
2767
|
+
"type": "blur"
|
|
2721
2768
|
},
|
|
2722
|
-
{
|
|
2723
|
-
"
|
|
2724
|
-
"
|
|
2725
|
-
"blur": "{elevation.blur.05}",
|
|
2726
|
-
"color": "{theme.shadow.color}",
|
|
2727
|
-
"spread": 0,
|
|
2728
|
-
"description": "Sombra oclusão",
|
|
2729
|
-
"type": "dropShadow"
|
|
2769
|
+
"occlusion": {
|
|
2770
|
+
"value": "{elevation.blur.05}",
|
|
2771
|
+
"type": "blur"
|
|
2730
2772
|
}
|
|
2731
|
-
|
|
2732
|
-
"type": "boxShadow",
|
|
2733
|
-
"failedToResolve": true
|
|
2773
|
+
}
|
|
2734
2774
|
}
|
|
2735
2775
|
}
|
|
2736
2776
|
},
|
|
@@ -2757,11 +2797,11 @@
|
|
|
2757
2797
|
"type": "easing"
|
|
2758
2798
|
},
|
|
2759
2799
|
"bounceOut": {
|
|
2760
|
-
"value": "cubic-bezier(0.25, 2.
|
|
2800
|
+
"value": "cubic-bezier(0.25, 2.1, 0.5, 0)",
|
|
2761
2801
|
"type": "easing"
|
|
2762
2802
|
},
|
|
2763
2803
|
"elasticOut": {
|
|
2764
|
-
"value": "cubic-bezier(0, 3, 0, 0
|
|
2804
|
+
"value": "cubic-bezier(0.7, 3.3, 0.3, 0)",
|
|
2765
2805
|
"type": "easing"
|
|
2766
2806
|
}
|
|
2767
2807
|
},
|
|
@@ -2851,31 +2891,45 @@
|
|
|
2851
2891
|
"state": {
|
|
2852
2892
|
"disabled": {
|
|
2853
2893
|
"opacity": {
|
|
2854
|
-
"value": "{surface.opacity.
|
|
2894
|
+
"value": "{surface.opacity.03}",
|
|
2855
2895
|
"type": "opacity"
|
|
2856
2896
|
}
|
|
2857
2897
|
},
|
|
2858
2898
|
"hover": {
|
|
2859
|
-
"
|
|
2860
|
-
"
|
|
2899
|
+
"opacity": {
|
|
2900
|
+
"bright": {
|
|
2901
|
+
"value": "{surface.opacity.05}",
|
|
2902
|
+
"type": "opacity"
|
|
2903
|
+
},
|
|
2904
|
+
"dim": {
|
|
2861
2905
|
"value": "{surface.opacity.06}",
|
|
2862
2906
|
"type": "opacity"
|
|
2863
2907
|
}
|
|
2864
2908
|
},
|
|
2865
|
-
"
|
|
2866
|
-
"
|
|
2867
|
-
"value":
|
|
2868
|
-
"type": "
|
|
2909
|
+
"highlight": {
|
|
2910
|
+
"size": {
|
|
2911
|
+
"value": 1.05,
|
|
2912
|
+
"type": "sizing"
|
|
2913
|
+
},
|
|
2914
|
+
"motion": {
|
|
2915
|
+
"easing": {
|
|
2916
|
+
"value": "{motion.easing.elasticOut}",
|
|
2917
|
+
"type": "easing"
|
|
2918
|
+
},
|
|
2919
|
+
"duration": {
|
|
2920
|
+
"value": "{motion.duration.fast.04}",
|
|
2921
|
+
"type": "duration"
|
|
2922
|
+
}
|
|
2869
2923
|
}
|
|
2870
2924
|
},
|
|
2871
2925
|
"motion": {
|
|
2872
2926
|
"in": {
|
|
2873
2927
|
"easing": {
|
|
2874
|
-
"value": "{motion.easing.
|
|
2928
|
+
"value": "{motion.easing.easeIn}",
|
|
2875
2929
|
"type": "easing"
|
|
2876
2930
|
},
|
|
2877
2931
|
"duration": {
|
|
2878
|
-
"value": "{motion.duration.fast.
|
|
2932
|
+
"value": "{motion.duration.fast.04}",
|
|
2879
2933
|
"type": "duration"
|
|
2880
2934
|
}
|
|
2881
2935
|
},
|
|
@@ -2899,7 +2953,7 @@
|
|
|
2899
2953
|
},
|
|
2900
2954
|
"blur": {
|
|
2901
2955
|
"value": "{elevation.blur.03}",
|
|
2902
|
-
"type": "
|
|
2956
|
+
"type": "offset"
|
|
2903
2957
|
},
|
|
2904
2958
|
"opacity": {
|
|
2905
2959
|
"value": "{surface.opacity.05}",
|
|
@@ -2909,27 +2963,41 @@
|
|
|
2909
2963
|
"motion": {
|
|
2910
2964
|
"in": {
|
|
2911
2965
|
"easing": {
|
|
2912
|
-
"value": "{motion.easing.
|
|
2966
|
+
"value": "{motion.easing.easeInOut}",
|
|
2913
2967
|
"type": "easing"
|
|
2914
2968
|
},
|
|
2915
2969
|
"duration": {
|
|
2916
|
-
"value": "{motion.duration.fast.
|
|
2970
|
+
"value": "{motion.duration.fast.02}",
|
|
2917
2971
|
"type": "duration"
|
|
2918
2972
|
}
|
|
2919
2973
|
},
|
|
2920
2974
|
"out": {
|
|
2921
2975
|
"easing": {
|
|
2922
|
-
"value": "{motion.easing.
|
|
2976
|
+
"value": "{motion.easing.easeOut}",
|
|
2923
2977
|
"type": "easing"
|
|
2924
2978
|
},
|
|
2925
2979
|
"duration": {
|
|
2926
|
-
"value": "{motion.duration.fast.
|
|
2980
|
+
"value": "{motion.duration.fast.01}",
|
|
2927
2981
|
"type": "duration"
|
|
2928
2982
|
}
|
|
2929
2983
|
}
|
|
2930
2984
|
}
|
|
2931
2985
|
},
|
|
2932
2986
|
"focus": {
|
|
2987
|
+
"spacing": {
|
|
2988
|
+
"value": "{spacing.adjust.01}",
|
|
2989
|
+
"type": "spacing"
|
|
2990
|
+
},
|
|
2991
|
+
"borderWidth": {
|
|
2992
|
+
"high": {
|
|
2993
|
+
"value": "{surface.borderWidth.03}",
|
|
2994
|
+
"type": "borderWidth"
|
|
2995
|
+
},
|
|
2996
|
+
"low": {
|
|
2997
|
+
"value": "{surface.borderWidth.02}",
|
|
2998
|
+
"type": "borderWidth"
|
|
2999
|
+
}
|
|
3000
|
+
},
|
|
2933
3001
|
"motion": {
|
|
2934
3002
|
"in": {
|
|
2935
3003
|
"easing": {
|
|
@@ -2951,24 +3019,6 @@
|
|
|
2951
3019
|
"type": "duration"
|
|
2952
3020
|
}
|
|
2953
3021
|
}
|
|
2954
|
-
},
|
|
2955
|
-
"spacing": {
|
|
2956
|
-
"value": "{spacing.adjust.01}",
|
|
2957
|
-
"type": "spacing"
|
|
2958
|
-
},
|
|
2959
|
-
"borderWidth": {
|
|
2960
|
-
"base": {
|
|
2961
|
-
"value": "{surface.borderWidth.03}",
|
|
2962
|
-
"type": "borderWidth"
|
|
2963
|
-
},
|
|
2964
|
-
"alternative": {
|
|
2965
|
-
"value": "{surface.borderWidth.02}",
|
|
2966
|
-
"type": "borderWidth"
|
|
2967
|
-
}
|
|
2968
|
-
},
|
|
2969
|
-
"borderStyle": {
|
|
2970
|
-
"value": "dashed",
|
|
2971
|
-
"type": "borderStyle"
|
|
2972
3022
|
}
|
|
2973
3023
|
},
|
|
2974
3024
|
"active": {
|
|
@@ -3029,8 +3079,8 @@
|
|
|
3029
3079
|
"type": "borderWidth"
|
|
3030
3080
|
},
|
|
3031
3081
|
"rotation": {
|
|
3032
|
-
"value":
|
|
3033
|
-
"type": "
|
|
3082
|
+
"value": 5,
|
|
3083
|
+
"type": "number"
|
|
3034
3084
|
},
|
|
3035
3085
|
"opacity": {
|
|
3036
3086
|
"value": "{surface.opacity.07}",
|
|
@@ -3038,14 +3088,12 @@
|
|
|
3038
3088
|
}
|
|
3039
3089
|
},
|
|
3040
3090
|
"dropzone": {
|
|
3041
|
-
"
|
|
3091
|
+
"borderWidth": {
|
|
3042
3092
|
"value": "{surface.borderWidth.01}",
|
|
3043
3093
|
"type": "borderWidth"
|
|
3044
|
-
}
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
"type": "borderStyle"
|
|
3048
|
-
},
|
|
3094
|
+
}
|
|
3095
|
+
},
|
|
3096
|
+
"dropzoneActive": {
|
|
3049
3097
|
"opacity": {
|
|
3050
3098
|
"value": "{surface.opacity.03}",
|
|
3051
3099
|
"type": "opacity"
|
|
@@ -3053,25 +3101,29 @@
|
|
|
3053
3101
|
},
|
|
3054
3102
|
"on": {
|
|
3055
3103
|
"motion": {
|
|
3056
|
-
"
|
|
3057
|
-
"
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
"
|
|
3062
|
-
|
|
3104
|
+
"in": {
|
|
3105
|
+
"easing": {
|
|
3106
|
+
"value": "{motion.easing.bounceOut}",
|
|
3107
|
+
"type": "easing"
|
|
3108
|
+
},
|
|
3109
|
+
"duration": {
|
|
3110
|
+
"value": "{motion.duration.fast.04}",
|
|
3111
|
+
"type": "duration"
|
|
3112
|
+
}
|
|
3063
3113
|
}
|
|
3064
3114
|
}
|
|
3065
3115
|
},
|
|
3066
3116
|
"off": {
|
|
3067
3117
|
"motion": {
|
|
3068
|
-
"
|
|
3069
|
-
"
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
"
|
|
3074
|
-
|
|
3118
|
+
"in": {
|
|
3119
|
+
"easing": {
|
|
3120
|
+
"value": "{motion.easing.bounceOut}",
|
|
3121
|
+
"type": "easing"
|
|
3122
|
+
},
|
|
3123
|
+
"duration": {
|
|
3124
|
+
"value": "{motion.duration.fast.04}",
|
|
3125
|
+
"type": "duration"
|
|
3126
|
+
}
|
|
3075
3127
|
}
|
|
3076
3128
|
}
|
|
3077
3129
|
}
|