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
When Bulma is used in Gatsby, a lot of the settings from Typography.js are overridden by it. Is there an easy way to ensure that Typography take precedence? Thank you!
The text was updated successfully, but these errors were encountered:
thunderbiscuit
changed the title
Not clear on how to enable Typography.js to take precedence over Bulma framework in Gatsby
Enable Typography.js to take precedence over Bulma framework in Gatsby
Nov 8, 2019
The issue is slightly more nuanced. You can achieve this right now as a work around by using react-helmet and inserting Typography.js's styles manually. However, then it's appended to the end of the <head> tag and it cascades over all generated CSS, including my styles: CSS library (Bulma, bootstrap etc.) + User styles > Typography.js
Ideally the loading order should be CSS library (Bulma, bootstrap etc.) > Typography.js > User styles.
I'm having the same problem. Bootstrap's typography is taking precedence over the Typography.js rules. I'm using Gatsby.js and using the gatsby sass plugin to require the sass files from bootstrap (installed a npm). Any workarounds?
When Bulma is used in Gatsby, a lot of the settings from Typography.js are overridden by it. Is there an easy way to ensure that Typography take precedence? Thank you!
The text was updated successfully, but these errors were encountered: