@primer/primitives 7.10.0-rc.ff1c1d9 → 7.11.0-rc.ecbdb39
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/CHANGELOG.md +8 -0
- package/build.js +2 -2
- package/dist/color-contrast-check.json +1 -1
- package/dist/js/colors/dark.d.ts +0 -13
- package/dist/js/colors/dark.js +1 -14
- package/dist/js/colors/dark_colorblind.d.ts +0 -13
- package/dist/js/colors/dark_colorblind.js +1 -14
- package/dist/js/colors/dark_dimmed.d.ts +0 -13
- package/dist/js/colors/dark_dimmed.js +1 -14
- package/dist/js/colors/dark_high_contrast.d.ts +0 -13
- package/dist/js/colors/dark_high_contrast.js +1 -14
- package/dist/js/colors/dark_tritanopia.d.ts +0 -13
- package/dist/js/colors/dark_tritanopia.js +1 -14
- package/dist/js/colors/index.d.ts +0 -117
- package/dist/js/colors/light.d.ts +0 -13
- package/dist/js/colors/light.js +1 -14
- package/dist/js/colors/light_colorblind.d.ts +0 -13
- package/dist/js/colors/light_colorblind.js +1 -14
- package/dist/js/colors/light_high_contrast.d.ts +0 -13
- package/dist/js/colors/light_high_contrast.js +1 -14
- package/dist/js/colors/light_tritanopia.d.ts +0 -13
- package/dist/js/colors/light_tritanopia.js +1 -14
- package/dist/js/index.d.ts +0 -117
- package/dist/json/colors/dark.json +1 -14
- package/dist/json/colors/dark_colorblind.json +1 -14
- package/dist/json/colors/dark_dimmed.json +1 -14
- package/dist/json/colors/dark_high_contrast.json +1 -14
- package/dist/json/colors/dark_tritanopia.json +1 -14
- package/dist/json/colors/light.json +1 -14
- package/dist/json/colors/light_colorblind.json +1 -14
- package/dist/json/colors/light_high_contrast.json +1 -14
- package/dist/json/colors/light_tritanopia.json +1 -14
- package/dist/removed/colors.json +13 -2
- package/dist/scss/colors/_dark.scss +0 -13
- package/dist/scss/colors/_dark_colorblind.scss +0 -13
- package/dist/scss/colors/_dark_dimmed.scss +0 -13
- package/dist/scss/colors/_dark_high_contrast.scss +0 -13
- package/dist/scss/colors/_dark_tritanopia.scss +0 -13
- package/dist/scss/colors/_light.scss +0 -13
- package/dist/scss/colors/_light_colorblind.scss +0 -13
- package/dist/scss/colors/_light_high_contrast.scss +0 -13
- package/dist/scss/colors/_light_tritanopia.scss +0 -13
- package/dist/ts/colors/dark.ts +1 -14
- package/dist/ts/colors/dark_colorblind.ts +1 -14
- package/dist/ts/colors/dark_dimmed.ts +1 -14
- package/dist/ts/colors/dark_high_contrast.ts +1 -14
- package/dist/ts/colors/dark_tritanopia.ts +1 -14
- package/dist/ts/colors/light.ts +1 -14
- package/dist/ts/colors/light_colorblind.ts +1 -14
- package/dist/ts/colors/light_high_contrast.ts +1 -14
- package/dist/ts/colors/light_tritanopia.ts +1 -14
- package/package.json +18 -4
- package/tokens/base/color/dark/dark.dimmed.json5 +128 -0
- package/tokens/base/color/dark/dark.high-contrast.json5 +128 -0
- package/tokens/base/color/dark/dark.json5 +133 -0
- package/tokens/base/color/dark/dark.protanopia-deuteranopia.json5 +48 -0
- package/tokens/base/color/dark/dark.tritanopia.json5 +96 -0
- package/tokens/base/color/light/light.high-contrast.json5 +394 -0
- package/tokens/base/color/light/light.json5 +403 -0
- package/tokens/base/color/light/light.protanopia-deuteranopia.json5 +138 -0
- package/tokens/base/color/light/light.tritanopia.json5 +96 -0
- package/tokens/functional/border/dark.json5 +12 -0
- package/tokens/functional/border/light.json5 +12 -0
- package/tokens/functional/color/dark/ansi-dark.json5 +74 -0
- package/tokens/functional/color/dark/checks-dark.json5 +289 -0
- package/tokens/functional/color/dark/components-dark.json5 +556 -0
- package/tokens/functional/color/dark/diff-dark.json5 +78 -0
- package/tokens/functional/color/dark/marketing-dark.json5 +24 -0
- package/tokens/functional/color/dark/misc-dark.json5 +38 -0
- package/tokens/functional/color/dark/overrides/dark.dimmed.json5 +17 -0
- package/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +276 -0
- package/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +50 -0
- package/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +49 -0
- package/tokens/functional/color/dark/primitives-dark.json5 +322 -0
- package/tokens/functional/color/dark/syntax-dark.json5 +208 -0
- package/tokens/functional/color/light/ansi-light.json5 +74 -0
- package/tokens/functional/color/light/checks-light.json5 +296 -0
- package/tokens/functional/color/light/components-light.json5 +469 -0
- package/tokens/functional/color/light/diff-light.json5 +76 -0
- package/tokens/functional/color/light/marketing-light.json5 +24 -0
- package/tokens/functional/color/light/misc-light.json5 +37 -0
- package/tokens/functional/color/light/overrides/light.high-contrast.json5 +332 -0
- package/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +92 -0
- package/tokens/functional/color/light/overrides/light.tritanopia.json5 +92 -0
- package/tokens/functional/color/light/primitives-light.json5 +313 -0
- package/tokens/functional/color/light/syntax-light.json5 +208 -0
- package/tokens/functional/color/scales.json5 +493 -0
- package/tokens/functional/shadow/dark.json5 +93 -0
- package/tokens/functional/shadow/light.json5 +100 -0
- package/tokens/functional/size/border.json +8 -0
- package/tokens/functional/typography/typography.json +2 -2
- package/tokens/removed/color.json +421 -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 +3 -3
- package/tokens-v2-private/docs/docValues.json +12 -12
- 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 +13 -13
- 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 +11 -11
- 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 +3 -3
- 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 +11 -11
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Wed,
|
|
3
|
+
* Generated on Wed, 23 Nov 2022 11:10:13 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
7
7
|
"primer": {
|
|
8
8
|
"fontStack": {
|
|
9
9
|
"system": {
|
|
10
|
-
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
10
|
+
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
11
11
|
"filePath": "tokens/functional/typography/typography.json",
|
|
12
12
|
"isSource": true,
|
|
13
13
|
"original": {
|
|
14
|
-
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
14
|
+
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
15
15
|
},
|
|
16
16
|
"name": "system",
|
|
17
17
|
"attributes": {},
|
|
@@ -22,11 +22,11 @@ module.exports = {
|
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
24
|
"sansSerif": {
|
|
25
|
-
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
25
|
+
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
26
26
|
"filePath": "tokens/functional/typography/typography.json",
|
|
27
27
|
"isSource": true,
|
|
28
28
|
"original": {
|
|
29
|
-
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
29
|
+
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
30
30
|
},
|
|
31
31
|
"name": "sansSerif",
|
|
32
32
|
"attributes": {},
|
|
@@ -123,7 +123,7 @@ module.exports = {
|
|
|
123
123
|
"fontWeight": "500",
|
|
124
124
|
"fontSize": "2.5rem",
|
|
125
125
|
"lineHeight": "calc(56/40)",
|
|
126
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
126
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
127
127
|
},
|
|
128
128
|
"type": "typography",
|
|
129
129
|
"filePath": "tokens/functional/typography/typography.json",
|
|
@@ -242,7 +242,7 @@ module.exports = {
|
|
|
242
242
|
"fontWeight": "600",
|
|
243
243
|
"fontSize": "2rem",
|
|
244
244
|
"lineHeight": "calc(48/32)",
|
|
245
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
245
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
246
246
|
},
|
|
247
247
|
"type": "typography",
|
|
248
248
|
"filePath": "tokens/functional/typography/typography.json",
|
|
@@ -271,7 +271,7 @@ module.exports = {
|
|
|
271
271
|
"fontWeight": "600",
|
|
272
272
|
"fontSize": "1.25rem",
|
|
273
273
|
"lineHeight": "calc(32/20)",
|
|
274
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
274
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
275
275
|
},
|
|
276
276
|
"type": "typography",
|
|
277
277
|
"filePath": "tokens/functional/typography/typography.json",
|
|
@@ -351,7 +351,7 @@ module.exports = {
|
|
|
351
351
|
"fontWeight": "400",
|
|
352
352
|
"fontSize": "1.25rem",
|
|
353
353
|
"lineHeight": "calc(32/20)",
|
|
354
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
354
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
355
355
|
},
|
|
356
356
|
"type": "typography",
|
|
357
357
|
"filePath": "tokens/functional/typography/typography.json",
|
|
@@ -504,7 +504,7 @@ module.exports = {
|
|
|
504
504
|
"fontWeight": "400",
|
|
505
505
|
"fontSize": "1rem",
|
|
506
506
|
"lineHeight": "calc(24/16)",
|
|
507
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
507
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
508
508
|
},
|
|
509
509
|
"type": "typography",
|
|
510
510
|
"filePath": "tokens/functional/typography/typography.json",
|
|
@@ -533,7 +533,7 @@ module.exports = {
|
|
|
533
533
|
"fontWeight": "400",
|
|
534
534
|
"fontSize": "0.875rem",
|
|
535
535
|
"lineHeight": "calc(20/14)",
|
|
536
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
536
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
537
537
|
},
|
|
538
538
|
"type": "typography",
|
|
539
539
|
"filePath": "tokens/functional/typography/typography.json",
|
|
@@ -562,7 +562,7 @@ module.exports = {
|
|
|
562
562
|
"fontWeight": "400",
|
|
563
563
|
"fontSize": "0.75rem",
|
|
564
564
|
"lineHeight": "calc(20/12)",
|
|
565
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
565
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
566
566
|
},
|
|
567
567
|
"type": "typography",
|
|
568
568
|
"filePath": "tokens/functional/typography/typography.json",
|
|
@@ -642,7 +642,7 @@ module.exports = {
|
|
|
642
642
|
"fontWeight": "400",
|
|
643
643
|
"fontSize": "0.75rem",
|
|
644
644
|
"lineHeight": "calc(16/12)",
|
|
645
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
645
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
646
646
|
},
|
|
647
647
|
"type": "typography",
|
|
648
648
|
"filePath": "tokens/functional/typography/typography.json",
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Wed,
|
|
3
|
+
* Generated on Wed, 23 Nov 2022 11:10:13 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
export const PrimerFontStackSystem = "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'";
|
|
7
|
-
export const PrimerFontStackSansSerif = "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'";
|
|
6
|
+
export const PrimerFontStackSystem = "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'";
|
|
7
|
+
export const PrimerFontStackSansSerif = "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'";
|
|
8
8
|
export const PrimerFontStackMonospace = "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace";
|
|
9
9
|
export const PrimerTextDisplayLineBoxHeight = "3.5rem";
|
|
10
10
|
export const PrimerTextDisplaySize = "2.5rem";
|
|
11
11
|
export const PrimerTextDisplayLineHeight = "calc(56/40)";
|
|
12
12
|
export const PrimerTextDisplayWeight = "500";
|
|
13
|
-
export const PrimerTextDisplayShorthand = {"fontWeight":"500","fontSize":"2.5rem","lineHeight":"calc(56/40)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
13
|
+
export const PrimerTextDisplayShorthand = {"fontWeight":"500","fontSize":"2.5rem","lineHeight":"calc(56/40)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
14
14
|
export const PrimerTextTitleSizeLarge = "2rem";
|
|
15
15
|
export const PrimerTextTitleSizeMedium = "1.25rem";
|
|
16
16
|
export const PrimerTextTitleLineHeightLarge = "calc(48/32)";
|
|
17
17
|
export const PrimerTextTitleLineHeightMedium = "calc(32/20)";
|
|
18
18
|
export const PrimerTextTitleWeight = "600";
|
|
19
|
-
export const PrimerTextTitleShorthandLarge = {"fontWeight":"600","fontSize":"2rem","lineHeight":"calc(48/32)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
20
|
-
export const PrimerTextTitleShorthandMedium = {"fontWeight":"600","fontSize":"1.25rem","lineHeight":"calc(32/20)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
19
|
+
export const PrimerTextTitleShorthandLarge = {"fontWeight":"600","fontSize":"2rem","lineHeight":"calc(48/32)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
20
|
+
export const PrimerTextTitleShorthandMedium = {"fontWeight":"600","fontSize":"1.25rem","lineHeight":"calc(32/20)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
21
21
|
export const PrimerTextSubtitleSize = "1.25rem";
|
|
22
22
|
export const PrimerTextSubtitleLineHeight = "calc(32/20)";
|
|
23
23
|
export const PrimerTextSubtitleWeight = "400";
|
|
24
|
-
export const PrimerTextSubtitleShorthand = {"fontWeight":"400","fontSize":"1.25rem","lineHeight":"calc(32/20)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
24
|
+
export const PrimerTextSubtitleShorthand = {"fontWeight":"400","fontSize":"1.25rem","lineHeight":"calc(32/20)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
25
25
|
export const PrimerTextBodySizeLarge = "1rem";
|
|
26
26
|
export const PrimerTextBodySizeMedium = "0.875rem";
|
|
27
27
|
export const PrimerTextBodySizeSmall = "0.75rem";
|
|
@@ -29,13 +29,13 @@ export const PrimerTextBodyLineHeightLarge = "calc(24/16)";
|
|
|
29
29
|
export const PrimerTextBodyLineHeightMedium = "calc(20/14)";
|
|
30
30
|
export const PrimerTextBodyLineHeightSmall = "calc(20/12)";
|
|
31
31
|
export const PrimerTextBodyWeight = "400";
|
|
32
|
-
export const PrimerTextBodyShorthandLarge = {"fontWeight":"400","fontSize":"1rem","lineHeight":"calc(24/16)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
33
|
-
export const PrimerTextBodyShorthandMedium = {"fontWeight":"400","fontSize":"0.875rem","lineHeight":"calc(20/14)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
34
|
-
export const PrimerTextBodyShorthandSmall = {"fontWeight":"400","fontSize":"0.75rem","lineHeight":"calc(20/12)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
32
|
+
export const PrimerTextBodyShorthandLarge = {"fontWeight":"400","fontSize":"1rem","lineHeight":"calc(24/16)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
33
|
+
export const PrimerTextBodyShorthandMedium = {"fontWeight":"400","fontSize":"0.875rem","lineHeight":"calc(20/14)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
34
|
+
export const PrimerTextBodyShorthandSmall = {"fontWeight":"400","fontSize":"0.75rem","lineHeight":"calc(20/12)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
35
35
|
export const PrimerTextCaptionSize = "0.75rem";
|
|
36
36
|
export const PrimerTextCaptionLineHeight = "calc(16/12)";
|
|
37
37
|
export const PrimerTextCaptionWeight = "400";
|
|
38
|
-
export const PrimerTextCaptionShorthand = {"fontWeight":"400","fontSize":"0.75rem","lineHeight":"calc(16/12)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
38
|
+
export const PrimerTextCaptionShorthand = {"fontWeight":"400","fontSize":"0.75rem","lineHeight":"calc(16/12)","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
|
|
39
39
|
export const PrimerTextCodeBlockSize = "0.8125rem";
|
|
40
40
|
export const PrimerTextCodeBlockLineHeight = "calc(20/13)";
|
|
41
41
|
export const PrimerTextCodeBlockWeight = "400";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on Wed,
|
|
3
|
+
// Generated on Wed, 23 Nov 2022 11:10:13 GMT
|
|
4
4
|
|
|
5
5
|
$primer-text-codeInline-size: 0.9285em;
|
|
6
6
|
$primer-text-codeBlock-lineHeight: calc(20/13);
|
|
@@ -23,8 +23,8 @@ $primer-text-display-lineHeight: calc(56/40);
|
|
|
23
23
|
$primer-text-display-size: 2.5rem;
|
|
24
24
|
$primer-text-display-lineBoxHeight: 3.5rem;
|
|
25
25
|
$primer-fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
26
|
-
$primer-fontStack-sansSerif: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
27
|
-
$primer-fontStack-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
26
|
+
$primer-fontStack-sansSerif: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
27
|
+
$primer-fontStack-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
28
28
|
$primer-text-codeInline-weight: $base-text-weight-normal;
|
|
29
29
|
$primer-text-codeBlock-weight: $base-text-weight-normal;
|
|
30
30
|
$primer-text-caption-weight: $base-text-weight-normal;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Wed,
|
|
3
|
+
* Generated on Wed, 23 Nov 2022 11:10:14 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
module.exports = {
|
|
9
9
|
"primer": {
|
|
10
10
|
"fontStack": {
|
|
11
|
-
"system": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
12
|
-
"sansSerif": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
11
|
+
"system": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
12
|
+
"sansSerif": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
13
13
|
"monospace": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace"
|
|
14
14
|
},
|
|
15
15
|
"text": {
|
|
@@ -22,7 +22,7 @@ module.exports = {
|
|
|
22
22
|
"fontWeight": "500",
|
|
23
23
|
"fontSize": "2.5rem",
|
|
24
24
|
"lineHeight": "calc(56/40)",
|
|
25
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
25
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"title": {
|
|
@@ -40,13 +40,13 @@ module.exports = {
|
|
|
40
40
|
"fontWeight": "600",
|
|
41
41
|
"fontSize": "2rem",
|
|
42
42
|
"lineHeight": "calc(48/32)",
|
|
43
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
43
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
44
44
|
},
|
|
45
45
|
"medium": {
|
|
46
46
|
"fontWeight": "600",
|
|
47
47
|
"fontSize": "1.25rem",
|
|
48
48
|
"lineHeight": "calc(32/20)",
|
|
49
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
49
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
},
|
|
@@ -58,7 +58,7 @@ module.exports = {
|
|
|
58
58
|
"fontWeight": "400",
|
|
59
59
|
"fontSize": "1.25rem",
|
|
60
60
|
"lineHeight": "calc(32/20)",
|
|
61
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
61
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"body": {
|
|
@@ -78,19 +78,19 @@ module.exports = {
|
|
|
78
78
|
"fontWeight": "400",
|
|
79
79
|
"fontSize": "1rem",
|
|
80
80
|
"lineHeight": "calc(24/16)",
|
|
81
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
81
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
82
82
|
},
|
|
83
83
|
"medium": {
|
|
84
84
|
"fontWeight": "400",
|
|
85
85
|
"fontSize": "0.875rem",
|
|
86
86
|
"lineHeight": "calc(20/14)",
|
|
87
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
87
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
88
88
|
},
|
|
89
89
|
"small": {
|
|
90
90
|
"fontWeight": "400",
|
|
91
91
|
"fontSize": "0.75rem",
|
|
92
92
|
"lineHeight": "calc(20/12)",
|
|
93
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
93
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
},
|
|
@@ -102,7 +102,7 @@ module.exports = {
|
|
|
102
102
|
"fontWeight": "400",
|
|
103
103
|
"fontSize": "0.75rem",
|
|
104
104
|
"lineHeight": "calc(16/12)",
|
|
105
|
-
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
105
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
108
|
"codeBlock": {
|