I'm trying to have a global .scss file that gets imported into all pages.
I have the following project structure
/src
/pages
index.js
index.module.scss
/templates
/restaurants
/hungry
hungry.js
hungry.module.scss
/styles
typography.scss
variables.scss
/package.json
gatsby-plugin-sass
node-sass
/fonts
...
I tried passing options via gatsby-plugin-sass
and also exposing global styles with gatsby-browser.js
using this link: Include sass in gatsby globally but no luck.
My typography.scss file
Passing options to gatsby-config.js
Exposing global styles with gatsby-browser.js
I've also tried reading the documentation: https://www.gatsbyjs.com/docs/how-to/styling/global-css/
I'm new to Gatsby and completely out of ideas at this point. I appreciate any help.
Thank you.