@primer/primitives 10.6.0-rc.cbb4dec4 → 10.6.0-rc.efb715c5

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.
@@ -43,10 +43,10 @@ export const figma = (outputFile, prefix, buildPath, options = {}) => {
43
43
  'name/pathToFigma',
44
44
  ],
45
45
  options: Object.assign(Object.assign({ basePxFontSize: 16, fontFamilies: {
46
- 'fontStack/system': 'SF Pro Text',
47
- 'fontStack/sansSerif': 'SF Pro Text',
48
- 'fontStack/sansSerifDisplay': 'SF Pro Display',
49
- 'fontStack/monospace': 'SF Mono',
46
+ system: 'SF Pro Text',
47
+ sansSerif: 'SF Pro Text',
48
+ sansSerifDisplay: 'SF Pro Display',
49
+ monospace: 'SF Mono',
50
50
  } }, options), { theme: figmaTheme, themeOverrides: {
51
51
  theme: options.theme,
52
52
  } }),
@@ -40,5 +40,8 @@ export const fontFamilyToFigma = {
40
40
  type: 'value',
41
41
  transitive: true,
42
42
  filter: isFontFamily,
43
- transform: (token, platform, options) => { var _a; return parseFontFamily(token, (_a = platform.options) === null || _a === void 0 ? void 0 : _a.fontFamilies, options); },
43
+ transform: (token, platform, options) => {
44
+ var _a;
45
+ return parseFontFamily(token, (_a = platform.options) === null || _a === void 0 ? void 0 : _a.fontFamilies, options);
46
+ },
44
47
  };
@@ -41,7 +41,7 @@
41
41
  },
42
42
  {
43
43
  "name": "fontStack/system",
44
- "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
44
+ "value": "SF Pro Text",
45
45
  "type": "STRING",
46
46
  "refId": "typography/fontStack/system",
47
47
  "collection": "typography",
@@ -51,7 +51,7 @@
51
51
  },
52
52
  {
53
53
  "name": "fontStack/sansSerif",
54
- "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
54
+ "value": "SF Pro Text",
55
55
  "type": "STRING",
56
56
  "refId": "typography/fontStack/sansSerif",
57
57
  "collection": "typography",
@@ -61,7 +61,7 @@
61
61
  },
62
62
  {
63
63
  "name": "fontStack/sansSerifDisplay",
64
- "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
64
+ "value": "SF Pro Display",
65
65
  "type": "STRING",
66
66
  "refId": "typography/fontStack/sansSerifDisplay",
67
67
  "collection": "typography",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  {
73
73
  "name": "fontStack/monospace",
74
- "value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
74
+ "value": "SF Mono",
75
75
  "type": "STRING",
76
76
  "refId": "typography/fontStack/monospace",
77
77
  "collection": "typography",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "10.6.0-rc.cbb4dec4",
3
+ "version": "10.6.0-rc.efb715c5",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "type": "module",
6
6
  "files": [