Skip to content

Commit ee9ea15

Browse files
Revert font weight changes from PR #847 (#864)
## Summary This PR reverts the changes made in PR #847 which updated the bold font weight from 700 to 600 throughout the design system. ## Changes - Reverts the merge commit 721f31b - Restores bold font weight to 700 across all design tokens, components, and documentation - Restores original Geist Bold font files ## Related Issues Reverts: #847 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Restores bold weight to 700 and switches Geist SemiBold to Bold across design tokens, Text types/docs/stories, and Storybook font assets. > > - **Typography/Design Tokens**: > - Set `--font-weight-bold` and JS/figma tokens `bold` back to `700`; updated related tests and docs/stories. > - **Components**: > - React & React Native `Text` types/enums/docs/stories updated to reflect `FontWeight.Bold = 700` and labels adjusted. > - **Storybook Assets**: > - React Native: replace Geist `SemiBold` fonts with `Bold` in `apps/storybook-react-native/.storybook/FontLoader.js`. > - Web Storybook: switch `@font-face` mappings from `600`/`SemiBold` to `700`/`Bold` in `apps/storybook-react/tailwind.css`; ensure MM Sans/Poly bold weights use `700`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 6ba119b. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent c972d3f commit ee9ea15

File tree

21 files changed

+35
-35
lines changed

21 files changed

+35
-35
lines changed

apps/storybook-react-native/.storybook/FontLoader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const FontLoader = ({ children }) => {
1212
'Geist Regular Italic': require('../fonts/Geist/Geist Regular Italic.otf'),
1313
'Geist Medium': require('../fonts/Geist/Geist Medium.otf'),
1414
'Geist Medium Italic': require('../fonts/Geist/Geist Medium Italic.otf'),
15-
'Geist SemiBold': require('../fonts/Geist/Geist SemiBold.otf'),
16-
'Geist SemiBold Italic': require('../fonts/Geist/Geist SemiBold Italic.otf'),
15+
'Geist Bold': require('../fonts/Geist/Geist Bold.otf'),
16+
'Geist Bold Italic': require('../fonts/Geist/Geist Bold Italic.otf'),
1717
'MM Poly Regular': require('../fonts/MMPoly/MM Poly Regular.otf'),
1818
'MM Sans Regular': require('../fonts/MMSans/MM Sans Regular.otf'),
1919
'MM Sans Medium': require('../fonts/MMSans/MM Sans Medium.otf'),
-130 KB
Binary file not shown.
-131 KB
Binary file not shown.
-42.1 KB
Binary file not shown.
-41.5 KB
Binary file not shown.

apps/storybook-react/tailwind.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@
3434
@font-face {
3535
font-family: 'Geist';
3636
font-style: normal;
37-
font-weight: 600;
38-
src: url('fonts/Geist/Geist SemiBold.woff2') format('woff2');
37+
font-weight: 700;
38+
src: url('fonts/Geist/Geist Bold.woff2') format('woff2');
3939
}
4040

4141
@font-face {
4242
font-family: 'Geist';
4343
font-style: italic;
44-
font-weight: 600;
45-
src: url('fonts/Geist/Geist SemiBold Italic.woff2') format('woff2');
44+
font-weight: 700;
45+
src: url('fonts/Geist/Geist Bold Italic.woff2') format('woff2');
4646
}
4747

4848
/* MM Sans */
@@ -63,7 +63,7 @@
6363
@font-face {
6464
font-family: 'MMSans';
6565
font-style: normal;
66-
font-weight: 600;
66+
font-weight: 700;
6767
src: url('fonts/MMSans/MM Sans Bold.woff2') format('woff2');
6868
}
6969

@@ -85,6 +85,6 @@
8585
@font-face {
8686
font-family: 'MMPoly';
8787
font-style: normal;
88-
font-weight: 600;
88+
font-weight: 700;
8989
src: url('fonts/MMPoly/MM Poly Regular.woff2') format('woff2');
9090
}

packages/design-system-react-native/src/components/Text/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Available `FontWeight` options:
7676

7777
- `FontWeight.Regular` (Weight `400`)
7878
- `FontWeight.Medium` (Weight `500`)
79-
- `FontWeight.Bold` (Weight `600`)
79+
- `FontWeight.Bold` (Weight `700`)
8080

8181
### `fontStyle`
8282

packages/design-system-react-native/src/components/Text/Text.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export const FontWeightStory: Story = {
115115
<View>
116116
<Text fontWeight={FontWeight.Regular}>Regular (400)</Text>
117117
<Text fontWeight={FontWeight.Medium}>Medium (500)</Text>
118-
<Text fontWeight={FontWeight.Bold}>Bold (600)</Text>
118+
<Text fontWeight={FontWeight.Bold}>Bold (700)</Text>
119119
</View>
120120
),
121121
name: 'Font Weight',

packages/design-system-react-native/src/components/Text/Text.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export type TextProps = {
3131
* Optional prop to control the font weight of the text.
3232
* Normal: 400
3333
* Medium: 500
34-
* Bold: 600
34+
* Bold: 700
3535
*/
3636
fontWeight?: FontWeight;
3737
/**

packages/design-system-react-native/src/types/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,9 +454,9 @@ export enum TextColor {
454454
*/
455455
export enum FontWeight {
456456
/**
457-
* Weight - 600
457+
* Weight - 700
458458
*/
459-
Bold = '600',
459+
Bold = '700',
460460
/**
461461
* Weight - 500
462462
*/

0 commit comments

Comments
 (0)