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
If I use @font-face declarations that are imported in a global CSS file like a @import '~/fonts.scss' statement in main.scss via an CSS preprocessor like SASS, nuxt-modules/fontaine won't reognize those fonts unless I declare them manually in fontMetrics, or I import the fonts CSS directly in Nuxt config, or import the fonts CSS in the App.vue.
🐛 The bug
If I use
@font-face
declarations that are imported in a global CSS file like a@import '~/fonts.scss'
statement inmain.scss
via an CSS preprocessor like SASS,nuxt-modules/fontaine
won't reognize those fonts unless I declare them manually infontMetrics
, or I import the fonts CSS directly in Nuxt config, or import the fonts CSS in theApp.vue
.🛠️ To reproduce
https://stackblitz.com/edit/github-jzaonw
🌈 Expected behaviour
It would be nice to consider such imports to save redundant code or even support this kind of "code-paradigm".
ℹ️ Additional context
No response
The text was updated successfully, but these errors were encountered: