You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
📚 Is your documentation request related to a problem?
Hello, first of all, thank you for this project! I am getting started and was wondering if you could help me get off the ground.
I have a webpage that uses a custom font, GraphikCondensed, and it has significant CLS on Chrome for Android.
The fallback font is Roboto, but I am on a Mac, so Roboto has been installed on the Mac. The woff2 file for the custom font, GraphikCondensed, has been placed under the fonts directory in the playground.
In vite.config.mjs, I am not sure about what needs to be in the options.
Also, these changes were made in the /playground directory, then pnpm demo:dev was run. However, when opening the css file, the file has not been changed, and the font metrics for the override are not present. I do not see any error messages, so am wondering if I should be running another command.
🔍 Where should you find it?
readme
ℹ️ Additional context
No response
The text was updated successfully, but these errors were encountered:
LogansDad
changed the title
How do I generate font metrics for a custom font that uses Roboto as the fallback on Android?
When on a Mac, how does one generate font metrics for a custom font that uses Roboto as the fallback on Android?
Feb 19, 2023
LogansDad
changed the title
When on a Mac, how does one generate font metrics for a custom font that uses Roboto as the fallback on Android?
Need help configuring vite.config.mjs
Feb 19, 2023
📚 Is your documentation request related to a problem?
Hello, first of all, thank you for this project! I am getting started and was wondering if you could help me get off the ground.
I have a webpage that uses a custom font, GraphikCondensed, and it has significant CLS on Chrome for Android.
The fallback font is Roboto, but I am on a Mac, so Roboto has been installed on the Mac. The woff2 file for the custom font, GraphikCondensed, has been placed under the fonts directory in the playground.
In
vite.config.mjs
, I am not sure about what needs to be in the options.This is what
index.css
looks like...What should the configuration for vite.config.mjs be? This is what I currently have...
Also, these changes were made in the /playground directory, then
pnpm demo:dev
was run. However, when opening the css file, the file has not been changed, and the font metrics for the override are not present. I do not see any error messages, so am wondering if I should be running another command.🔍 Where should you find it?
readme
ℹ️ Additional context
No response
The text was updated successfully, but these errors were encountered: