@primer/primitives 7.16.0-rc.f109b0ca → 7.16.0-rc.fe16fd19
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/functional/themes/dark-colorblind.css +240 -0
- package/dist/css/functional/themes/dark-dimmed.css +240 -0
- package/dist/css/functional/themes/dark-high-contrast.css +240 -0
- package/dist/css/functional/themes/dark-tritanopia.css +240 -0
- package/dist/css/functional/themes/dark.css +240 -0
- package/dist/css/functional/themes/light-colorblind.css +240 -0
- package/dist/css/functional/themes/light-high-contrast.css +240 -0
- package/dist/css/functional/themes/light-tritanopia.css +240 -0
- package/dist/css/functional/themes/light.css +240 -0
- package/dist/docs/functional/themes/dark-colorblind.json +3514 -0
- package/dist/docs/functional/themes/dark-dimmed.json +3514 -0
- package/dist/docs/functional/themes/dark-high-contrast.json +3514 -0
- package/dist/docs/functional/themes/dark-tritanopia.json +3514 -0
- package/dist/docs/functional/themes/dark.json +3514 -0
- package/dist/docs/functional/themes/light-colorblind.json +3514 -2
- package/dist/docs/functional/themes/light-high-contrast.json +3514 -2
- package/dist/docs/functional/themes/light-tritanopia.json +3514 -2
- package/dist/docs/functional/themes/light.json +3514 -2
- package/dist/fallbacks/color-fallbacks.json +260 -0
- package/dist/figma/figma.json +2 -2
- package/dist/figma/themes/dark-colorblind.json +2101 -164
- package/dist/figma/themes/dark-dimmed.json +2100 -163
- package/dist/figma/themes/dark-high-contrast.json +2101 -164
- package/dist/figma/themes/dark-tritanopia.json +2101 -164
- package/dist/figma/themes/dark.json +2101 -164
- package/dist/figma/themes/light-colorblind.json +2105 -169
- package/dist/figma/themes/light-high-contrast.json +2106 -170
- package/dist/figma/themes/light-tritanopia.json +2105 -169
- package/dist/figma/themes/light.json +2105 -169
- package/dist/internalCss/dark-colorblind.css +240 -0
- package/dist/internalCss/dark-dimmed.css +240 -0
- package/dist/internalCss/dark-high-contrast.css +240 -0
- package/dist/internalCss/dark-tritanopia.css +240 -0
- package/dist/internalCss/dark.css +240 -0
- package/dist/internalCss/light-colorblind.css +240 -0
- package/dist/internalCss/light-high-contrast.css +240 -0
- package/dist/internalCss/light-tritanopia.css +240 -0
- package/dist/internalCss/light.css +240 -0
- package/package.json +6 -4
- package/tokens-next-private/css/functional/themes/dark-colorblind.css +240 -0
- package/tokens-next-private/css/functional/themes/dark-dimmed.css +240 -0
- package/tokens-next-private/css/functional/themes/dark-high-contrast.css +240 -0
- package/tokens-next-private/css/functional/themes/dark-tritanopia.css +240 -0
- package/tokens-next-private/css/functional/themes/dark.css +240 -0
- package/tokens-next-private/css/functional/themes/light-colorblind.css +240 -0
- package/tokens-next-private/css/functional/themes/light-high-contrast.css +240 -0
- package/tokens-next-private/css/functional/themes/light-tritanopia.css +240 -0
- package/tokens-next-private/css/functional/themes/light.css +240 -0
- package/tokens-next-private/docs/functional/themes/dark-colorblind.json +3514 -0
- package/tokens-next-private/docs/functional/themes/dark-dimmed.json +3514 -0
- package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +3514 -0
- package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +3514 -0
- package/tokens-next-private/docs/functional/themes/dark.json +3514 -0
- package/tokens-next-private/docs/functional/themes/light-colorblind.json +3514 -2
- package/tokens-next-private/docs/functional/themes/light-high-contrast.json +3514 -2
- package/tokens-next-private/docs/functional/themes/light-tritanopia.json +3514 -2
- package/tokens-next-private/docs/functional/themes/light.json +3514 -2
- package/tokens-next-private/internalCss/dark-colorblind.css +240 -0
- package/tokens-next-private/internalCss/dark-dimmed.css +240 -0
- package/tokens-next-private/internalCss/dark-high-contrast.css +240 -0
- package/tokens-next-private/internalCss/dark-tritanopia.css +240 -0
- package/tokens-next-private/internalCss/dark.css +240 -0
- package/tokens-next-private/internalCss/light-colorblind.css +240 -0
- package/tokens-next-private/internalCss/light-high-contrast.css +240 -0
- package/tokens-next-private/internalCss/light-tritanopia.css +240 -0
- package/tokens-next-private/internalCss/light.css +240 -0
- package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
- package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
- package/dist/scss/base/size/size.scss +0 -17
- package/dist/scss/base/typography/typography.scss +0 -4
- package/dist/scss/functional/motion/motion.scss +0 -3
- package/dist/scss/functional/size/border.scss +0 -12
- package/dist/scss/functional/size/breakpoints.scss +0 -6
- package/dist/scss/functional/size/size-coarse.scss +0 -3
- package/dist/scss/functional/size/size-fine.scss +0 -3
- package/dist/scss/functional/size/size.scss +0 -72
- package/dist/scss/functional/size/viewport.scss +0 -6
- package/dist/scss/functional/themes/dark-colorblind.scss +0 -414
- package/dist/scss/functional/themes/dark-dimmed.scss +0 -414
- package/dist/scss/functional/themes/dark-high-contrast.scss +0 -414
- package/dist/scss/functional/themes/dark-tritanopia.scss +0 -414
- package/dist/scss/functional/themes/dark.scss +0 -414
- package/dist/scss/functional/themes/light-colorblind.scss +0 -414
- package/dist/scss/functional/themes/light-high-contrast.scss +0 -414
- package/dist/scss/functional/themes/light-tritanopia.scss +0 -414
- package/dist/scss/functional/themes/light.scss +0 -414
- package/dist/scss/functional/typography/typography.scss +0 -45
- package/tokens-next-private/figma/dimension/dimension.json +0 -1068
- package/tokens-next-private/figma/figma.json +0 -116
- package/tokens-next-private/figma/scales/dark-dimmed.json +0 -1398
- package/tokens-next-private/figma/scales/dark-high-constrast.json +0 -1398
- package/tokens-next-private/figma/scales/dark.json +0 -1398
- package/tokens-next-private/figma/scales/light-high-constrast.json +0 -1398
- package/tokens-next-private/figma/scales/light.json +0 -1398
- package/tokens-next-private/figma/shadows/dark-colorblind.json +0 -1152
- package/tokens-next-private/figma/shadows/dark-dimmed.json +0 -1152
- package/tokens-next-private/figma/shadows/dark-high-contrast.json +0 -1152
- package/tokens-next-private/figma/shadows/dark-tritanopia.json +0 -1152
- package/tokens-next-private/figma/shadows/dark.json +0 -1152
- package/tokens-next-private/figma/shadows/light-colorblind.json +0 -1052
- package/tokens-next-private/figma/shadows/light-high-contrast.json +0 -1052
- package/tokens-next-private/figma/shadows/light-tritanopia.json +0 -1052
- package/tokens-next-private/figma/shadows/light.json +0 -1052
- package/tokens-next-private/figma/themes/dark-colorblind.json +0 -7759
- package/tokens-next-private/figma/themes/dark-dimmed.json +0 -7757
- package/tokens-next-private/figma/themes/dark-high-contrast.json +0 -7766
- package/tokens-next-private/figma/themes/dark-tritanopia.json +0 -7760
- package/tokens-next-private/figma/themes/dark.json +0 -7759
- package/tokens-next-private/figma/themes/light-colorblind.json +0 -7636
- package/tokens-next-private/figma/themes/light-high-contrast.json +0 -7634
- package/tokens-next-private/figma/themes/light-tritanopia.json +0 -7630
- package/tokens-next-private/figma/themes/light.json +0 -7629
- package/tokens-next-private/scss/base/size/size.scss +0 -17
- package/tokens-next-private/scss/base/typography/typography.scss +0 -4
- package/tokens-next-private/scss/functional/motion/motion.scss +0 -3
- package/tokens-next-private/scss/functional/size/border.scss +0 -12
- package/tokens-next-private/scss/functional/size/breakpoints.scss +0 -6
- package/tokens-next-private/scss/functional/size/size-coarse.scss +0 -3
- package/tokens-next-private/scss/functional/size/size-fine.scss +0 -3
- package/tokens-next-private/scss/functional/size/size.scss +0 -72
- package/tokens-next-private/scss/functional/size/viewport.scss +0 -6
- package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +0 -414
- package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +0 -414
- package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +0 -414
- package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +0 -414
- package/tokens-next-private/scss/functional/themes/dark.scss +0 -414
- package/tokens-next-private/scss/functional/themes/light-colorblind.scss +0 -414
- package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +0 -414
- package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +0 -414
- package/tokens-next-private/scss/functional/themes/light.scss +0 -414
- package/tokens-next-private/scss/functional/typography/typography.scss +0 -45
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
$base-size-4: 0.25rem;
|
|
2
|
-
$base-size-8: 0.5rem;
|
|
3
|
-
$base-size-12: 0.75rem;
|
|
4
|
-
$base-size-16: 1rem;
|
|
5
|
-
$base-size-20: 1.25rem;
|
|
6
|
-
$base-size-24: 1.5rem;
|
|
7
|
-
$base-size-28: 1.75rem;
|
|
8
|
-
$base-size-32: 2rem;
|
|
9
|
-
$base-size-36: 2.25rem;
|
|
10
|
-
$base-size-40: 2.5rem;
|
|
11
|
-
$base-size-44: 2.75rem;
|
|
12
|
-
$base-size-48: 3rem;
|
|
13
|
-
$base-size-64: 4rem;
|
|
14
|
-
$base-size-80: 5rem;
|
|
15
|
-
$base-size-96: 6rem;
|
|
16
|
-
$base-size-112: 7rem;
|
|
17
|
-
$base-size-128: 8rem;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
$motion-loading-delay-default: 1s; // The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies.
|
|
2
|
-
$motion-spinner-duration-rotation: 1s; // The amount of time it takes the "Spinner" loading indicator to make a full 360deg rotation
|
|
3
|
-
$motion-skeletonLoader-shimmer-duration-scale: 1s; // The amount of times it takes the "shimmer" effect to go from the start (left) of the skeleton loader to the end (right)
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
$boxShadow-thin: inset 0 0 0 max(1px, 0.0625rem); // Thin shadow for borders
|
|
2
|
-
$boxShadow-thick: inset 0 0 0 max(2px, 0.125rem);
|
|
3
|
-
$boxShadow-thicker: inset 0 0 0 max(4px, 0.25rem);
|
|
4
|
-
$borderWidth-thin: max(1px, 0.0625rem);
|
|
5
|
-
$borderWidth-thick: max(2px, 0.125rem);
|
|
6
|
-
$borderWidth-thicker: max(4px, 0.25rem);
|
|
7
|
-
$borderRadius-small: 0.1875rem;
|
|
8
|
-
$borderRadius-medium: 0.375rem;
|
|
9
|
-
$borderRadius-large: 0.75rem;
|
|
10
|
-
$borderRadius-full: 624.9375rem; // Use this border radius for pill shaped elements
|
|
11
|
-
$outline-focus-offset: -0.125rem;
|
|
12
|
-
$outline-focus-width: 0.125rem;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
$control-minTarget-fine: 1rem;
|
|
2
|
-
$control-minTarget-coarse: 2.75rem;
|
|
3
|
-
$control-xsmall-size: 1.5rem;
|
|
4
|
-
$control-xsmall-lineBoxHeight: 1.25rem;
|
|
5
|
-
$control-xsmall-paddingBlock: 0.125rem;
|
|
6
|
-
$control-xsmall-paddingInline-condensed: 0.25rem;
|
|
7
|
-
$control-xsmall-paddingInline-normal: 0.5rem;
|
|
8
|
-
$control-xsmall-paddingInline-spacious: 0.75rem;
|
|
9
|
-
$control-xsmall-gap: 0.25rem;
|
|
10
|
-
$control-small-size: 1.75rem;
|
|
11
|
-
$control-small-lineBoxHeight: 1.25rem;
|
|
12
|
-
$control-small-paddingBlock: 0.25rem;
|
|
13
|
-
$control-small-paddingInline-condensed: 0.5rem;
|
|
14
|
-
$control-small-paddingInline-normal: 0.75rem;
|
|
15
|
-
$control-small-gap: 0.25rem;
|
|
16
|
-
$control-medium-size: 2rem;
|
|
17
|
-
$control-medium-lineBoxHeight: 1.25rem;
|
|
18
|
-
$control-medium-paddingBlock: 0.375rem;
|
|
19
|
-
$control-medium-paddingInline-condensed: 0.5rem;
|
|
20
|
-
$control-medium-paddingInline-normal: 0.75rem;
|
|
21
|
-
$control-medium-paddingInline-spacious: 1rem;
|
|
22
|
-
$control-medium-gap: 0.5rem;
|
|
23
|
-
$control-large-size: 2.5rem;
|
|
24
|
-
$control-large-lineBoxHeight: 1.25rem;
|
|
25
|
-
$control-large-paddingBlock: 0.625rem;
|
|
26
|
-
$control-large-paddingInline-normal: 0.75rem;
|
|
27
|
-
$control-large-paddingInline-spacious: 1rem;
|
|
28
|
-
$control-large-gap: 0.5rem;
|
|
29
|
-
$control-xlarge-size: 3rem;
|
|
30
|
-
$control-xlarge-lineBoxHeight: 1.25rem;
|
|
31
|
-
$control-xlarge-paddingBlock: 0.875rem;
|
|
32
|
-
$control-xlarge-paddingInline-normal: 0.75rem;
|
|
33
|
-
$control-xlarge-paddingInline-spacious: 1rem;
|
|
34
|
-
$control-xlarge-gap: 0.5rem;
|
|
35
|
-
$controlStack-small-gap-condensed: 0.5rem;
|
|
36
|
-
$controlStack-small-gap-spacious: 1rem;
|
|
37
|
-
$controlStack-medium-gap-condensed: 0.5rem;
|
|
38
|
-
$controlStack-medium-gap-spacious: 0.75rem;
|
|
39
|
-
$controlStack-large-gap-auto: 0.5rem;
|
|
40
|
-
$controlStack-large-gap-condensed: 0.5rem;
|
|
41
|
-
$controlStack-large-gap-spacious: 0.75rem;
|
|
42
|
-
$space-xxsmall: 0.125rem;
|
|
43
|
-
$space-xsmall: 0.25rem;
|
|
44
|
-
$space-small: 0.375rem;
|
|
45
|
-
$space-medium: 0.5rem;
|
|
46
|
-
$space-large: 0.75rem;
|
|
47
|
-
$space-xlarge: 1rem;
|
|
48
|
-
$spinner-strokeWidth-default: 0.125rem;
|
|
49
|
-
$spinner-size-small: 1rem;
|
|
50
|
-
$spinner-size-medium: 2rem;
|
|
51
|
-
$spinner-size-large: 4rem;
|
|
52
|
-
$stack-padding-condensed: 0.5rem;
|
|
53
|
-
$stack-padding-normal: 1rem;
|
|
54
|
-
$stack-padding-spacious: 1.5rem;
|
|
55
|
-
$stack-gap-condensed: 0.5rem;
|
|
56
|
-
$stack-gap-normal: 1rem;
|
|
57
|
-
$stack-gap-spacious: 1.5rem;
|
|
58
|
-
$overlay-width-xsmall: 12rem;
|
|
59
|
-
$overlay-width-small: 20rem;
|
|
60
|
-
$overlay-width-medium: 30rem;
|
|
61
|
-
$overlay-width-large: 40rem;
|
|
62
|
-
$overlay-width-xlarge: 60rem;
|
|
63
|
-
$overlay-height-small: 16rem;
|
|
64
|
-
$overlay-height-medium: 20rem;
|
|
65
|
-
$overlay-height-large: 27rem;
|
|
66
|
-
$overlay-height-xlarge: 37.5rem;
|
|
67
|
-
$overlay-padding-normal: 1rem;
|
|
68
|
-
$overlay-padding-condensed: 0.5rem;
|
|
69
|
-
$overlay-paddingBlock-condensed: 0.25rem;
|
|
70
|
-
$overlay-paddingBlock-normal: 0.75rem;
|
|
71
|
-
$overlay-borderRadius: 0.375rem;
|
|
72
|
-
$overlay-offset: 0.25rem;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
$viewportRange-narrow: (max-width: calc(48rem - 0.02px));
|
|
2
|
-
$viewportRange-narrowLandscape: (max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape));
|
|
3
|
-
$viewportRange-regular: (min-width: 48rem);
|
|
4
|
-
$viewportRange-wide: (min-width: 87.5rem);
|
|
5
|
-
$viewportRange-portrait: (orientation: portrait);
|
|
6
|
-
$viewportRange-landscape: (orientation: landscape);
|