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
import external fonts is broken in 3.2.0 #1574
Comments
It is in fact reproducible: https://codesandbox.io/s/6wk63nr91n It seems that I've forgotten to port over some exceptions for Unfortunately I think it'll be tough to make this work in tandem with #1493, as the Edit: For now, I think it'd be best if you pull out your |
Oh damn, we really need to fix this. |
@piuccio Can you help me to test out a prerelease that addresses this bug please? It's published as |
@kitten I tested |
Version
styled-components: 3.2.0
babel-plugin-styled-components: 1.5.1
Reproduction
Sorry I tried to reproduce it here but it works fine, however you can see the issue on this repo it's a clone of react-boilerplate.
There's a file called
global-styles.js
that injects global CSS, including the followingSteps to reproduce
npm install
with styled-component3.2.0
andnpm start
it'll load a local server. Inspect the styles and you'll see thatNoto Sans
is not used.Kill the server, change package.json to
3.1.6
,npm install && npm start
and the fonts are nowNoto Sans
Expected Behavior
Always use
Noto Sans
Actual Behavior
Uses fallback font
The text was updated successfully, but these errors were encountered: