@primer/primitives 7.11.2 → 7.11.3-rc.214e1b1
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/color-contrast-check.json +1 -1
- package/dist/js/colors/dark.js +2 -2
- package/dist/js/colors/dark_colorblind.js +2 -2
- package/dist/js/colors/dark_dimmed.js +2 -2
- package/dist/js/colors/dark_high_contrast.js +2 -2
- package/dist/js/colors/dark_tritanopia.js +2 -2
- package/dist/js/colors/light.js +4 -4
- package/dist/js/colors/light_colorblind.js +3 -3
- package/dist/js/colors/light_high_contrast.js +2 -2
- package/dist/js/colors/light_tritanopia.js +3 -3
- package/dist/json/colors/dark.json +2 -2
- package/dist/json/colors/dark_colorblind.json +2 -2
- package/dist/json/colors/dark_dimmed.json +2 -2
- package/dist/json/colors/dark_high_contrast.json +2 -2
- package/dist/json/colors/dark_tritanopia.json +2 -2
- package/dist/json/colors/light.json +4 -4
- package/dist/json/colors/light_colorblind.json +3 -3
- package/dist/json/colors/light_high_contrast.json +2 -2
- package/dist/json/colors/light_tritanopia.json +3 -3
- package/dist/scss/colors/_dark.scss +2 -2
- package/dist/scss/colors/_dark_colorblind.scss +2 -2
- package/dist/scss/colors/_dark_dimmed.scss +2 -2
- package/dist/scss/colors/_dark_high_contrast.scss +2 -2
- package/dist/scss/colors/_dark_tritanopia.scss +2 -2
- package/dist/scss/colors/_light.scss +4 -4
- package/dist/scss/colors/_light_colorblind.scss +3 -3
- package/dist/scss/colors/_light_high_contrast.scss +2 -2
- package/dist/scss/colors/_light_tritanopia.scss +3 -3
- package/dist/ts/colors/dark.ts +2 -2
- package/dist/ts/colors/dark_colorblind.ts +2 -2
- package/dist/ts/colors/dark_dimmed.ts +2 -2
- package/dist/ts/colors/dark_high_contrast.ts +2 -2
- package/dist/ts/colors/dark_tritanopia.ts +2 -2
- package/dist/ts/colors/light.ts +4 -4
- package/dist/ts/colors/light_colorblind.ts +3 -3
- package/dist/ts/colors/light_high_contrast.ts +2 -2
- package/dist/ts/colors/light_tritanopia.ts +3 -3
- package/package.json +1 -1
- package/tokens-next-private/css/base/color/dark-colorblind.css +1 -1
- package/tokens-next-private/css/base/color/dark-dimmed.css +1 -1
- package/tokens-next-private/css/base/color/dark-high-contrast.css +1 -1
- package/tokens-next-private/css/base/color/dark-tritanopia.css +1 -1
- package/tokens-next-private/css/base/color/dark.css +1 -1
- package/tokens-next-private/css/base/color/light-colorblind.css +1 -1
- package/tokens-next-private/css/base/color/light-high-contrast.css +1 -1
- package/tokens-next-private/css/base/color/light-tritanopia.css +1 -1
- package/tokens-next-private/css/base/color/light.css +1 -1
- package/tokens-next-private/css/base/size/size.css +1 -1
- package/tokens-next-private/css/base/typography/typography.css +1 -1
- package/tokens-next-private/css/functional/size/border.css +1 -1
- package/tokens-next-private/css/functional/size/breakpoints.css +1 -1
- package/tokens-next-private/css/functional/size/size-coarse.css +1 -1
- package/tokens-next-private/css/functional/size/size-fine.css +1 -1
- package/tokens-next-private/css/functional/size/size.css +1 -1
- package/tokens-next-private/css/functional/size/viewport.css +1 -1
- package/tokens-next-private/css/functional/themes/dark-colorblind.css +3 -3
- package/tokens-next-private/css/functional/themes/dark-dimmed.css +3 -3
- package/tokens-next-private/css/functional/themes/dark-high-contrast.css +3 -3
- package/tokens-next-private/css/functional/themes/dark-tritanopia.css +3 -3
- package/tokens-next-private/css/functional/themes/dark.css +3 -3
- package/tokens-next-private/css/functional/themes/light-colorblind.css +15 -15
- package/tokens-next-private/css/functional/themes/light-high-contrast.css +13 -13
- package/tokens-next-private/css/functional/themes/light-tritanopia.css +17 -17
- package/tokens-next-private/css/functional/themes/light.css +17 -17
- package/tokens-next-private/css/functional/typography/typography.css +1 -1
- package/tokens-next-private/docs/base/size/size.json +17 -17
- package/tokens-next-private/docs/functional/size/border.json +1 -1
- package/tokens-next-private/docs/functional/size/breakpoints.json +6 -6
- package/tokens-next-private/docs/functional/size/size-coarse.json +3 -3
- package/tokens-next-private/docs/functional/size/size-fine.json +3 -3
- package/tokens-next-private/docs/functional/size/size.json +47 -47
- package/tokens-next-private/docs/functional/size/viewport.json +4 -4
- package/tokens-next-private/docs/functional/themes/dark-colorblind.json +3 -3
- package/tokens-next-private/docs/functional/themes/dark-dimmed.json +3 -3
- package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +3 -3
- package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +3 -3
- package/tokens-next-private/docs/functional/themes/dark.json +3 -3
- package/tokens-next-private/docs/functional/themes/light-colorblind.json +17 -9
- package/tokens-next-private/docs/functional/themes/light-high-contrast.json +16 -8
- package/tokens-next-private/docs/functional/themes/light-tritanopia.json +19 -11
- package/tokens-next-private/docs/functional/themes/light.json +19 -11
- package/tokens-next-private/docs/functional/typography/typography.json +21 -21
- package/tokens-next-private/js/base/color/dark-colorblind.js +1 -1
- package/tokens-next-private/js/base/color/dark-dimmed.js +1 -1
- package/tokens-next-private/js/base/color/dark-high-contrast.js +1 -1
- package/tokens-next-private/js/base/color/dark-tritanopia.js +1 -1
- package/tokens-next-private/js/base/color/dark.js +1 -1
- package/tokens-next-private/js/base/color/light-colorblind.js +1 -1
- package/tokens-next-private/js/base/color/light-high-contrast.js +1 -1
- package/tokens-next-private/js/base/color/light-tritanopia.js +1 -1
- package/tokens-next-private/js/base/color/light.js +1 -1
- package/tokens-next-private/js/base/size/size.js +18 -18
- package/tokens-next-private/js/base/typography/typography.js +1 -1
- package/tokens-next-private/js/functional/size/border.js +2 -2
- package/tokens-next-private/js/functional/size/breakpoints.js +7 -7
- package/tokens-next-private/js/functional/size/size-coarse.js +4 -4
- package/tokens-next-private/js/functional/size/size-fine.js +4 -4
- package/tokens-next-private/js/functional/size/size.js +48 -48
- package/tokens-next-private/js/functional/size/viewport.js +5 -5
- package/tokens-next-private/js/functional/themes/dark-colorblind.js +2 -2
- package/tokens-next-private/js/functional/themes/dark-dimmed.js +2 -2
- package/tokens-next-private/js/functional/themes/dark-high-contrast.js +2 -2
- package/tokens-next-private/js/functional/themes/dark-tritanopia.js +2 -2
- package/tokens-next-private/js/functional/themes/dark.js +2 -2
- package/tokens-next-private/js/functional/themes/light-colorblind.js +8 -8
- package/tokens-next-private/js/functional/themes/light-high-contrast.js +7 -7
- package/tokens-next-private/js/functional/themes/light-tritanopia.js +9 -9
- package/tokens-next-private/js/functional/themes/light.js +9 -9
- package/tokens-next-private/js/functional/typography/typography.js +22 -22
- package/tokens-next-private/json/base/size/size.json +17 -17
- package/tokens-next-private/json/functional/size/border.json +1 -1
- package/tokens-next-private/json/functional/size/breakpoints.json +6 -6
- package/tokens-next-private/json/functional/size/size-coarse.json +3 -3
- package/tokens-next-private/json/functional/size/size-fine.json +3 -3
- package/tokens-next-private/json/functional/size/size.json +47 -47
- package/tokens-next-private/json/functional/size/viewport.json +4 -4
- package/tokens-next-private/json/functional/themes/dark-colorblind.json +1 -1
- package/tokens-next-private/json/functional/themes/dark-dimmed.json +1 -1
- package/tokens-next-private/json/functional/themes/dark-high-contrast.json +1 -1
- package/tokens-next-private/json/functional/themes/dark-tritanopia.json +1 -1
- package/tokens-next-private/json/functional/themes/dark.json +1 -1
- package/tokens-next-private/json/functional/themes/light-colorblind.json +7 -7
- package/tokens-next-private/json/functional/themes/light-high-contrast.json +6 -6
- package/tokens-next-private/json/functional/themes/light-tritanopia.json +8 -8
- package/tokens-next-private/json/functional/themes/light.json +8 -8
- package/tokens-next-private/json/functional/typography/typography.json +21 -21
- package/tokens-next-private/scss/base/color/dark-colorblind.scss +1 -1
- package/tokens-next-private/scss/base/color/dark-dimmed.scss +1 -1
- package/tokens-next-private/scss/base/color/dark-high-contrast.scss +1 -1
- package/tokens-next-private/scss/base/color/dark-tritanopia.scss +1 -1
- package/tokens-next-private/scss/base/color/dark.scss +1 -1
- package/tokens-next-private/scss/base/color/light-colorblind.scss +1 -1
- package/tokens-next-private/scss/base/color/light-high-contrast.scss +1 -1
- package/tokens-next-private/scss/base/color/light-tritanopia.scss +1 -1
- package/tokens-next-private/scss/base/color/light.scss +1 -1
- package/tokens-next-private/scss/base/size/size.scss +1 -1
- package/tokens-next-private/scss/base/typography/typography.scss +1 -1
- package/tokens-next-private/scss/functional/size/border.scss +1 -1
- package/tokens-next-private/scss/functional/size/breakpoints.scss +1 -1
- package/tokens-next-private/scss/functional/size/size-coarse.scss +1 -1
- package/tokens-next-private/scss/functional/size/size-fine.scss +1 -1
- package/tokens-next-private/scss/functional/size/size.scss +1 -1
- package/tokens-next-private/scss/functional/size/viewport.scss +1 -1
- package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +2 -2
- package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +2 -2
- package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +2 -2
- package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +2 -2
- package/tokens-next-private/scss/functional/themes/dark.scss +2 -2
- package/tokens-next-private/scss/functional/themes/light-colorblind.scss +8 -8
- package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +7 -7
- package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +9 -9
- package/tokens-next-private/scss/functional/themes/light.scss +9 -9
- package/tokens-next-private/scss/functional/typography/typography.scss +1 -1
- package/tokens-next-private/ts/base/color/dark-colorblind.ts +1 -1
- package/tokens-next-private/ts/base/color/dark-dimmed.ts +1 -1
- package/tokens-next-private/ts/base/color/dark-high-contrast.ts +1 -1
- package/tokens-next-private/ts/base/color/dark-tritanopia.ts +1 -1
- package/tokens-next-private/ts/base/color/dark.ts +1 -1
- package/tokens-next-private/ts/base/color/light-colorblind.ts +1 -1
- package/tokens-next-private/ts/base/color/light-high-contrast.ts +1 -1
- package/tokens-next-private/ts/base/color/light-tritanopia.ts +1 -1
- package/tokens-next-private/ts/base/color/light.ts +1 -1
- package/tokens-next-private/ts/base/size/size.ts +18 -18
- package/tokens-next-private/ts/base/typography/typography.ts +1 -1
- package/tokens-next-private/ts/functional/size/border.ts +2 -2
- package/tokens-next-private/ts/functional/size/breakpoints.ts +7 -7
- package/tokens-next-private/ts/functional/size/size-coarse.ts +4 -4
- package/tokens-next-private/ts/functional/size/size-fine.ts +4 -4
- package/tokens-next-private/ts/functional/size/size.ts +48 -48
- package/tokens-next-private/ts/functional/size/viewport.ts +5 -5
- package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +2 -2
- package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +2 -2
- package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +2 -2
- package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +2 -2
- package/tokens-next-private/ts/functional/themes/dark.ts +2 -2
- package/tokens-next-private/ts/functional/themes/light-colorblind.ts +8 -8
- package/tokens-next-private/ts/functional/themes/light-high-contrast.ts +7 -7
- package/tokens-next-private/ts/functional/themes/light-tritanopia.ts +9 -9
- package/tokens-next-private/ts/functional/themes/light.ts +9 -9
- package/tokens-next-private/ts/functional/typography/typography.ts +22 -22
- package/tokens-next-private/ts/types/BaseColorDesignTokens.d.ts +1 -1
- package/tokens-next-private/ts/types/SizeDesignTokens.d.ts +55 -55
- package/tokens-next-private/ts/types/ThemeDesignTokens.d.ts +1 -1
- package/tokens-next-private/ts/types/TypographyDesignTokens.d.ts +14 -19
- 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
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Wed, 29 Mar 2023
|
|
3
|
+
* Generated on Wed, 29 Mar 2023 13:11:48 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @description size in
|
|
7
|
+
* @description size in rem
|
|
8
8
|
*/
|
|
9
|
-
type
|
|
9
|
+
type SizeRem = `${number}rem`;
|
|
10
10
|
|
|
11
11
|
export type SizeDesignTokens = {
|
|
12
12
|
borderInset: {
|
|
@@ -27,109 +27,109 @@ export type SizeDesignTokens = {
|
|
|
27
27
|
};
|
|
28
28
|
outline: {
|
|
29
29
|
focus: {
|
|
30
|
-
offset:
|
|
30
|
+
offset: SizeRem;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
breakpoint: {
|
|
34
|
-
xsmall:
|
|
35
|
-
small:
|
|
36
|
-
medium:
|
|
37
|
-
large:
|
|
38
|
-
xlarge:
|
|
39
|
-
xxlarge:
|
|
34
|
+
xsmall: SizeRem;
|
|
35
|
+
small: SizeRem;
|
|
36
|
+
medium: SizeRem;
|
|
37
|
+
large: SizeRem;
|
|
38
|
+
xlarge: SizeRem;
|
|
39
|
+
xxlarge: SizeRem;
|
|
40
40
|
};
|
|
41
41
|
control: {
|
|
42
42
|
minTarget: {
|
|
43
|
-
auto:
|
|
44
|
-
fine:
|
|
45
|
-
coarse:
|
|
43
|
+
auto: SizeRem;
|
|
44
|
+
fine: SizeRem;
|
|
45
|
+
coarse: SizeRem;
|
|
46
46
|
};
|
|
47
47
|
xsmall: {
|
|
48
|
-
size:
|
|
49
|
-
lineBoxHeight:
|
|
48
|
+
size: SizeRem;
|
|
49
|
+
lineBoxHeight: SizeRem;
|
|
50
50
|
paddingBlock: string;
|
|
51
51
|
paddingInline: {
|
|
52
|
-
condensed:
|
|
53
|
-
normal:
|
|
54
|
-
spacious:
|
|
52
|
+
condensed: SizeRem;
|
|
53
|
+
normal: SizeRem;
|
|
54
|
+
spacious: SizeRem;
|
|
55
55
|
};
|
|
56
|
-
gap:
|
|
56
|
+
gap: SizeRem;
|
|
57
57
|
};
|
|
58
58
|
small: {
|
|
59
|
-
size:
|
|
60
|
-
lineBoxHeight:
|
|
59
|
+
size: SizeRem;
|
|
60
|
+
lineBoxHeight: SizeRem;
|
|
61
61
|
paddingBlock: string;
|
|
62
62
|
paddingInline: {
|
|
63
|
-
condensed:
|
|
64
|
-
normal:
|
|
63
|
+
condensed: SizeRem;
|
|
64
|
+
normal: SizeRem;
|
|
65
65
|
};
|
|
66
|
-
gap:
|
|
66
|
+
gap: SizeRem;
|
|
67
67
|
};
|
|
68
68
|
medium: {
|
|
69
|
-
size:
|
|
70
|
-
lineBoxHeight:
|
|
69
|
+
size: SizeRem;
|
|
70
|
+
lineBoxHeight: SizeRem;
|
|
71
71
|
paddingBlock: string;
|
|
72
72
|
paddingInline: {
|
|
73
|
-
condensed:
|
|
74
|
-
normal:
|
|
75
|
-
spacious:
|
|
73
|
+
condensed: SizeRem;
|
|
74
|
+
normal: SizeRem;
|
|
75
|
+
spacious: SizeRem;
|
|
76
76
|
};
|
|
77
|
-
gap:
|
|
77
|
+
gap: SizeRem;
|
|
78
78
|
};
|
|
79
79
|
large: {
|
|
80
|
-
size:
|
|
81
|
-
lineBoxHeight:
|
|
80
|
+
size: SizeRem;
|
|
81
|
+
lineBoxHeight: SizeRem;
|
|
82
82
|
paddingBlock: string;
|
|
83
83
|
paddingInline: {
|
|
84
|
-
normal:
|
|
85
|
-
spacious:
|
|
84
|
+
normal: SizeRem;
|
|
85
|
+
spacious: SizeRem;
|
|
86
86
|
};
|
|
87
|
-
gap:
|
|
87
|
+
gap: SizeRem;
|
|
88
88
|
};
|
|
89
89
|
xlarge: {
|
|
90
|
-
size:
|
|
91
|
-
lineBoxHeight:
|
|
90
|
+
size: SizeRem;
|
|
91
|
+
lineBoxHeight: SizeRem;
|
|
92
92
|
paddingBlock: string;
|
|
93
93
|
paddingInline: {
|
|
94
|
-
normal:
|
|
95
|
-
spacious:
|
|
94
|
+
normal: SizeRem;
|
|
95
|
+
spacious: SizeRem;
|
|
96
96
|
};
|
|
97
|
-
gap:
|
|
97
|
+
gap: SizeRem;
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
100
|
controlStack: {
|
|
101
101
|
small: {
|
|
102
102
|
gap: {
|
|
103
|
-
auto:
|
|
104
|
-
condensed:
|
|
105
|
-
spacious:
|
|
103
|
+
auto: SizeRem;
|
|
104
|
+
condensed: SizeRem;
|
|
105
|
+
spacious: SizeRem;
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
108
|
medium: {
|
|
109
109
|
gap: {
|
|
110
|
-
auto:
|
|
111
|
-
condensed:
|
|
112
|
-
spacious:
|
|
110
|
+
auto: SizeRem;
|
|
111
|
+
condensed: SizeRem;
|
|
112
|
+
spacious: SizeRem;
|
|
113
113
|
};
|
|
114
114
|
};
|
|
115
115
|
large: {
|
|
116
116
|
gap: {
|
|
117
|
-
auto:
|
|
118
|
-
condensed:
|
|
119
|
-
spacious:
|
|
117
|
+
auto: SizeRem;
|
|
118
|
+
condensed: SizeRem;
|
|
119
|
+
spacious: SizeRem;
|
|
120
120
|
};
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
123
|
stack: {
|
|
124
124
|
padding: {
|
|
125
|
-
condensed:
|
|
126
|
-
normal:
|
|
127
|
-
spacious:
|
|
125
|
+
condensed: SizeRem;
|
|
126
|
+
normal: SizeRem;
|
|
127
|
+
spacious: SizeRem;
|
|
128
128
|
};
|
|
129
129
|
gap: {
|
|
130
|
-
condensed:
|
|
131
|
-
normal:
|
|
132
|
-
spacious:
|
|
130
|
+
condensed: SizeRem;
|
|
131
|
+
normal: SizeRem;
|
|
132
|
+
spacious: SizeRem;
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
135
|
viewportRange: {
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Wed, 29 Mar 2023
|
|
3
|
+
* Generated on Wed, 29 Mar 2023 13:11:48 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @description size in
|
|
7
|
+
* @description size in rem
|
|
8
8
|
*/
|
|
9
|
-
type
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @description size in em
|
|
13
|
-
*/
|
|
14
|
-
type SizeEm = `${number}em`;
|
|
9
|
+
type SizeRem = `${number}rem`;
|
|
15
10
|
|
|
16
11
|
export type TypographyDesignTokens = {
|
|
17
12
|
fontStack: {
|
|
@@ -21,16 +16,16 @@ export type TypographyDesignTokens = {
|
|
|
21
16
|
};
|
|
22
17
|
text: {
|
|
23
18
|
display: {
|
|
24
|
-
lineBoxHeight:
|
|
25
|
-
size:
|
|
19
|
+
lineBoxHeight: SizeRem;
|
|
20
|
+
size: SizeRem;
|
|
26
21
|
lineHeight: string;
|
|
27
22
|
weight: number;
|
|
28
23
|
shorthand: string;
|
|
29
24
|
};
|
|
30
25
|
title: {
|
|
31
26
|
size: {
|
|
32
|
-
large:
|
|
33
|
-
medium:
|
|
27
|
+
large: SizeRem;
|
|
28
|
+
medium: SizeRem;
|
|
34
29
|
};
|
|
35
30
|
lineHeight: {
|
|
36
31
|
large: string;
|
|
@@ -43,16 +38,16 @@ export type TypographyDesignTokens = {
|
|
|
43
38
|
};
|
|
44
39
|
};
|
|
45
40
|
subtitle: {
|
|
46
|
-
size:
|
|
41
|
+
size: SizeRem;
|
|
47
42
|
lineHeight: string;
|
|
48
43
|
weight: number;
|
|
49
44
|
shorthand: string;
|
|
50
45
|
};
|
|
51
46
|
body: {
|
|
52
47
|
size: {
|
|
53
|
-
large:
|
|
54
|
-
medium:
|
|
55
|
-
small:
|
|
48
|
+
large: SizeRem;
|
|
49
|
+
medium: SizeRem;
|
|
50
|
+
small: SizeRem;
|
|
56
51
|
};
|
|
57
52
|
lineHeight: {
|
|
58
53
|
large: string;
|
|
@@ -67,19 +62,19 @@ export type TypographyDesignTokens = {
|
|
|
67
62
|
};
|
|
68
63
|
};
|
|
69
64
|
caption: {
|
|
70
|
-
size:
|
|
65
|
+
size: SizeRem;
|
|
71
66
|
lineHeight: string;
|
|
72
67
|
weight: number;
|
|
73
68
|
shorthand: string;
|
|
74
69
|
};
|
|
75
70
|
codeBlock: {
|
|
76
|
-
size:
|
|
71
|
+
size: SizeRem;
|
|
77
72
|
lineHeight: string;
|
|
78
73
|
weight: number;
|
|
79
74
|
shorthand: string;
|
|
80
75
|
};
|
|
81
76
|
codeInline: {
|
|
82
|
-
size:
|
|
77
|
+
size: SizeRem;
|
|
83
78
|
weight: number;
|
|
84
79
|
shorthand: string;
|
|
85
80
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Wed, 29 Mar 2023
|
|
3
|
+
* Generated on Wed, 29 Mar 2023 13:11:39 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export const PrimerFontStackSystem = "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'";
|