[joy-ui] Missing Inter font
Open
@siriwatknp is already working on this.
Since Aug 21, 2023.
design: joy
package: joy-ui
scope: typography
type: bug
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Steps to reproduce 🕹
You can reproduce this pretty much everywhere:
- 1. (Fixed in #36843) Docs: https://mui.com/joy-ui/react-button/, it doesn't load Inter
- 2.(Fixed in #38462) Examples: https://github.com/mui/material-ui/blob/7739700a55c40d13a18982954fd6eb64f89bf2d4/examples/joy-cra-ts/public/index.html#L26 wrong font
- 3. (Fixed in #38540) Examples: https://github.com/mui/material-ui/blob/7739700a55c40d13a18982954fd6eb64f89bf2d4/examples/joy-next-app-router-ts/src/components/ThemeRegistry/theme.js#L4 wrong font
- 4. When exporting the example to codesandbox, it loads Roboto
Current behavior 😯
Load Inter
Expected behavior 🤔
The correct font is loaded
Context 🔦
I didn't know we could sort the font by the popularity in Google Font: https://fonts.google.com/?preview.size=24&sort=popularity. With Inter and Roboto, we effectively cover some of the most popular fonts.
Your environment 🌎
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.