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

npm create vite@latest sets font family to Inter but doesn't import font? #19387

Closed
7 tasks done
francois08 opened this issue Feb 9, 2025 · 3 comments · Fixed by #19474
Closed
7 tasks done

npm create vite@latest sets font family to Inter but doesn't import font? #19387

francois08 opened this issue Feb 9, 2025 · 3 comments · Fixed by #19474
Labels
p2-nice-to-have Not breaking anything but nice to have (priority)

Comments

@francois08
Copy link

Describe the bug

I created a new project with Vite, in the generated code Inter is set as the default family font, but the font isn't actually being imported.

Reproduction

Steps to reproduce

No response

System Info

-

Used Package Manager

npm

Logs

No response

Validations

Copy link

github-actions bot commented Feb 9, 2025

Hello @francois08. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with needs reproduction will be closed if they have no activity within 3 days.

@bluwy
Copy link
Member

bluwy commented Feb 11, 2025

Inter was used when we inherited the styles from the docs site so it matches the style, but we didn't initialize the Inter font. I suppose we can remove it and prefer system-ui instead.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 15, 2025
@bluwy
Copy link
Member

bluwy commented Feb 15, 2025

I think we can accept a PR that removes Inter and prefer system-ui instead, so I'll re-open this. (Unless someone prefers not to for now)

@bluwy bluwy reopened this Feb 15, 2025
@bluwy bluwy added p2-nice-to-have Not breaking anything but nice to have (priority) and removed needs reproduction labels Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2-nice-to-have Not breaking anything but nice to have (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants