I built a small test project to try out the Ant Design components. I am using gatsby-plugin-antd and antd, as well as gatsby-plugin-sass. My problem is that the Antd theme overwrites my global styles. I have tried putting the import for the global styles in gatsby-browser.js and in my Layout component but the styles loaded from inside node_modules always end up after my own global styles.
To be fair, I am not sure if the issue lies with Gatsby, the SASS plugin, the Antd plugin or even babel-import or webpack.
// When loaded in gatsby-browser.js
import "./src/css/public-sans.scss"
import "./src/css/styles.scss"
// When loaded in Layout component
import "../css/public-sans.scss"
import "../css/styles.scss"
Is there a way to ensure that my styles override the ones set in the Antd stylesheets, both in develop and build mode?