@primer/primitives 11.4.0 → 11.4.1-rc.4e2d1de5
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/DESIGN_TOKENS_GUIDE.md +185 -0
- package/DESIGN_TOKENS_SPEC.md +565 -0
- package/dist/build/formats/markdownLlmGuidelines.d.ts +7 -6
- package/dist/build/formats/markdownLlmGuidelines.js +1034 -60
- package/dist/build/schemas/borderToken.d.ts +16 -2
- package/dist/build/schemas/dimensionToken.d.ts +8 -1
- package/dist/build/schemas/dimensionValue.d.ts +24 -1
- package/dist/build/schemas/dimensionValue.js +20 -1
- package/dist/build/schemas/durationToken.d.ts +7 -1
- package/dist/build/schemas/durationValue.d.ts +11 -1
- package/dist/build/schemas/durationValue.js +13 -3
- package/dist/build/schemas/shadowToken.d.ts +672 -84
- package/dist/build/schemas/transitionToken.d.ts +14 -2
- package/dist/build/schemas/typographyToken.d.ts +32 -4
- package/dist/build/transformers/dimensionToPixelUnitless.d.ts +3 -2
- package/dist/build/transformers/dimensionToPixelUnitless.js +22 -26
- package/dist/build/transformers/dimensionToRem.d.ts +2 -1
- package/dist/build/transformers/dimensionToRem.js +21 -22
- package/dist/build/transformers/dimensionToRemPxArray.d.ts +2 -1
- package/dist/build/transformers/dimensionToRemPxArray.js +21 -22
- package/dist/build/transformers/durationToCss.d.ts +2 -1
- package/dist/build/transformers/durationToCss.js +18 -11
- package/dist/build/transformers/utilities/parseDimension.d.ts +12 -0
- package/dist/build/transformers/utilities/parseDimension.js +31 -0
- package/dist/build/types/dimensionTokenValue.d.ts +9 -0
- package/dist/css/functional/themes/dark-colorblind-high-contrast.css +18 -14
- package/dist/css/functional/themes/dark-colorblind.css +18 -14
- package/dist/css/functional/themes/dark-dimmed-high-contrast.css +18 -14
- package/dist/css/functional/themes/dark-dimmed.css +18 -14
- package/dist/css/functional/themes/dark-high-contrast.css +18 -14
- package/dist/css/functional/themes/dark-tritanopia-high-contrast.css +18 -14
- package/dist/css/functional/themes/dark-tritanopia.css +18 -14
- package/dist/css/functional/themes/dark.css +18 -14
- package/dist/css/functional/themes/light-colorblind-high-contrast.css +18 -14
- package/dist/css/functional/themes/light-colorblind.css +18 -14
- package/dist/css/functional/themes/light-high-contrast.css +18 -14
- package/dist/css/functional/themes/light-tritanopia-high-contrast.css +18 -14
- package/dist/css/functional/themes/light-tritanopia.css +18 -14
- package/dist/css/functional/themes/light.css +18 -14
- package/dist/css/primitives.css +4 -0
- package/dist/docs/base/motion/motion.json +96 -24
- package/dist/docs/base/size/size.json +76 -19
- package/dist/docs/base/typography/typography.json +24 -6
- package/dist/docs/functional/size/border.json +20 -5
- package/dist/docs/functional/size/breakpoints.json +24 -6
- package/dist/docs/functional/size/radius.json +16 -4
- package/dist/docs/functional/size/size.json +60 -15
- package/dist/docs/functional/themes/dark-colorblind-high-contrast.json +109 -7
- package/dist/docs/functional/themes/dark-colorblind.json +109 -7
- package/dist/docs/functional/themes/dark-dimmed-high-contrast.json +109 -7
- package/dist/docs/functional/themes/dark-dimmed.json +109 -7
- package/dist/docs/functional/themes/dark-high-contrast.json +109 -7
- package/dist/docs/functional/themes/dark-tritanopia-high-contrast.json +109 -7
- package/dist/docs/functional/themes/dark-tritanopia.json +109 -7
- package/dist/docs/functional/themes/dark.json +109 -7
- package/dist/docs/functional/themes/light-colorblind-high-contrast.json +115 -13
- package/dist/docs/functional/themes/light-colorblind.json +115 -13
- package/dist/docs/functional/themes/light-high-contrast.json +115 -13
- package/dist/docs/functional/themes/light-tritanopia-high-contrast.json +115 -13
- package/dist/docs/functional/themes/light-tritanopia.json +115 -13
- package/dist/docs/functional/themes/light.json +115 -13
- package/dist/docs/functional/typography/typography.json +8 -2
- package/dist/fallbacks/base/motion/motion.json +48 -12
- package/dist/figma/themes/light-colorblind.json +4 -4
- package/dist/figma/themes/light-high-contrast.json +4 -4
- package/dist/figma/themes/light-tritanopia.json +4 -4
- package/dist/figma/themes/light.json +4 -4
- package/dist/internalCss/dark-colorblind-high-contrast.css +14 -14
- package/dist/internalCss/dark-colorblind.css +14 -14
- package/dist/internalCss/dark-dimmed-high-contrast.css +14 -14
- package/dist/internalCss/dark-dimmed.css +14 -14
- package/dist/internalCss/dark-high-contrast.css +14 -14
- package/dist/internalCss/dark-tritanopia-high-contrast.css +14 -14
- package/dist/internalCss/dark-tritanopia.css +14 -14
- package/dist/internalCss/dark.css +14 -14
- package/dist/internalCss/light-colorblind-high-contrast.css +14 -14
- package/dist/internalCss/light-colorblind.css +14 -14
- package/dist/internalCss/light-high-contrast.css +14 -14
- package/dist/internalCss/light-tritanopia-high-contrast.css +14 -14
- package/dist/internalCss/light-tritanopia.css +14 -14
- package/dist/internalCss/light.css +14 -14
- package/dist/styleLint/base/motion/motion.json +96 -24
- package/dist/styleLint/base/size/size.json +76 -19
- package/dist/styleLint/base/typography/typography.json +30 -12
- package/dist/styleLint/functional/size/border.json +21 -6
- package/dist/styleLint/functional/size/breakpoints.json +24 -6
- package/dist/styleLint/functional/size/radius.json +17 -5
- package/dist/styleLint/functional/size/size-coarse.json +3 -3
- package/dist/styleLint/functional/size/size-fine.json +3 -3
- package/dist/styleLint/functional/size/size.json +111 -66
- package/dist/styleLint/functional/themes/dark-colorblind-high-contrast.json +129 -27
- package/dist/styleLint/functional/themes/dark-colorblind.json +129 -27
- package/dist/styleLint/functional/themes/dark-dimmed-high-contrast.json +129 -27
- package/dist/styleLint/functional/themes/dark-dimmed.json +129 -27
- package/dist/styleLint/functional/themes/dark-high-contrast.json +129 -27
- package/dist/styleLint/functional/themes/dark-tritanopia-high-contrast.json +129 -27
- package/dist/styleLint/functional/themes/dark-tritanopia.json +129 -27
- package/dist/styleLint/functional/themes/dark.json +129 -27
- package/dist/styleLint/functional/themes/light-colorblind-high-contrast.json +135 -33
- package/dist/styleLint/functional/themes/light-colorblind.json +135 -33
- package/dist/styleLint/functional/themes/light-high-contrast.json +135 -33
- package/dist/styleLint/functional/themes/light-tritanopia-high-contrast.json +135 -33
- package/dist/styleLint/functional/themes/light-tritanopia.json +135 -33
- package/dist/styleLint/functional/themes/light.json +135 -33
- package/dist/styleLint/functional/typography/typography.json +28 -22
- package/package.json +6 -5
- package/src/tokens/base/motion/timing.json5 +12 -12
- package/src/tokens/base/size/size.json5 +19 -19
- package/src/tokens/base/typography/typography.json5 +6 -6
- package/src/tokens/functional/color/bgColor.json5 +8 -0
- package/src/tokens/functional/color/display.json5 +7 -0
- package/src/tokens/functional/color/fgColor.json5 +8 -0
- package/src/tokens/functional/color/syntax.json5 +14 -0
- package/src/tokens/functional/shadow/shadow.json5 +39 -4
- package/src/tokens/functional/size/border.json5 +5 -5
- package/src/tokens/functional/size/breakpoints.json5 +6 -6
- package/src/tokens/functional/size/radius.json5 +4 -4
- package/src/tokens/functional/size/size.json5 +15 -15
- package/src/tokens/functional/typography/typography.json5 +8 -4
- package/dist/build/parsers/index.d.ts +0 -1
- package/dist/build/parsers/index.js +0 -1
- package/dist/build/parsers/w3cJsonParser.d.ts +0 -6
- package/dist/build/parsers/w3cJsonParser.js +0 -25
- package/dist/removed/testing.json5 +0 -4
- package/guidelines/color.llm.md +0 -16
- package/guidelines/guidelines.llm.md +0 -34
- package/guidelines/motion.llm.md +0 -41
- package/guidelines/spacing.llm.md +0 -20
- package/guidelines/typography.llm.md +0 -14
- package/src/tokens/removed/testing.json5 +0 -4
- package/token-guidelines.llm.md +0 -695
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @spec See /DESIGN_TOKENS_SPEC.md for naming logic and semantic pairings.
|
|
3
|
+
* @rule Never use raw values (hex/px). Use semantic tokens ONLY.
|
|
4
|
+
*/
|
|
1
5
|
[data-color-mode="light"][data-light-theme="light_high_contrast"],
|
|
2
6
|
[data-color-mode="auto"][data-light-theme="light_high_contrast"] {
|
|
3
7
|
--button-outline-bgColor-active: #033f9d;
|
|
@@ -613,8 +617,8 @@
|
|
|
613
617
|
--reactionButton-selected-fgColor-hover: #023b95;
|
|
614
618
|
--selectMenu-bgColor-active: #9cd7ff;
|
|
615
619
|
--selectMenu-borderColor: #ffffff00;
|
|
616
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
617
|
-
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f;
|
|
620
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Legacy floating shadow for backward compatibility */
|
|
621
|
+
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f; /** Medium resting shadow for cards and elevated surfaces */
|
|
618
622
|
--skeletonLoader-bgColor: #dae0e7;
|
|
619
623
|
--treeViewItem-leadingVisual-iconColor-rest: #368cf9;
|
|
620
624
|
--underlineNav-borderColor-active: #cd3425;
|
|
@@ -803,9 +807,9 @@
|
|
|
803
807
|
--progressBar-bgColor-sponsors: var(--bgColor-sponsors-emphasis);
|
|
804
808
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
805
809
|
--selection-bgColor: #0349b433; /** Background color for text selection highlights */
|
|
806
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104090a;
|
|
807
|
-
--shadow-resting-small: 0px 1px 1px 0px #
|
|
808
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #
|
|
810
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104090a; /** Inset shadow for recessed elements */
|
|
811
|
+
--shadow-resting-small: 0px 1px 1px 0px #0104090a, 0px 1px 2px 0px #01040908; /** Small resting shadow for buttons and interactive elements */
|
|
812
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #0104090d; /** Extra small resting shadow for minimal elevation */
|
|
809
813
|
--sideNav-bgColor-selected: #ffffff;
|
|
810
814
|
--timelineBadge-bgColor: var(--bgColor-muted);
|
|
811
815
|
--tooltip-bgColor: var(--bgColor-emphasis);
|
|
@@ -882,9 +886,9 @@
|
|
|
882
886
|
--progressBar-track-bgColor: var(--bgColor-default);
|
|
883
887
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
884
888
|
--shadow-floating-large: 0px 0px 0px 1px #454c54, 0px 40px 80px 0px #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
885
|
-
--shadow-floating-medium: 0px 0px 0px 1px #454c54, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14;
|
|
889
|
+
--shadow-floating-medium: 0px 0px 0px 1px #454c54, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14; /** Medium floating shadow for popovers and action menus */
|
|
886
890
|
--shadow-floating-small: 0px 0px 0px 1px #454c5480, 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
887
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #454c54, 0px 56px 112px 0px #25292e52;
|
|
891
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #454c54, 0px 56px 112px 0px #25292e52; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
888
892
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
889
893
|
--underlineNav-borderColor-hover: var(--borderColor-muted);
|
|
890
894
|
--border-neutral-muted: 0.0625rem solid #454c54;
|
|
@@ -1510,8 +1514,8 @@
|
|
|
1510
1514
|
--reactionButton-selected-fgColor-hover: #023b95;
|
|
1511
1515
|
--selectMenu-bgColor-active: #9cd7ff;
|
|
1512
1516
|
--selectMenu-borderColor: #ffffff00;
|
|
1513
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
1514
|
-
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f;
|
|
1517
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Legacy floating shadow for backward compatibility */
|
|
1518
|
+
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f; /** Medium resting shadow for cards and elevated surfaces */
|
|
1515
1519
|
--skeletonLoader-bgColor: #dae0e7;
|
|
1516
1520
|
--treeViewItem-leadingVisual-iconColor-rest: #368cf9;
|
|
1517
1521
|
--underlineNav-borderColor-active: #cd3425;
|
|
@@ -1700,9 +1704,9 @@
|
|
|
1700
1704
|
--progressBar-bgColor-sponsors: var(--bgColor-sponsors-emphasis);
|
|
1701
1705
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
1702
1706
|
--selection-bgColor: #0349b433; /** Background color for text selection highlights */
|
|
1703
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104090a;
|
|
1704
|
-
--shadow-resting-small: 0px 1px 1px 0px #
|
|
1705
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #
|
|
1707
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104090a; /** Inset shadow for recessed elements */
|
|
1708
|
+
--shadow-resting-small: 0px 1px 1px 0px #0104090a, 0px 1px 2px 0px #01040908; /** Small resting shadow for buttons and interactive elements */
|
|
1709
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #0104090d; /** Extra small resting shadow for minimal elevation */
|
|
1706
1710
|
--sideNav-bgColor-selected: #ffffff;
|
|
1707
1711
|
--timelineBadge-bgColor: var(--bgColor-muted);
|
|
1708
1712
|
--tooltip-bgColor: var(--bgColor-emphasis);
|
|
@@ -1779,9 +1783,9 @@
|
|
|
1779
1783
|
--progressBar-track-bgColor: var(--bgColor-default);
|
|
1780
1784
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1781
1785
|
--shadow-floating-large: 0px 0px 0px 1px #454c54, 0px 40px 80px 0px #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
1782
|
-
--shadow-floating-medium: 0px 0px 0px 1px #454c54, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14;
|
|
1786
|
+
--shadow-floating-medium: 0px 0px 0px 1px #454c54, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14; /** Medium floating shadow for popovers and action menus */
|
|
1783
1787
|
--shadow-floating-small: 0px 0px 0px 1px #454c5480, 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
1784
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #454c54, 0px 56px 112px 0px #25292e52;
|
|
1788
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #454c54, 0px 56px 112px 0px #25292e52; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
1785
1789
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
1786
1790
|
--underlineNav-borderColor-hover: var(--borderColor-muted);
|
|
1787
1791
|
--border-neutral-muted: 0.0625rem solid #454c54;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @spec See /DESIGN_TOKENS_SPEC.md for naming logic and semantic pairings.
|
|
3
|
+
* @rule Never use raw values (hex/px). Use semantic tokens ONLY.
|
|
4
|
+
*/
|
|
1
5
|
[data-color-mode="light"][data-light-theme="light_tritanopia_high_contrast"],
|
|
2
6
|
[data-color-mode="auto"][data-light-theme="light_tritanopia_high_contrast"] {
|
|
3
7
|
--button-outline-bgColor-active: #033f9d;
|
|
@@ -620,8 +624,8 @@
|
|
|
620
624
|
--reactionButton-selected-fgColor-hover: #023b95;
|
|
621
625
|
--selectMenu-bgColor-active: #9cd7ff;
|
|
622
626
|
--selectMenu-borderColor: #ffffff00;
|
|
623
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
624
|
-
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f;
|
|
627
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Legacy floating shadow for backward compatibility */
|
|
628
|
+
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f; /** Medium resting shadow for cards and elevated surfaces */
|
|
625
629
|
--skeletonLoader-bgColor: #dae0e7;
|
|
626
630
|
--treeViewItem-leadingVisual-iconColor-rest: #368cf9;
|
|
627
631
|
--underlineNav-borderColor-active: #cd3425;
|
|
@@ -803,9 +807,9 @@
|
|
|
803
807
|
--progressBar-bgColor-sponsors: var(--bgColor-sponsors-emphasis);
|
|
804
808
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
805
809
|
--selection-bgColor: #0349b433; /** Background color for text selection highlights */
|
|
806
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104090a;
|
|
807
|
-
--shadow-resting-small: 0px 1px 1px 0px #
|
|
808
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #
|
|
810
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104090a; /** Inset shadow for recessed elements */
|
|
811
|
+
--shadow-resting-small: 0px 1px 1px 0px #0104090a, 0px 1px 2px 0px #01040908; /** Small resting shadow for buttons and interactive elements */
|
|
812
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #0104090d; /** Extra small resting shadow for minimal elevation */
|
|
809
813
|
--sideNav-bgColor-selected: #ffffff;
|
|
810
814
|
--timelineBadge-bgColor: var(--bgColor-muted);
|
|
811
815
|
--tooltip-bgColor: var(--bgColor-emphasis);
|
|
@@ -883,9 +887,9 @@
|
|
|
883
887
|
--progressBar-track-bgColor: var(--bgColor-default);
|
|
884
888
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
885
889
|
--shadow-floating-large: 0px 0px 0px 1px #454c54, 0px 40px 80px 0px #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
886
|
-
--shadow-floating-medium: 0px 0px 0px 1px #454c54, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14;
|
|
890
|
+
--shadow-floating-medium: 0px 0px 0px 1px #454c54, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14; /** Medium floating shadow for popovers and action menus */
|
|
887
891
|
--shadow-floating-small: 0px 0px 0px 1px #454c5480, 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
888
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #454c54, 0px 56px 112px 0px #25292e52;
|
|
892
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #454c54, 0px 56px 112px 0px #25292e52; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
889
893
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
890
894
|
--underlineNav-borderColor-hover: var(--borderColor-muted);
|
|
891
895
|
--border-neutral-muted: 0.0625rem solid #454c54;
|
|
@@ -1517,8 +1521,8 @@
|
|
|
1517
1521
|
--reactionButton-selected-fgColor-hover: #023b95;
|
|
1518
1522
|
--selectMenu-bgColor-active: #9cd7ff;
|
|
1519
1523
|
--selectMenu-borderColor: #ffffff00;
|
|
1520
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
1521
|
-
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f;
|
|
1524
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Legacy floating shadow for backward compatibility */
|
|
1525
|
+
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f; /** Medium resting shadow for cards and elevated surfaces */
|
|
1522
1526
|
--skeletonLoader-bgColor: #dae0e7;
|
|
1523
1527
|
--treeViewItem-leadingVisual-iconColor-rest: #368cf9;
|
|
1524
1528
|
--underlineNav-borderColor-active: #cd3425;
|
|
@@ -1700,9 +1704,9 @@
|
|
|
1700
1704
|
--progressBar-bgColor-sponsors: var(--bgColor-sponsors-emphasis);
|
|
1701
1705
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
1702
1706
|
--selection-bgColor: #0349b433; /** Background color for text selection highlights */
|
|
1703
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104090a;
|
|
1704
|
-
--shadow-resting-small: 0px 1px 1px 0px #
|
|
1705
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #
|
|
1707
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104090a; /** Inset shadow for recessed elements */
|
|
1708
|
+
--shadow-resting-small: 0px 1px 1px 0px #0104090a, 0px 1px 2px 0px #01040908; /** Small resting shadow for buttons and interactive elements */
|
|
1709
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #0104090d; /** Extra small resting shadow for minimal elevation */
|
|
1706
1710
|
--sideNav-bgColor-selected: #ffffff;
|
|
1707
1711
|
--timelineBadge-bgColor: var(--bgColor-muted);
|
|
1708
1712
|
--tooltip-bgColor: var(--bgColor-emphasis);
|
|
@@ -1780,9 +1784,9 @@
|
|
|
1780
1784
|
--progressBar-track-bgColor: var(--bgColor-default);
|
|
1781
1785
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1782
1786
|
--shadow-floating-large: 0px 0px 0px 1px #454c54, 0px 40px 80px 0px #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
1783
|
-
--shadow-floating-medium: 0px 0px 0px 1px #454c54, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14;
|
|
1787
|
+
--shadow-floating-medium: 0px 0px 0px 1px #454c54, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14; /** Medium floating shadow for popovers and action menus */
|
|
1784
1788
|
--shadow-floating-small: 0px 0px 0px 1px #454c5480, 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
1785
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #454c54, 0px 56px 112px 0px #25292e52;
|
|
1789
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #454c54, 0px 56px 112px 0px #25292e52; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
1786
1790
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
1787
1791
|
--underlineNav-borderColor-hover: var(--borderColor-muted);
|
|
1788
1792
|
--border-neutral-muted: 0.0625rem solid #454c54;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @spec See /DESIGN_TOKENS_SPEC.md for naming logic and semantic pairings.
|
|
3
|
+
* @rule Never use raw values (hex/px). Use semantic tokens ONLY.
|
|
4
|
+
*/
|
|
1
5
|
[data-color-mode="light"][data-light-theme="light_tritanopia"],
|
|
2
6
|
[data-color-mode="auto"][data-light-theme="light_tritanopia"] {
|
|
3
7
|
--button-outline-bgColor-active: #0757ba;
|
|
@@ -639,8 +643,8 @@
|
|
|
639
643
|
--reactionButton-selected-fgColor-hover: #0550ae;
|
|
640
644
|
--selectMenu-bgColor-active: #b6e3ff;
|
|
641
645
|
--selectMenu-borderColor: #ffffff00;
|
|
642
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
643
|
-
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f;
|
|
646
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Legacy floating shadow for backward compatibility */
|
|
647
|
+
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f; /** Medium resting shadow for cards and elevated surfaces */
|
|
644
648
|
--skeletonLoader-bgColor: #818b981a;
|
|
645
649
|
--topicTag-borderColor: #ffffff00;
|
|
646
650
|
--treeViewItem-leadingVisual-iconColor-rest: #54aeff;
|
|
@@ -803,9 +807,9 @@
|
|
|
803
807
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
804
808
|
--progressBar-track-bgColor: var(--borderColor-default);
|
|
805
809
|
--selection-bgColor: #0969da33; /** Background color for text selection highlights */
|
|
806
|
-
--shadow-inset: inset 0px 1px 0px 0px #1f23280a;
|
|
807
|
-
--shadow-resting-small: 0px 1px 1px 0px #
|
|
808
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #
|
|
810
|
+
--shadow-inset: inset 0px 1px 0px 0px #1f23280a; /** Inset shadow for recessed elements */
|
|
811
|
+
--shadow-resting-small: 0px 1px 1px 0px #1f23280a, 0px 1px 2px 0px #1f232808; /** Small resting shadow for buttons and interactive elements */
|
|
812
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #1f23280d; /** Extra small resting shadow for minimal elevation */
|
|
809
813
|
--sideNav-bgColor-selected: #ffffff;
|
|
810
814
|
--timelineBadge-bgColor: var(--bgColor-muted);
|
|
811
815
|
--tooltip-bgColor: var(--bgColor-emphasis);
|
|
@@ -888,9 +892,9 @@
|
|
|
888
892
|
--buttonKeybindingHint-danger-borderColor-rest: var(--buttonKeybindingHint-default-borderColor-rest);
|
|
889
893
|
--buttonKeybindingHint-danger-fgColor-disabled: var(--buttonKeybindingHint-default-fgColor-disabled);
|
|
890
894
|
--shadow-floating-large: 0px 0px 0px 1px #d1d9e0, 0px 40px 80px 0px #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
891
|
-
--shadow-floating-medium: 0px 0px 0px 1px #d1d9e0, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14;
|
|
895
|
+
--shadow-floating-medium: 0px 0px 0px 1px #d1d9e0, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14; /** Medium floating shadow for popovers and action menus */
|
|
892
896
|
--shadow-floating-small: 0px 0px 0px 1px #d1d9e080, 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
893
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52;
|
|
897
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
894
898
|
--button-danger-borderColor-active: var(--button-danger-borderColor-hover);
|
|
895
899
|
--button-outline-borderColor-hover: var(--button-primary-borderColor-hover);
|
|
896
900
|
--button-outline-borderColor-active: var(--button-outline-borderColor-hover);
|
|
@@ -1536,8 +1540,8 @@
|
|
|
1536
1540
|
--reactionButton-selected-fgColor-hover: #0550ae;
|
|
1537
1541
|
--selectMenu-bgColor-active: #b6e3ff;
|
|
1538
1542
|
--selectMenu-borderColor: #ffffff00;
|
|
1539
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
1540
|
-
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f;
|
|
1543
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Legacy floating shadow for backward compatibility */
|
|
1544
|
+
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f; /** Medium resting shadow for cards and elevated surfaces */
|
|
1541
1545
|
--skeletonLoader-bgColor: #818b981a;
|
|
1542
1546
|
--topicTag-borderColor: #ffffff00;
|
|
1543
1547
|
--treeViewItem-leadingVisual-iconColor-rest: #54aeff;
|
|
@@ -1700,9 +1704,9 @@
|
|
|
1700
1704
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
1701
1705
|
--progressBar-track-bgColor: var(--borderColor-default);
|
|
1702
1706
|
--selection-bgColor: #0969da33; /** Background color for text selection highlights */
|
|
1703
|
-
--shadow-inset: inset 0px 1px 0px 0px #1f23280a;
|
|
1704
|
-
--shadow-resting-small: 0px 1px 1px 0px #
|
|
1705
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #
|
|
1707
|
+
--shadow-inset: inset 0px 1px 0px 0px #1f23280a; /** Inset shadow for recessed elements */
|
|
1708
|
+
--shadow-resting-small: 0px 1px 1px 0px #1f23280a, 0px 1px 2px 0px #1f232808; /** Small resting shadow for buttons and interactive elements */
|
|
1709
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #1f23280d; /** Extra small resting shadow for minimal elevation */
|
|
1706
1710
|
--sideNav-bgColor-selected: #ffffff;
|
|
1707
1711
|
--timelineBadge-bgColor: var(--bgColor-muted);
|
|
1708
1712
|
--tooltip-bgColor: var(--bgColor-emphasis);
|
|
@@ -1785,9 +1789,9 @@
|
|
|
1785
1789
|
--buttonKeybindingHint-danger-borderColor-rest: var(--buttonKeybindingHint-default-borderColor-rest);
|
|
1786
1790
|
--buttonKeybindingHint-danger-fgColor-disabled: var(--buttonKeybindingHint-default-fgColor-disabled);
|
|
1787
1791
|
--shadow-floating-large: 0px 0px 0px 1px #d1d9e0, 0px 40px 80px 0px #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
1788
|
-
--shadow-floating-medium: 0px 0px 0px 1px #d1d9e0, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14;
|
|
1792
|
+
--shadow-floating-medium: 0px 0px 0px 1px #d1d9e0, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14; /** Medium floating shadow for popovers and action menus */
|
|
1789
1793
|
--shadow-floating-small: 0px 0px 0px 1px #d1d9e080, 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
1790
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52;
|
|
1794
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
1791
1795
|
--button-danger-borderColor-active: var(--button-danger-borderColor-hover);
|
|
1792
1796
|
--button-outline-borderColor-hover: var(--button-primary-borderColor-hover);
|
|
1793
1797
|
--button-outline-borderColor-active: var(--button-outline-borderColor-hover);
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @spec See /DESIGN_TOKENS_SPEC.md for naming logic and semantic pairings.
|
|
3
|
+
* @rule Never use raw values (hex/px). Use semantic tokens ONLY.
|
|
4
|
+
*/
|
|
1
5
|
[data-color-mode="light"][data-light-theme="light"],
|
|
2
6
|
[data-color-mode="auto"][data-light-theme="light"] {
|
|
3
7
|
--bgColor-success-emphasis: #1f883d; /** Strong success background for prominent positive actions */
|
|
@@ -636,8 +640,8 @@
|
|
|
636
640
|
--reactionButton-selected-fgColor-hover: #0550ae;
|
|
637
641
|
--selectMenu-bgColor-active: #b6e3ff;
|
|
638
642
|
--selectMenu-borderColor: #ffffff00;
|
|
639
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
640
|
-
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f;
|
|
643
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Legacy floating shadow for backward compatibility */
|
|
644
|
+
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f; /** Medium resting shadow for cards and elevated surfaces */
|
|
641
645
|
--skeletonLoader-bgColor: #818b981a;
|
|
642
646
|
--topicTag-borderColor: #ffffff00;
|
|
643
647
|
--treeViewItem-leadingVisual-iconColor-rest: #54aeff;
|
|
@@ -802,9 +806,9 @@
|
|
|
802
806
|
--progressBar-bgColor-sponsors: var(--bgColor-sponsors-emphasis);
|
|
803
807
|
--progressBar-track-bgColor: var(--borderColor-default);
|
|
804
808
|
--selection-bgColor: #0969da33; /** Background color for text selection highlights */
|
|
805
|
-
--shadow-inset: inset 0px 1px 0px 0px #1f23280a;
|
|
806
|
-
--shadow-resting-small: 0px 1px 1px 0px #
|
|
807
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #
|
|
809
|
+
--shadow-inset: inset 0px 1px 0px 0px #1f23280a; /** Inset shadow for recessed elements */
|
|
810
|
+
--shadow-resting-small: 0px 1px 1px 0px #1f23280a, 0px 1px 2px 0px #1f232808; /** Small resting shadow for buttons and interactive elements */
|
|
811
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #1f23280d; /** Extra small resting shadow for minimal elevation */
|
|
808
812
|
--sideNav-bgColor-selected: #ffffff;
|
|
809
813
|
--timelineBadge-bgColor: var(--bgColor-muted);
|
|
810
814
|
--tooltip-bgColor: var(--bgColor-emphasis);
|
|
@@ -888,9 +892,9 @@
|
|
|
888
892
|
--buttonKeybindingHint-danger-borderColor-rest: var(--buttonKeybindingHint-default-borderColor-rest);
|
|
889
893
|
--buttonKeybindingHint-danger-fgColor-disabled: var(--buttonKeybindingHint-default-fgColor-disabled);
|
|
890
894
|
--shadow-floating-large: 0px 0px 0px 1px #d1d9e0, 0px 40px 80px 0px #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
891
|
-
--shadow-floating-medium: 0px 0px 0px 1px #d1d9e0, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14;
|
|
895
|
+
--shadow-floating-medium: 0px 0px 0px 1px #d1d9e0, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14; /** Medium floating shadow for popovers and action menus */
|
|
892
896
|
--shadow-floating-small: 0px 0px 0px 1px #d1d9e080, 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
893
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52;
|
|
897
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
894
898
|
--button-danger-borderColor-active: var(--button-danger-borderColor-hover);
|
|
895
899
|
--button-outline-borderColor-hover: var(--button-primary-borderColor-hover);
|
|
896
900
|
--button-outline-borderColor-active: var(--button-outline-borderColor-hover);
|
|
@@ -1533,8 +1537,8 @@
|
|
|
1533
1537
|
--reactionButton-selected-fgColor-hover: #0550ae;
|
|
1534
1538
|
--selectMenu-bgColor-active: #b6e3ff;
|
|
1535
1539
|
--selectMenu-borderColor: #ffffff00;
|
|
1536
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
1537
|
-
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f;
|
|
1540
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Legacy floating shadow for backward compatibility */
|
|
1541
|
+
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f; /** Medium resting shadow for cards and elevated surfaces */
|
|
1538
1542
|
--skeletonLoader-bgColor: #818b981a;
|
|
1539
1543
|
--topicTag-borderColor: #ffffff00;
|
|
1540
1544
|
--treeViewItem-leadingVisual-iconColor-rest: #54aeff;
|
|
@@ -1699,9 +1703,9 @@
|
|
|
1699
1703
|
--progressBar-bgColor-sponsors: var(--bgColor-sponsors-emphasis);
|
|
1700
1704
|
--progressBar-track-bgColor: var(--borderColor-default);
|
|
1701
1705
|
--selection-bgColor: #0969da33; /** Background color for text selection highlights */
|
|
1702
|
-
--shadow-inset: inset 0px 1px 0px 0px #1f23280a;
|
|
1703
|
-
--shadow-resting-small: 0px 1px 1px 0px #
|
|
1704
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #
|
|
1706
|
+
--shadow-inset: inset 0px 1px 0px 0px #1f23280a; /** Inset shadow for recessed elements */
|
|
1707
|
+
--shadow-resting-small: 0px 1px 1px 0px #1f23280a, 0px 1px 2px 0px #1f232808; /** Small resting shadow for buttons and interactive elements */
|
|
1708
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #1f23280d; /** Extra small resting shadow for minimal elevation */
|
|
1705
1709
|
--sideNav-bgColor-selected: #ffffff;
|
|
1706
1710
|
--timelineBadge-bgColor: var(--bgColor-muted);
|
|
1707
1711
|
--tooltip-bgColor: var(--bgColor-emphasis);
|
|
@@ -1785,9 +1789,9 @@
|
|
|
1785
1789
|
--buttonKeybindingHint-danger-borderColor-rest: var(--buttonKeybindingHint-default-borderColor-rest);
|
|
1786
1790
|
--buttonKeybindingHint-danger-fgColor-disabled: var(--buttonKeybindingHint-default-fgColor-disabled);
|
|
1787
1791
|
--shadow-floating-large: 0px 0px 0px 1px #d1d9e0, 0px 40px 80px 0px #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
1788
|
-
--shadow-floating-medium: 0px 0px 0px 1px #d1d9e0, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14;
|
|
1792
|
+
--shadow-floating-medium: 0px 0px 0px 1px #d1d9e0, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14; /** Medium floating shadow for popovers and action menus */
|
|
1789
1793
|
--shadow-floating-small: 0px 0px 0px 1px #d1d9e080, 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
1790
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52;
|
|
1794
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
1791
1795
|
--button-danger-borderColor-active: var(--button-danger-borderColor-hover);
|
|
1792
1796
|
--button-outline-borderColor-hover: var(--button-primary-borderColor-hover);
|
|
1793
1797
|
--button-outline-borderColor-active: var(--button-outline-borderColor-hover);
|
package/dist/css/primitives.css
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @spec See /DESIGN_TOKENS_SPEC.md for naming logic and semantic pairings.
|
|
3
|
+
* @rule Never use raw values (hex/px). Use semantic tokens ONLY.
|
|
4
|
+
*/
|
|
1
5
|
@import './base/motion/motion.css';
|
|
2
6
|
@import './base/size/size.css';
|
|
3
7
|
@import './base/typography/typography.css';
|
|
@@ -4,14 +4,20 @@
|
|
|
4
4
|
"filePath": "src/tokens/base/motion/timing.json5",
|
|
5
5
|
"isSource": true,
|
|
6
6
|
"original": {
|
|
7
|
-
"$value":
|
|
7
|
+
"$value": {
|
|
8
|
+
"value": 0,
|
|
9
|
+
"unit": "ms"
|
|
10
|
+
},
|
|
8
11
|
"$type": "duration",
|
|
9
12
|
"key": "{base.duration.0}"
|
|
10
13
|
},
|
|
11
14
|
"name": "base-duration-0",
|
|
12
15
|
"attributes": {},
|
|
13
16
|
"path": ["base", "duration", "0"],
|
|
14
|
-
"value":
|
|
17
|
+
"value": {
|
|
18
|
+
"value": 0,
|
|
19
|
+
"unit": "ms"
|
|
20
|
+
},
|
|
15
21
|
"type": "duration"
|
|
16
22
|
},
|
|
17
23
|
"base-duration-100": {
|
|
@@ -19,14 +25,20 @@
|
|
|
19
25
|
"filePath": "src/tokens/base/motion/timing.json5",
|
|
20
26
|
"isSource": true,
|
|
21
27
|
"original": {
|
|
22
|
-
"$value":
|
|
28
|
+
"$value": {
|
|
29
|
+
"value": 100,
|
|
30
|
+
"unit": "ms"
|
|
31
|
+
},
|
|
23
32
|
"$type": "duration",
|
|
24
33
|
"key": "{base.duration.100}"
|
|
25
34
|
},
|
|
26
35
|
"name": "base-duration-100",
|
|
27
36
|
"attributes": {},
|
|
28
37
|
"path": ["base", "duration", "100"],
|
|
29
|
-
"value":
|
|
38
|
+
"value": {
|
|
39
|
+
"value": 100,
|
|
40
|
+
"unit": "ms"
|
|
41
|
+
},
|
|
30
42
|
"type": "duration"
|
|
31
43
|
},
|
|
32
44
|
"base-duration-1000": {
|
|
@@ -34,14 +46,20 @@
|
|
|
34
46
|
"filePath": "src/tokens/base/motion/timing.json5",
|
|
35
47
|
"isSource": true,
|
|
36
48
|
"original": {
|
|
37
|
-
"$value":
|
|
49
|
+
"$value": {
|
|
50
|
+
"value": 1000,
|
|
51
|
+
"unit": "ms"
|
|
52
|
+
},
|
|
38
53
|
"$type": "duration",
|
|
39
54
|
"key": "{base.duration.1000}"
|
|
40
55
|
},
|
|
41
56
|
"name": "base-duration-1000",
|
|
42
57
|
"attributes": {},
|
|
43
58
|
"path": ["base", "duration", "1000"],
|
|
44
|
-
"value":
|
|
59
|
+
"value": {
|
|
60
|
+
"value": 1000,
|
|
61
|
+
"unit": "ms"
|
|
62
|
+
},
|
|
45
63
|
"type": "duration"
|
|
46
64
|
},
|
|
47
65
|
"base-duration-200": {
|
|
@@ -49,14 +67,20 @@
|
|
|
49
67
|
"filePath": "src/tokens/base/motion/timing.json5",
|
|
50
68
|
"isSource": true,
|
|
51
69
|
"original": {
|
|
52
|
-
"$value":
|
|
70
|
+
"$value": {
|
|
71
|
+
"value": 200,
|
|
72
|
+
"unit": "ms"
|
|
73
|
+
},
|
|
53
74
|
"$type": "duration",
|
|
54
75
|
"key": "{base.duration.200}"
|
|
55
76
|
},
|
|
56
77
|
"name": "base-duration-200",
|
|
57
78
|
"attributes": {},
|
|
58
79
|
"path": ["base", "duration", "200"],
|
|
59
|
-
"value":
|
|
80
|
+
"value": {
|
|
81
|
+
"value": 200,
|
|
82
|
+
"unit": "ms"
|
|
83
|
+
},
|
|
60
84
|
"type": "duration"
|
|
61
85
|
},
|
|
62
86
|
"base-duration-300": {
|
|
@@ -64,14 +88,20 @@
|
|
|
64
88
|
"filePath": "src/tokens/base/motion/timing.json5",
|
|
65
89
|
"isSource": true,
|
|
66
90
|
"original": {
|
|
67
|
-
"$value":
|
|
91
|
+
"$value": {
|
|
92
|
+
"value": 300,
|
|
93
|
+
"unit": "ms"
|
|
94
|
+
},
|
|
68
95
|
"$type": "duration",
|
|
69
96
|
"key": "{base.duration.300}"
|
|
70
97
|
},
|
|
71
98
|
"name": "base-duration-300",
|
|
72
99
|
"attributes": {},
|
|
73
100
|
"path": ["base", "duration", "300"],
|
|
74
|
-
"value":
|
|
101
|
+
"value": {
|
|
102
|
+
"value": 300,
|
|
103
|
+
"unit": "ms"
|
|
104
|
+
},
|
|
75
105
|
"type": "duration"
|
|
76
106
|
},
|
|
77
107
|
"base-duration-400": {
|
|
@@ -79,14 +109,20 @@
|
|
|
79
109
|
"filePath": "src/tokens/base/motion/timing.json5",
|
|
80
110
|
"isSource": true,
|
|
81
111
|
"original": {
|
|
82
|
-
"$value":
|
|
112
|
+
"$value": {
|
|
113
|
+
"value": 400,
|
|
114
|
+
"unit": "ms"
|
|
115
|
+
},
|
|
83
116
|
"$type": "duration",
|
|
84
117
|
"key": "{base.duration.400}"
|
|
85
118
|
},
|
|
86
119
|
"name": "base-duration-400",
|
|
87
120
|
"attributes": {},
|
|
88
121
|
"path": ["base", "duration", "400"],
|
|
89
|
-
"value":
|
|
122
|
+
"value": {
|
|
123
|
+
"value": 400,
|
|
124
|
+
"unit": "ms"
|
|
125
|
+
},
|
|
90
126
|
"type": "duration"
|
|
91
127
|
},
|
|
92
128
|
"base-duration-50": {
|
|
@@ -94,14 +130,20 @@
|
|
|
94
130
|
"filePath": "src/tokens/base/motion/timing.json5",
|
|
95
131
|
"isSource": true,
|
|
96
132
|
"original": {
|
|
97
|
-
"$value":
|
|
133
|
+
"$value": {
|
|
134
|
+
"value": 50,
|
|
135
|
+
"unit": "ms"
|
|
136
|
+
},
|
|
98
137
|
"$type": "duration",
|
|
99
138
|
"key": "{base.duration.50}"
|
|
100
139
|
},
|
|
101
140
|
"name": "base-duration-50",
|
|
102
141
|
"attributes": {},
|
|
103
142
|
"path": ["base", "duration", "50"],
|
|
104
|
-
"value":
|
|
143
|
+
"value": {
|
|
144
|
+
"value": 50,
|
|
145
|
+
"unit": "ms"
|
|
146
|
+
},
|
|
105
147
|
"type": "duration"
|
|
106
148
|
},
|
|
107
149
|
"base-duration-500": {
|
|
@@ -109,14 +151,20 @@
|
|
|
109
151
|
"filePath": "src/tokens/base/motion/timing.json5",
|
|
110
152
|
"isSource": true,
|
|
111
153
|
"original": {
|
|
112
|
-
"$value":
|
|
154
|
+
"$value": {
|
|
155
|
+
"value": 500,
|
|
156
|
+
"unit": "ms"
|
|
157
|
+
},
|
|
113
158
|
"$type": "duration",
|
|
114
159
|
"key": "{base.duration.500}"
|
|
115
160
|
},
|
|
116
161
|
"name": "base-duration-500",
|
|
117
162
|
"attributes": {},
|
|
118
163
|
"path": ["base", "duration", "500"],
|
|
119
|
-
"value":
|
|
164
|
+
"value": {
|
|
165
|
+
"value": 500,
|
|
166
|
+
"unit": "ms"
|
|
167
|
+
},
|
|
120
168
|
"type": "duration"
|
|
121
169
|
},
|
|
122
170
|
"base-duration-600": {
|
|
@@ -124,14 +172,20 @@
|
|
|
124
172
|
"filePath": "src/tokens/base/motion/timing.json5",
|
|
125
173
|
"isSource": true,
|
|
126
174
|
"original": {
|
|
127
|
-
"$value":
|
|
175
|
+
"$value": {
|
|
176
|
+
"value": 600,
|
|
177
|
+
"unit": "ms"
|
|
178
|
+
},
|
|
128
179
|
"$type": "duration",
|
|
129
180
|
"key": "{base.duration.600}"
|
|
130
181
|
},
|
|
131
182
|
"name": "base-duration-600",
|
|
132
183
|
"attributes": {},
|
|
133
184
|
"path": ["base", "duration", "600"],
|
|
134
|
-
"value":
|
|
185
|
+
"value": {
|
|
186
|
+
"value": 600,
|
|
187
|
+
"unit": "ms"
|
|
188
|
+
},
|
|
135
189
|
"type": "duration"
|
|
136
190
|
},
|
|
137
191
|
"base-duration-700": {
|
|
@@ -139,14 +193,20 @@
|
|
|
139
193
|
"filePath": "src/tokens/base/motion/timing.json5",
|
|
140
194
|
"isSource": true,
|
|
141
195
|
"original": {
|
|
142
|
-
"$value":
|
|
196
|
+
"$value": {
|
|
197
|
+
"value": 700,
|
|
198
|
+
"unit": "ms"
|
|
199
|
+
},
|
|
143
200
|
"$type": "duration",
|
|
144
201
|
"key": "{base.duration.700}"
|
|
145
202
|
},
|
|
146
203
|
"name": "base-duration-700",
|
|
147
204
|
"attributes": {},
|
|
148
205
|
"path": ["base", "duration", "700"],
|
|
149
|
-
"value":
|
|
206
|
+
"value": {
|
|
207
|
+
"value": 700,
|
|
208
|
+
"unit": "ms"
|
|
209
|
+
},
|
|
150
210
|
"type": "duration"
|
|
151
211
|
},
|
|
152
212
|
"base-duration-800": {
|
|
@@ -154,14 +214,20 @@
|
|
|
154
214
|
"filePath": "src/tokens/base/motion/timing.json5",
|
|
155
215
|
"isSource": true,
|
|
156
216
|
"original": {
|
|
157
|
-
"$value":
|
|
217
|
+
"$value": {
|
|
218
|
+
"value": 800,
|
|
219
|
+
"unit": "ms"
|
|
220
|
+
},
|
|
158
221
|
"$type": "duration",
|
|
159
222
|
"key": "{base.duration.800}"
|
|
160
223
|
},
|
|
161
224
|
"name": "base-duration-800",
|
|
162
225
|
"attributes": {},
|
|
163
226
|
"path": ["base", "duration", "800"],
|
|
164
|
-
"value":
|
|
227
|
+
"value": {
|
|
228
|
+
"value": 800,
|
|
229
|
+
"unit": "ms"
|
|
230
|
+
},
|
|
165
231
|
"type": "duration"
|
|
166
232
|
},
|
|
167
233
|
"base-duration-900": {
|
|
@@ -169,14 +235,20 @@
|
|
|
169
235
|
"filePath": "src/tokens/base/motion/timing.json5",
|
|
170
236
|
"isSource": true,
|
|
171
237
|
"original": {
|
|
172
|
-
"$value":
|
|
238
|
+
"$value": {
|
|
239
|
+
"value": 900,
|
|
240
|
+
"unit": "ms"
|
|
241
|
+
},
|
|
173
242
|
"$type": "duration",
|
|
174
243
|
"key": "{base.duration.900}"
|
|
175
244
|
},
|
|
176
245
|
"name": "base-duration-900",
|
|
177
246
|
"attributes": {},
|
|
178
247
|
"path": ["base", "duration", "900"],
|
|
179
|
-
"value":
|
|
248
|
+
"value": {
|
|
249
|
+
"value": 900,
|
|
250
|
+
"unit": "ms"
|
|
251
|
+
},
|
|
180
252
|
"type": "duration"
|
|
181
253
|
},
|
|
182
254
|
"base-easing-ease": {
|