-
Notifications
You must be signed in to change notification settings - Fork 13
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
docs: Callout limited default font-weights #399
Conversation
@@ -63,6 +63,10 @@ div { | |||
|
|||
That's it! Nuxt Fonts will detect this and you should immediately see the web font loaded in your browser. [Read more about how it works](/advanced#how-it-works). | |||
|
|||
::callout{icon="i-heroicons-exclamation-triangle" color="amber"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This icon/color combo is pulled from the Nuxt UI docs; not sure if the icon set used here is available in the docs for @nuxt/fonts
@@ -45,6 +45,12 @@ export default defineNuxtConfig({ | |||
}) | |||
``` | |||
|
|||
#### `weights` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was missing prior. Technically this is a somewhat unrelated change to the current PR, but figured I'd save your inbox from yet another issue/PR combo for this inoffensive tweak π
Codecov ReportAll modified and coverable lines are covered by tests β
Additional details and impacted files@@ Coverage Diff @@
## main #399 +/- ##
=======================================
Coverage 83.85% 83.85%
=======================================
Files 13 13
Lines 1016 1016
Branches 266 266
=======================================
Hits 852 852
Misses 158 158
Partials 6 6 β View full report in Codecov by Sentry. π¨ Try these New Features:
|
π Linked issue
Ref #209 (comment)
β Type of change
π Description
For a new user, it's not immediately obvious that only the 400 font weight is loaded for fonts. This PR aims to improve that by calling it out during the installation and troubleshooting steps.