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
{{ message }}
This repository has been archived by the owner on May 10, 2023. It is now read-only.
Overriding the theme's font.importUrls does not work because emotion expects imports before other rules. This is the exact error being logged:
`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.
I suspect the solution here is to update the bumbag/Provider/GlobalStyles so that import URLs are included before any other global styling. I've attempted to test the fix in my fork (gpsamson@6ae1e48) but I'm having issues importing the package into my project, so I'm unsure if this would actually fix it.
Opening this issue to get feedback from core contributors before proposing a fix. Maybe you'll have a better testing workflow than me.
Describe the bug
Overriding the theme's
font.importUrls
does not work because emotion expects imports before other rules. This is the exact error being logged:I suspect the solution here is to update the
bumbag/Provider/GlobalStyles
so that import URLs are included before any other global styling. I've attempted to test the fix in my fork (gpsamson@6ae1e48) but I'm having issues importing the package into my project, so I'm unsure if this would actually fix it.Opening this issue to get feedback from core contributors before proposing a fix. Maybe you'll have a better testing workflow than me.
To Reproduce
bumbag
Expected behavior
External fonts are imported within global styles.
Screenshots
stacktrace:
The text was updated successfully, but these errors were encountered: