Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[material-ui][docs] Correct Google font CDN URL as Roboto 600 weight is not used #40852

Merged
merged 1 commit into from
Feb 3, 2024

Conversation

xuhdev
Copy link
Contributor

@xuhdev xuhdev commented Jan 30, 2024

The 600 in the URL doesn't seem to do anything and material UI does not use 600 any way. Remove it from the recommended CDN URL.

@oliviertassinari oliviertassinari added docs Improvements or additions to the documentation package: material-ui Specific to @mui/material examples Relating to /examples labels Jan 30, 2024
@oliviertassinari
Copy link
Member

oliviertassinari commented Jan 30, 2024

Looks like a regression from #38398.

Now, while this is a good step, it's not enough to solve the problem.

@oliviertassinari oliviertassinari added regression A bug, but worse PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI labels Jan 30, 2024
@danilo-leal danilo-leal changed the title Correct Google font CDN URL as 600 is not used [material-ui][docs] Fix Google font CDN URL as the 600 weight is not used Jan 30, 2024
@samuelsycamore
Copy link
Member

Thanks for raising this @xuhdev ! As @oliviertassinari noted, this change alone isn't enough to close out the problem—you'll need to comb through the examples found in #38398 and remove all links to the 600 weight as well.

@xuhdev xuhdev changed the title [material-ui][docs] Fix Google font CDN URL as the 600 weight is not used [material-ui][docs] orrect Google font CDN URL as Roboto 600 weight is not used Feb 2, 2024
@xuhdev
Copy link
Contributor Author

xuhdev commented Feb 2, 2024

THanks for the reminder! I updated the URL elsewhere.

Please note that the Inter family should still have 600; retained in the URL; only removed 600; in Roboto urls.

@oliviertassinari oliviertassinari removed the PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI label Feb 3, 2024
@oliviertassinari oliviertassinari changed the title [material-ui][docs] orrect Google font CDN URL as Roboto 600 weight is not used [material-ui][docs] Correct Google font CDN URL as Roboto 600 weight is not used Feb 3, 2024
The 600 in the URL doesn't seem to do anything and material UI does not use 600 any way. Remove it from the recommended CDN URL.

Signed-off-by: Hong Xu <hong@topbug.net>
@oliviertassinari
Copy link
Member

Rebased on HEAD

@oliviertassinari oliviertassinari enabled auto-merge (squash) February 3, 2024 16:31
@oliviertassinari oliviertassinari merged commit 3f6cf04 into mui:master Feb 3, 2024
19 checks passed
oliviertassinari added a commit that referenced this pull request Feb 4, 2024
I noticed this issue from #40852.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation examples Relating to /examples package: material-ui Specific to @mui/material regression A bug, but worse
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants