@govbr-ds/tokens 4.0.0-next.1 → 4.0.0-next.3
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/tokens.css +75 -35
- package/dist/js/tokens.js +75 -35
- package/dist/json/tokens.json +1921 -1206
- package/dist/scss/_tokens.scss +76 -36
- package/package.json +1 -1
- package/src/figma/tokens.json +76 -150
- package/src/figma/variables/grid.json +120 -0
- package/src/figma/variables/manifest.json +14 -4
- package/src/figma/variables/surface.json +18 -16
- package/src/figma/variables/typography.json +122 -120
- package/src/style-dictionary/themes/dark.json +75 -149
- package/src/style-dictionary/themes/light.json +75 -149
- package/src/style-dictionary/tokens.json +75 -149
package/dist/css/tokens.css
CHANGED
|
@@ -546,41 +546,29 @@
|
|
|
546
546
|
--surface-opacity-full: 1;
|
|
547
547
|
--surface-overlay-focus: rgba(0, 0, 0, 0.4);
|
|
548
548
|
--surface-overlay-readability: linear-gradient (0deg, #000000 0%, rgba(0, 0, 0, 0.4) 100%);
|
|
549
|
-
--grid-
|
|
550
|
-
--grid-
|
|
551
|
-
--grid-
|
|
552
|
-
--grid-
|
|
553
|
-
--grid-
|
|
554
|
-
--grid-
|
|
555
|
-
--grid-
|
|
556
|
-
--grid-
|
|
557
|
-
--grid-
|
|
558
|
-
--grid-
|
|
559
|
-
--grid-
|
|
560
|
-
--grid-
|
|
561
|
-
--grid-
|
|
562
|
-
--grid-
|
|
563
|
-
--grid-
|
|
564
|
-
--grid-
|
|
565
|
-
--grid-
|
|
566
|
-
--grid-
|
|
567
|
-
--grid-
|
|
568
|
-
--grid-
|
|
569
|
-
--grid-
|
|
570
|
-
--grid-
|
|
571
|
-
--grid-
|
|
572
|
-
--grid-lg-gutter-density-high: 32px;
|
|
573
|
-
--grid-lg-gutter-density-low: 40px;
|
|
574
|
-
--grid-lg-margin-default: 40px;
|
|
575
|
-
--grid-lg-margin-density-high: 32px;
|
|
576
|
-
--grid-lg-margin-density-low: 40px;
|
|
577
|
-
--grid-xl-breakpoint: 1600px;
|
|
578
|
-
--grid-xl-gutter-default: 40px;
|
|
579
|
-
--grid-xl-gutter-desity-high: 32px;
|
|
580
|
-
--grid-xl-gutter-desity-low: 40px;
|
|
581
|
-
--grid-xl-margin-default: 40px;
|
|
582
|
-
--grid-xl-margin-density-high: 32px;
|
|
583
|
-
--grid-xl-margin-density-low: 40px;
|
|
549
|
+
--grid-breakpoint-small-main: 100%;
|
|
550
|
+
--grid-breakpoint-small-extra: 576px;
|
|
551
|
+
--grid-breakpoint-medium-main: 992px;
|
|
552
|
+
--grid-breakpoint-large-main: 1280px;
|
|
553
|
+
--grid-breakpoint-large-extra: 1600px;
|
|
554
|
+
--grid-gutter-small-compact: 8px;
|
|
555
|
+
--grid-gutter-small-regular: 16px;
|
|
556
|
+
--grid-gutter-small-spacious: 24px;
|
|
557
|
+
--grid-gutter-medium-compact: 16px;
|
|
558
|
+
--grid-gutter-medium-regular: 24px;
|
|
559
|
+
--grid-gutter-medium-spacious: 32px;
|
|
560
|
+
--grid-gutter-large-compact: 32px;
|
|
561
|
+
--grid-gutter-large-regular: 40px;
|
|
562
|
+
--grid-gutter-large-spacious: 40px;
|
|
563
|
+
--grid-margin-small-compact: 8px;
|
|
564
|
+
--grid-margin-small-regular: 8px;
|
|
565
|
+
--grid-margin-small-spacious: 16px;
|
|
566
|
+
--grid-margin-medium-compact: 24px;
|
|
567
|
+
--grid-margin-medium-regular: 32px;
|
|
568
|
+
--grid-margin-medium-spacious: 40px;
|
|
569
|
+
--grid-margin-large-compact: 32px;
|
|
570
|
+
--grid-margin-large-regular: 40px;
|
|
571
|
+
--grid-margin-large-spacious: 40px;
|
|
584
572
|
--elevation-color: #000000;
|
|
585
573
|
--elevation-opacity-bright: 0.2;
|
|
586
574
|
--elevation-opacity-dim: 0.6;
|
|
@@ -668,4 +656,56 @@
|
|
|
668
656
|
--state-on-motion-duration: 100ms;
|
|
669
657
|
--state-off-motion-easing: cubic-bezier(0, 0, 0.58, 1);
|
|
670
658
|
--state-off-motion-duration: 100ms;
|
|
659
|
+
--theme-text-main-base: #1B1B1B;
|
|
660
|
+
--theme-text-main-alternative: #636363;
|
|
661
|
+
--theme-text-contrast-base: #FCFCFC;
|
|
662
|
+
--theme-text-contrast-alternative: #CCCCCC;
|
|
663
|
+
--theme-surface-main-base: #FCFCFC;
|
|
664
|
+
--theme-surface-main-alternative: #F0F0F0;
|
|
665
|
+
--theme-surface-contrast-base: #252F3E;
|
|
666
|
+
--theme-surface-contrast-alternative: #2F4668;
|
|
667
|
+
--theme-surface-text-main-base: #1B1B1B;
|
|
668
|
+
--theme-surface-text-main-alternative: #1B1B1B;
|
|
669
|
+
--theme-surface-text-contrast-base: #FCFCFC;
|
|
670
|
+
--theme-surface-text-contrast-alternative: #FCFCFC;
|
|
671
|
+
--theme-border-base: #CCCCCC;
|
|
672
|
+
--theme-border-alternative: #888888;
|
|
673
|
+
--theme-interactive-main: #0040B4;
|
|
674
|
+
--theme-interactive-contrast: #ADCDFF;
|
|
675
|
+
--theme-interactive-text-main: #FFFFFF;
|
|
676
|
+
--theme-interactive-text-contrast: #000000;
|
|
677
|
+
--theme-cta-main: #216E1F;
|
|
678
|
+
--theme-cta-contrast: #70E17B;
|
|
679
|
+
--theme-cta-text-main: #FFFFFF;
|
|
680
|
+
--theme-cta-text-contrast: #000000;
|
|
681
|
+
--theme-success-main: #538200;
|
|
682
|
+
--theme-success-text: #FFFFFF;
|
|
683
|
+
--theme-alert-main: #FFCD07;
|
|
684
|
+
--theme-alert-text: #000000;
|
|
685
|
+
--theme-error-main: #E52207;
|
|
686
|
+
--theme-error-text: #FFFFFF;
|
|
687
|
+
--theme-disabled-main: #4A4A4A;
|
|
688
|
+
--theme-disabled-contrast: #CCCCCC;
|
|
689
|
+
--theme-visited-main: #2F4668;
|
|
690
|
+
--theme-visited-contrast: #C5D4EB;
|
|
691
|
+
--theme-hover-bright: rgba(212, 229, 255, 0.6);
|
|
692
|
+
--theme-hover-dim: rgba(12, 50, 111, 0.8);
|
|
693
|
+
--theme-focus-main: #DA680B;
|
|
694
|
+
--theme-focus-contrast: #FF8C00;
|
|
695
|
+
--theme-active-main: #0C326F;
|
|
696
|
+
--theme-active-contrast: #81AEFC;
|
|
697
|
+
--theme-active-text-main: #FFFFFF;
|
|
698
|
+
--theme-active-text-contrast: #000000;
|
|
699
|
+
--theme-selected-main: #2670E8;
|
|
700
|
+
--theme-selected-contrast: #5992ED;
|
|
701
|
+
--theme-selected-text-main: #FFFFFF;
|
|
702
|
+
--theme-selected-text-contrast: #000000;
|
|
703
|
+
--theme-on-main: #5992ED;
|
|
704
|
+
--theme-on-contrast: #2670E8;
|
|
705
|
+
--theme-on-text-main: #000000;
|
|
706
|
+
--theme-on-text-contrast: #FFFFFF;
|
|
707
|
+
--theme-off-main: #888888;
|
|
708
|
+
--theme-off-contrast: #757575;
|
|
709
|
+
--theme-off-text-main: #000000;
|
|
710
|
+
--theme-off-text-contrast: #FFFFFF;
|
|
671
711
|
}
|
package/dist/js/tokens.js
CHANGED
|
@@ -545,41 +545,29 @@ export const surfaceOpacity09 = 0.9;
|
|
|
545
545
|
export const surfaceOpacityFull = 1;
|
|
546
546
|
export const surfaceOverlayFocus = "rgba(0, 0, 0, 0.4)";
|
|
547
547
|
export const surfaceOverlayReadability = "linear-gradient (0deg, #000000 0%, rgba(0, 0, 0, 0.4) 100%)";
|
|
548
|
-
export const
|
|
549
|
-
export const
|
|
550
|
-
export const
|
|
551
|
-
export const
|
|
552
|
-
export const
|
|
553
|
-
export const
|
|
554
|
-
export const
|
|
555
|
-
export const
|
|
556
|
-
export const
|
|
557
|
-
export const
|
|
558
|
-
export const
|
|
559
|
-
export const
|
|
560
|
-
export const
|
|
561
|
-
export const
|
|
562
|
-
export const
|
|
563
|
-
export const
|
|
564
|
-
export const
|
|
565
|
-
export const
|
|
566
|
-
export const
|
|
567
|
-
export const
|
|
568
|
-
export const
|
|
569
|
-
export const
|
|
570
|
-
export const
|
|
571
|
-
export const gridLgGutterDensityHigh = "32px";
|
|
572
|
-
export const gridLgGutterDensityLow = "40px";
|
|
573
|
-
export const gridLgMarginDefault = "40px";
|
|
574
|
-
export const gridLgMarginDensityHigh = "32px";
|
|
575
|
-
export const gridLgMarginDensityLow = "40px";
|
|
576
|
-
export const gridXlBreakpoint = "1600px";
|
|
577
|
-
export const gridXlGutterDefault = "40px";
|
|
578
|
-
export const gridXlGutterDesityHigh = "32px";
|
|
579
|
-
export const gridXlGutterDesityLow = "40px";
|
|
580
|
-
export const gridXlMarginDefault = "40px";
|
|
581
|
-
export const gridXlMarginDensityHigh = "32px";
|
|
582
|
-
export const gridXlMarginDensityLow = "40px";
|
|
548
|
+
export const gridBreakpointSmallMain = "100%";
|
|
549
|
+
export const gridBreakpointSmallExtra = "576px";
|
|
550
|
+
export const gridBreakpointMediumMain = "992px";
|
|
551
|
+
export const gridBreakpointLargeMain = "1280px";
|
|
552
|
+
export const gridBreakpointLargeExtra = "1600px";
|
|
553
|
+
export const gridGutterSmallCompact = "8px";
|
|
554
|
+
export const gridGutterSmallRegular = "16px";
|
|
555
|
+
export const gridGutterSmallSpacious = "24px";
|
|
556
|
+
export const gridGutterMediumCompact = "16px";
|
|
557
|
+
export const gridGutterMediumRegular = "24px";
|
|
558
|
+
export const gridGutterMediumSpacious = "32px";
|
|
559
|
+
export const gridGutterLargeCompact = "32px";
|
|
560
|
+
export const gridGutterLargeRegular = "40px";
|
|
561
|
+
export const gridGutterLargeSpacious = "40px";
|
|
562
|
+
export const gridMarginSmallCompact = "8px";
|
|
563
|
+
export const gridMarginSmallRegular = "8px";
|
|
564
|
+
export const gridMarginSmallSpacious = "16px";
|
|
565
|
+
export const gridMarginMediumCompact = "24px";
|
|
566
|
+
export const gridMarginMediumRegular = "32px";
|
|
567
|
+
export const gridMarginMediumSpacious = "40px";
|
|
568
|
+
export const gridMarginLargeCompact = "32px";
|
|
569
|
+
export const gridMarginLargeRegular = "40px";
|
|
570
|
+
export const gridMarginLargeSpacious = "40px";
|
|
583
571
|
export const elevationColor = "#000000";
|
|
584
572
|
export const elevationOpacityBright = 0.2;
|
|
585
573
|
export const elevationOpacityDim = 0.6;
|
|
@@ -667,3 +655,55 @@ export const stateOnMotionEasing = "cubic-bezier(0, 0, 0.58, 1)";
|
|
|
667
655
|
export const stateOnMotionDuration = "100ms";
|
|
668
656
|
export const stateOffMotionEasing = "cubic-bezier(0, 0, 0.58, 1)";
|
|
669
657
|
export const stateOffMotionDuration = "100ms";
|
|
658
|
+
export const themeTextMainBase = "#1B1B1B";
|
|
659
|
+
export const themeTextMainAlternative = "#636363";
|
|
660
|
+
export const themeTextContrastBase = "#FCFCFC";
|
|
661
|
+
export const themeTextContrastAlternative = "#CCCCCC";
|
|
662
|
+
export const themeSurfaceMainBase = "#FCFCFC";
|
|
663
|
+
export const themeSurfaceMainAlternative = "#F0F0F0";
|
|
664
|
+
export const themeSurfaceContrastBase = "#252F3E";
|
|
665
|
+
export const themeSurfaceContrastAlternative = "#2F4668";
|
|
666
|
+
export const themeSurfaceTextMainBase = "#1B1B1B";
|
|
667
|
+
export const themeSurfaceTextMainAlternative = "#1B1B1B";
|
|
668
|
+
export const themeSurfaceTextContrastBase = "#FCFCFC";
|
|
669
|
+
export const themeSurfaceTextContrastAlternative = "#FCFCFC";
|
|
670
|
+
export const themeBorderBase = "#CCCCCC";
|
|
671
|
+
export const themeBorderAlternative = "#888888";
|
|
672
|
+
export const themeInteractiveMain = "#0040B4";
|
|
673
|
+
export const themeInteractiveContrast = "#ADCDFF";
|
|
674
|
+
export const themeInteractiveTextMain = "#FFFFFF";
|
|
675
|
+
export const themeInteractiveTextContrast = "#000000";
|
|
676
|
+
export const themeCtaMain = "#216E1F";
|
|
677
|
+
export const themeCtaContrast = "#70E17B";
|
|
678
|
+
export const themeCtaTextMain = "#FFFFFF";
|
|
679
|
+
export const themeCtaTextContrast = "#000000";
|
|
680
|
+
export const themeSuccessMain = "#538200";
|
|
681
|
+
export const themeSuccessText = "#FFFFFF";
|
|
682
|
+
export const themeAlertMain = "#FFCD07";
|
|
683
|
+
export const themeAlertText = "#000000";
|
|
684
|
+
export const themeErrorMain = "#E52207";
|
|
685
|
+
export const themeErrorText = "#FFFFFF";
|
|
686
|
+
export const themeDisabledMain = "#4A4A4A";
|
|
687
|
+
export const themeDisabledContrast = "#CCCCCC";
|
|
688
|
+
export const themeVisitedMain = "#2F4668";
|
|
689
|
+
export const themeVisitedContrast = "#C5D4EB";
|
|
690
|
+
export const themeHoverBright = "rgba(212, 229, 255, 0.6)";
|
|
691
|
+
export const themeHoverDim = "rgba(12, 50, 111, 0.8)";
|
|
692
|
+
export const themeFocusMain = "#DA680B";
|
|
693
|
+
export const themeFocusContrast = "#FF8C00";
|
|
694
|
+
export const themeActiveMain = "#0C326F";
|
|
695
|
+
export const themeActiveContrast = "#81AEFC";
|
|
696
|
+
export const themeActiveTextMain = "#FFFFFF";
|
|
697
|
+
export const themeActiveTextContrast = "#000000";
|
|
698
|
+
export const themeSelectedMain = "#2670E8";
|
|
699
|
+
export const themeSelectedContrast = "#5992ED";
|
|
700
|
+
export const themeSelectedTextMain = "#FFFFFF";
|
|
701
|
+
export const themeSelectedTextContrast = "#000000";
|
|
702
|
+
export const themeOnMain = "#5992ED";
|
|
703
|
+
export const themeOnContrast = "#2670E8";
|
|
704
|
+
export const themeOnTextMain = "#000000";
|
|
705
|
+
export const themeOnTextContrast = "#FFFFFF";
|
|
706
|
+
export const themeOffMain = "#888888";
|
|
707
|
+
export const themeOffContrast = "#757575";
|
|
708
|
+
export const themeOffTextMain = "#000000";
|
|
709
|
+
export const themeOffTextContrast = "#FFFFFF";
|