@govbr-ds/tokens 4.0.0-next.3 → 4.0.0-next.4

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.
@@ -1,4 +1,5 @@
1
1
  [data-br-theme="dark"] {
2
+ --theme-shadow-color: rgba(0, 0, 0, 0.6);
2
3
  --theme-text-main-base: #FCFCFC;
3
4
  --theme-text-main-alternative: #CCCCCC;
4
5
  --theme-text-contrast-base: #FCFCFC;
@@ -1,4 +1,5 @@
1
1
  [data-br-theme="light"] {
2
+ --theme-shadow-color: rgba(0, 0, 0, 0.2);
2
3
  --theme-text-main-base: #1B1B1B;
3
4
  --theme-text-main-alternative: #636363;
4
5
  --theme-text-contrast-base: #FCFCFC;
@@ -463,10 +463,8 @@
463
463
  --color-magenta-vivid-80: #4F172E;
464
464
  --typography-font-family-noto-sans: 'Noto Sans';
465
465
  --typography-font-family-noto-serif: 'Noto Serif';
466
- --typography-font-family-noto-mono: 'Noto Mono';
466
+ --typography-font-family-noto-mono: 'Noto Sans Mono';
467
467
  --typography-font-family-rawline-sans: Rawline;
468
- --typography-font-family-font-awesome-free: 'Font Awesome 6 Free'; /* Selecione 'solid' para o funcionamento adequado. */
469
- --typography-font-family-font-awesome-brands: 'Font Awesome 6 Brands'; /* Selecione 'solid' para o funcionamento adequado. */
470
468
  --typography-font-weight-thin: 100;
471
469
  --typography-font-weight-extra-light: 200;
472
470
  --typography-font-weight-light: 300;
@@ -505,9 +503,13 @@
505
503
  --typography-font-style-placeholder: 400 italic 1.125rem/1 'Noto Sans';
506
504
  --typography-font-style-paragraph: 400 16px/1.5 'Noto Sans';
507
505
  --typography-font-style-input: 500 16px/1.5 'Noto Sans';
508
- --typography-font-style-code: 400 16px/1.5 'Noto Mono';
506
+ --typography-font-style-code: 400 16px/1.5 'Noto Sans Mono';
509
507
  --typography-font-style-label: 600 0.889rem/1.5 'Noto Sans';
510
508
  --typography-font-style-basic: 400 16px/1.5 'Noto Sans';
509
+ --iconography-font-family-font-awesome-free: 'Font Awesome 6 Free';
510
+ --iconography-font-family-font-awesome-brands: 'Font Awesome 6 Brands';
511
+ --iconography-icon-style-solid: Solid 16px/1 'Font Awesome 6 Free';
512
+ --iconography-icon-style-brand: 400 16px/1 'Font Awesome 6 Brands';
511
513
  --spacing-scale: 8;
512
514
  --spacing-none: 0;
513
515
  --spacing-layout-01: 8px;
@@ -545,7 +547,7 @@
545
547
  --surface-opacity-09: 0.9;
546
548
  --surface-opacity-full: 1;
547
549
  --surface-overlay-focus: rgba(0, 0, 0, 0.4);
548
- --surface-overlay-readability: linear-gradient (0deg, #000000 0%, rgba(0, 0, 0, 0.4) 100%);
550
+ --surface-overlay-readability: linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0.4) 100%);
549
551
  --grid-breakpoint-small-main: 100%;
550
552
  --grid-breakpoint-small-extra: 576px;
551
553
  --grid-breakpoint-medium-main: 992px;
@@ -572,25 +574,25 @@
572
574
  --elevation-color: #000000;
573
575
  --elevation-opacity-bright: 0.2;
574
576
  --elevation-opacity-dim: 0.6;
575
- --elevation-bright-rgba: rgba(0, 0, 0, 0.2);
576
- --elevation-dim-rgba: rgba(0, 0, 0, 0.6);
577
+ --elevation-offset-scale: 4;
577
578
  --elevation-offset-none: 0;
578
- --elevation-offset-01: 1px;
579
- --elevation-offset-02: 4px;
580
- --elevation-offset-03: 8px;
581
- --elevation-offset-04: 12px;
582
- --elevation-offset-05: 16px;
579
+ --elevation-offset-01: 1;
580
+ --elevation-offset-02: 4;
581
+ --elevation-offset-03: 8;
582
+ --elevation-offset-04: 12;
583
+ --elevation-offset-05: 16;
584
+ --elevation-blur-scale: 4;
583
585
  --elevation-blur-none: 0;
584
- --elevation-blur-01: 1px;
585
- --elevation-blur-02: 4px;
586
- --elevation-blur-03: 8px;
587
- --elevation-blur-04: 12px;
588
- --elevation-blur-05: 16px;
589
- --elevation-overlay-focus-color: #000000;
590
- --elevation-overlay-focus-opacity: 0.4;
591
- --elevation-overlay-legibility-color: #000000;
592
- --elevation-overlay-legibility-opacity-start: 1;
593
- --elevation-overlay-legibility-opacity-end: 0.4;
586
+ --elevation-blur-01: 1;
587
+ --elevation-blur-02: 4;
588
+ --elevation-blur-03: 8;
589
+ --elevation-blur-04: 12;
590
+ --elevation-blur-05: 16;
591
+ --elevation-level-0: 0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2);
592
+ --elevation-level-1: 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0 4px 0 rgba(0, 0, 0, 0.2);
593
+ --elevation-level-2: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2);
594
+ --elevation-level-3: 0 8px 8px 0 rgba(0, 0, 0, 0.2), 0 0 12px 0 rgba(0, 0, 0, 0.2);
595
+ --elevation-level-4: 0 12px 12px 0 rgba(0, 0, 0, 0.2), 0 0 16px 0 rgba(0, 0, 0, 0.2);
594
596
  --motion-easing-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
595
597
  --motion-easing-ease-in: cubic-bezier(0.42, 0, 1, 1);
596
598
  --motion-easing-ease-out: cubic-bezier(0, 0, 0.58, 1);
@@ -598,6 +600,7 @@
598
600
  --motion-easing-linear: cubic-bezier(0, 0, 1, 1);
599
601
  --motion-easing-bounce-out: cubic-bezier(0.25, 2.3, 0.57, -0.3);
600
602
  --motion-easing-elastic-out: cubic-bezier(0, 3, 0, 0.3);
603
+ --motion-duration-scale: 50ms;
601
604
  --motion-duration-none: 0;
602
605
  --motion-duration-fast-01: 50ms;
603
606
  --motion-duration-fast-02: 100ms;
@@ -622,8 +625,8 @@
622
625
  --state-hover-motion-in-duration: 100ms;
623
626
  --state-hover-motion-out-easing: cubic-bezier(0.42, 0, 1, 1);
624
627
  --state-hover-motion-out-duration: 100ms;
625
- --state-pressed-shadow-offset: 1px;
626
- --state-pressed-shadow-blur: 8px;
628
+ --state-pressed-shadow-offset: 1;
629
+ --state-pressed-shadow-blur: 8;
627
630
  --state-pressed-shadow-opacity: 0.5;
628
631
  --state-pressed-motion-in-easing: cubic-bezier(0, 0, 0.58, 1);
629
632
  --state-pressed-motion-in-duration: 150ms;
@@ -656,6 +659,7 @@
656
659
  --state-on-motion-duration: 100ms;
657
660
  --state-off-motion-easing: cubic-bezier(0, 0, 0.58, 1);
658
661
  --state-off-motion-duration: 100ms;
662
+ --theme-shadow-color: rgba(0, 0, 0, 0.2);
659
663
  --theme-text-main-base: #1B1B1B;
660
664
  --theme-text-main-alternative: #636363;
661
665
  --theme-text-contrast-base: #FCFCFC;
@@ -1,3 +1,4 @@
1
+ export const themeShadowColor = "rgba(0, 0, 0, 0.6)";
1
2
  export const themeTextMainBase = "#FCFCFC";
2
3
  export const themeTextMainAlternative = "#CCCCCC";
3
4
  export const themeTextContrastBase = "#FCFCFC";
@@ -1,3 +1,4 @@
1
+ export const themeShadowColor = "rgba(0, 0, 0, 0.2)";
1
2
  export const themeTextMainBase = "#1B1B1B";
2
3
  export const themeTextMainAlternative = "#636363";
3
4
  export const themeTextContrastBase = "#FCFCFC";
package/dist/js/tokens.js CHANGED
@@ -462,10 +462,8 @@ export const colorMagentaVivid70 = "#731F44";
462
462
  export const colorMagentaVivid80 = "#4F172E";
463
463
  export const typographyFontFamilyNotoSans = "'Noto Sans'";
464
464
  export const typographyFontFamilyNotoSerif = "'Noto Serif'";
465
- export const typographyFontFamilyNotoMono = "'Noto Mono'";
465
+ export const typographyFontFamilyNotoMono = "'Noto Sans Mono'";
466
466
  export const typographyFontFamilyRawlineSans = "Rawline";
467
- export const typographyFontFamilyFontAwesomeFree = "'Font Awesome 6 Free'"; // Selecione 'solid' para o funcionamento adequado.
468
- export const typographyFontFamilyFontAwesomeBrands = "'Font Awesome 6 Brands'"; // Selecione 'solid' para o funcionamento adequado.
469
467
  export const typographyFontWeightThin = 100;
470
468
  export const typographyFontWeightExtraLight = 200;
471
469
  export const typographyFontWeightLight = 300;
@@ -504,9 +502,13 @@ export const typographyFontStyleLegend = "600 1.125rem/1.5 'Noto Sans'";
504
502
  export const typographyFontStylePlaceholder = "400 italic 1.125rem/1 'Noto Sans'";
505
503
  export const typographyFontStyleParagraph = "400 16px/1.5 'Noto Sans'";
506
504
  export const typographyFontStyleInput = "500 16px/1.5 'Noto Sans'";
507
- export const typographyFontStyleCode = "400 16px/1.5 'Noto Mono'";
505
+ export const typographyFontStyleCode = "400 16px/1.5 'Noto Sans Mono'";
508
506
  export const typographyFontStyleLabel = "600 0.889rem/1.5 'Noto Sans'";
509
507
  export const typographyFontStyleBasic = "400 16px/1.5 'Noto Sans'";
508
+ export const iconographyFontFamilyFontAwesomeFree = "'Font Awesome 6 Free'";
509
+ export const iconographyFontFamilyFontAwesomeBrands = "'Font Awesome 6 Brands'";
510
+ export const iconographyIconStyleSolid = "Solid 16px/1 'Font Awesome 6 Free'";
511
+ export const iconographyIconStyleBrand = "400 16px/1 'Font Awesome 6 Brands'";
510
512
  export const spacingScale = 8;
511
513
  export const spacingNone = "0";
512
514
  export const spacingLayout01 = "8px";
@@ -544,7 +546,7 @@ export const surfaceOpacity08 = 0.8;
544
546
  export const surfaceOpacity09 = 0.9;
545
547
  export const surfaceOpacityFull = 1;
546
548
  export const surfaceOverlayFocus = "rgba(0, 0, 0, 0.4)";
547
- export const surfaceOverlayReadability = "linear-gradient (0deg, #000000 0%, rgba(0, 0, 0, 0.4) 100%)";
549
+ export const surfaceOverlayReadability = "linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0.4) 100%)";
548
550
  export const gridBreakpointSmallMain = "100%";
549
551
  export const gridBreakpointSmallExtra = "576px";
550
552
  export const gridBreakpointMediumMain = "992px";
@@ -571,25 +573,25 @@ export const gridMarginLargeSpacious = "40px";
571
573
  export const elevationColor = "#000000";
572
574
  export const elevationOpacityBright = 0.2;
573
575
  export const elevationOpacityDim = 0.6;
574
- export const elevationBrightRgba = "rgba(0, 0, 0, 0.2)";
575
- export const elevationDimRgba = "rgba(0, 0, 0, 0.6)";
576
+ export const elevationOffsetScale = 4;
576
577
  export const elevationOffsetNone = 0;
577
- export const elevationOffset01 = "1px";
578
- export const elevationOffset02 = "4px";
579
- export const elevationOffset03 = "8px";
580
- export const elevationOffset04 = "12px";
581
- export const elevationOffset05 = "16px";
578
+ export const elevationOffset01 = 1;
579
+ export const elevationOffset02 = 4;
580
+ export const elevationOffset03 = 8;
581
+ export const elevationOffset04 = 12;
582
+ export const elevationOffset05 = 16;
583
+ export const elevationBlurScale = 4;
582
584
  export const elevationBlurNone = 0;
583
- export const elevationBlur01 = "1px";
584
- export const elevationBlur02 = "4px";
585
- export const elevationBlur03 = "8px";
586
- export const elevationBlur04 = "12px";
587
- export const elevationBlur05 = "16px";
588
- export const elevationOverlayFocusColor = "#000000";
589
- export const elevationOverlayFocusOpacity = 0.4;
590
- export const elevationOverlayLegibilityColor = "#000000";
591
- export const elevationOverlayLegibilityOpacityStart = 1;
592
- export const elevationOverlayLegibilityOpacityEnd = 0.4;
585
+ export const elevationBlur01 = 1;
586
+ export const elevationBlur02 = 4;
587
+ export const elevationBlur03 = 8;
588
+ export const elevationBlur04 = 12;
589
+ export const elevationBlur05 = 16;
590
+ export const elevationLevel0 = "0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2)";
591
+ export const elevationLevel1 = "0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0 4px 0 rgba(0, 0, 0, 0.2)";
592
+ export const elevationLevel2 = "0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2)";
593
+ export const elevationLevel3 = "0 8px 8px 0 rgba(0, 0, 0, 0.2), 0 0 12px 0 rgba(0, 0, 0, 0.2)";
594
+ export const elevationLevel4 = "0 12px 12px 0 rgba(0, 0, 0, 0.2), 0 0 16px 0 rgba(0, 0, 0, 0.2)";
593
595
  export const motionEasingEase = "cubic-bezier(0.25, 0.1, 0.25, 1)";
594
596
  export const motionEasingEaseIn = "cubic-bezier(0.42, 0, 1, 1)";
595
597
  export const motionEasingEaseOut = "cubic-bezier(0, 0, 0.58, 1)";
@@ -597,54 +599,55 @@ export const motionEasingEaseInOut = "cubic-bezier(0.42, 0, 0.58, 1)";
597
599
  export const motionEasingLinear = "cubic-bezier(0, 0, 1, 1)";
598
600
  export const motionEasingBounceOut = "cubic-bezier(0.25, 2.3, 0.57, -0.3)";
599
601
  export const motionEasingElasticOut = "cubic-bezier(0, 3, 0, 0.3)";
602
+ export const motionDurationScale = 50;
600
603
  export const motionDurationNone = 0;
601
- export const motionDurationFast01 = "50ms";
602
- export const motionDurationFast02 = "100ms";
603
- export const motionDurationFast03 = "150ms";
604
- export const motionDurationFast04 = "200ms";
605
- export const motionDurationModerate01 = "250ms";
606
- export const motionDurationModerate02 = "300ms";
607
- export const motionDurationModerate03 = "350ms";
608
- export const motionDurationModerate04 = "400ms";
609
- export const motionDurationSlow01 = "450ms";
610
- export const motionDurationSlow02 = "500ms";
611
- export const motionDurationSlow03 = "550ms";
612
- export const motionDurationSlow04 = "600ms";
613
- export const motionDurationVerySlow01 = "700ms";
614
- export const motionDurationVerySlow02 = "800ms";
615
- export const motionDurationVerySlow03 = "900ms";
616
- export const motionDurationVerySlow04 = "1000ms";
604
+ export const motionDurationFast01 = 50;
605
+ export const motionDurationFast02 = 100;
606
+ export const motionDurationFast03 = 150;
607
+ export const motionDurationFast04 = 200;
608
+ export const motionDurationModerate01 = 250;
609
+ export const motionDurationModerate02 = 300;
610
+ export const motionDurationModerate03 = 350;
611
+ export const motionDurationModerate04 = 400;
612
+ export const motionDurationSlow01 = 450;
613
+ export const motionDurationSlow02 = 500;
614
+ export const motionDurationSlow03 = 550;
615
+ export const motionDurationSlow04 = 600;
616
+ export const motionDurationVerySlow01 = 700;
617
+ export const motionDurationVerySlow02 = 800;
618
+ export const motionDurationVerySlow03 = 900;
619
+ export const motionDurationVerySlow04 = 1000;
617
620
  export const stateDisabledOpacity = 0.4;
618
621
  export const stateHoverBrightOpacity = 0.6;
619
622
  export const stateHoverDimOpacity = 0.8;
620
623
  export const stateHoverMotionInEasing = "cubic-bezier(0, 0, 0.58, 1)";
621
- export const stateHoverMotionInDuration = "100ms";
624
+ export const stateHoverMotionInDuration = 100;
622
625
  export const stateHoverMotionOutEasing = "cubic-bezier(0.42, 0, 1, 1)";
623
- export const stateHoverMotionOutDuration = "100ms";
624
- export const statePressedShadowOffset = "1px";
625
- export const statePressedShadowBlur = "8px";
626
+ export const stateHoverMotionOutDuration = 100;
627
+ export const statePressedShadowOffset = 1;
628
+ export const statePressedShadowBlur = 8;
626
629
  export const statePressedShadowOpacity = 0.5;
627
630
  export const statePressedMotionInEasing = "cubic-bezier(0, 0, 0.58, 1)";
628
- export const statePressedMotionInDuration = "150ms";
631
+ export const statePressedMotionInDuration = 150;
629
632
  export const statePressedMotionOutEasing = "cubic-bezier(0.42, 0, 1, 1)";
630
- export const statePressedMotionOutDuration = "100ms";
633
+ export const statePressedMotionOutDuration = 100;
631
634
  export const stateFocusMotionInEasing = "cubic-bezier(0, 3, 0, 0.3)";
632
- export const stateFocusMotionInDuration = "200ms";
635
+ export const stateFocusMotionInDuration = 200;
633
636
  export const stateFocusMotionOutEasing = "cubic-bezier(0, 0, 0.58, 1)";
634
- export const stateFocusMotionOutDuration = "100ms";
637
+ export const stateFocusMotionOutDuration = 100;
635
638
  export const stateFocusSpacing = "4px";
636
639
  export const stateFocusBorderWidthBase = "3px";
637
640
  export const stateFocusBorderWidthAlternative = "2px";
638
641
  export const stateFocusBorderStyle = "dashed";
639
642
  export const stateActiveBorderWidth = "4px";
640
643
  export const stateActiveMotionInEasing = "cubic-bezier(0, 0, 0.58, 1)";
641
- export const stateActiveMotionInDuration = "150ms";
644
+ export const stateActiveMotionInDuration = 150;
642
645
  export const stateActiveMotionOutEasing = "cubic-bezier(0.42, 0, 1, 1)";
643
- export const stateActiveMotionOutDuration = "100ms";
646
+ export const stateActiveMotionOutDuration = 100;
644
647
  export const stateSelectedMotionInEasing = "cubic-bezier(0, 0, 0.58, 1)";
645
- export const stateSelectedMotionInDuration = "150ms";
648
+ export const stateSelectedMotionInDuration = 150;
646
649
  export const stateSelectedMotionOutEasing = "cubic-bezier(0.42, 0, 1, 1)";
647
- export const stateSelectedMotionOutDuration = "100ms";
650
+ export const stateSelectedMotionOutDuration = 100;
648
651
  export const stateGrabbingBorderWidth = "2px";
649
652
  export const stateGrabbingRotation = -5;
650
653
  export const stateGrabbingOpacity = 0.7;
@@ -652,9 +655,10 @@ export const stateDropzoneBorderWidth = "1px";
652
655
  export const stateDropzoneBorderStyle = "dashed";
653
656
  export const stateDropzoneOpacity = 0.3;
654
657
  export const stateOnMotionEasing = "cubic-bezier(0, 0, 0.58, 1)";
655
- export const stateOnMotionDuration = "100ms";
658
+ export const stateOnMotionDuration = 100;
656
659
  export const stateOffMotionEasing = "cubic-bezier(0, 0, 0.58, 1)";
657
- export const stateOffMotionDuration = "100ms";
660
+ export const stateOffMotionDuration = 100;
661
+ export const themeShadowColor = "rgba(0, 0, 0, 0.2)";
658
662
  export const themeTextMainBase = "#1B1B1B";
659
663
  export const themeTextMainAlternative = "#636363";
660
664
  export const themeTextContrastBase = "#FCFCFC";