Skip to content

Commit c47bb52

Browse files
fix: updating font names to align with mobile and using post sc
ript names
1 parent ee9ea15 commit c47bb52

24 files changed

+33
-33
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ const FontLoader = ({ children }) => {
88
useEffect(() => {
99
(async () => {
1010
await Font.loadAsync({
11-
'Geist Regular': require('../fonts/Geist/Geist Regular.otf'),
12-
'Geist Regular Italic': require('../fonts/Geist/Geist Regular Italic.otf'),
13-
'Geist Medium': require('../fonts/Geist/Geist Medium.otf'),
14-
'Geist Medium Italic': require('../fonts/Geist/Geist Medium Italic.otf'),
15-
'Geist Bold': require('../fonts/Geist/Geist Bold.otf'),
16-
'Geist Bold Italic': require('../fonts/Geist/Geist Bold Italic.otf'),
17-
'MM Poly Regular': require('../fonts/MMPoly/MM Poly Regular.otf'),
18-
'MM Sans Regular': require('../fonts/MMSans/MM Sans Regular.otf'),
19-
'MM Sans Medium': require('../fonts/MMSans/MM Sans Medium.otf'),
20-
'MM Sans Bold': require('../fonts/MMSans/MM Sans Bold.otf'),
11+
'Geist-Regular': require('../fonts/Geist/Geist-Regular.otf'),
12+
'Geist-RegularItalic': require('../fonts/Geist/Geist-RegularItalic.otf'),
13+
'Geist-Medium': require('../fonts/Geist/Geist-Medium.otf'),
14+
'Geist-MediumItalic': require('../fonts/Geist/Geist-MediumItalic.otf'),
15+
'Geist-Bold': require('../fonts/Geist/Geist-Bold.otf'),
16+
'Geist-BoldItalic': require('../fonts/Geist/Geist-BoldItalic.otf'),
17+
'MMPoly-Regular': require('../fonts/MMPoly/MMPoly-Regular.otf'),
18+
'MMSans-Regular': require('../fonts/MMSans/MMSans-Regular.otf'),
19+
'MMSans-Medium': require('../fonts/MMSans/MMSans-Medium.otf'),
20+
'MMSans-Bold': require('../fonts/MMSans/MMSans-Bold.otf'),
2121
});
2222
setFontsLoaded(true);
2323
})();

apps/storybook-react-native/fonts/Geist/Geist Bold.otf renamed to apps/storybook-react-native/fonts/Geist/Geist-Bold.otf

File renamed without changes.

apps/storybook-react-native/fonts/Geist/Geist Bold Italic.otf renamed to apps/storybook-react-native/fonts/Geist/Geist-BoldItalic.otf

File renamed without changes.

apps/storybook-react-native/fonts/Geist/Geist Medium.otf renamed to apps/storybook-react-native/fonts/Geist/Geist-Medium.otf

File renamed without changes.

apps/storybook-react-native/fonts/Geist/Geist Medium Italic.otf renamed to apps/storybook-react-native/fonts/Geist/Geist-MediumItalic.otf

File renamed without changes.

apps/storybook-react-native/fonts/Geist/Geist Regular.otf renamed to apps/storybook-react-native/fonts/Geist/Geist-Regular.otf

File renamed without changes.

apps/storybook-react-native/fonts/Geist/Geist Regular Italic.otf renamed to apps/storybook-react-native/fonts/Geist/Geist-RegularItalic.otf

File renamed without changes.

apps/storybook-react-native/fonts/MMPoly/MM Poly Regular.otf renamed to apps/storybook-react-native/fonts/MMPoly/MMPoly-Regular.otf

File renamed without changes.

apps/storybook-react-native/fonts/MMSans/MM Sans Bold.otf renamed to apps/storybook-react-native/fonts/MMSans/MMSans-Bold.otf

File renamed without changes.

apps/storybook-react-native/fonts/MMSans/MM Sans Medium.otf renamed to apps/storybook-react-native/fonts/MMSans/MMSans-Medium.otf

File renamed without changes.

0 commit comments

Comments
 (0)