We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is an awesome starter template, thanks. In my app, I would like to change the basic antd styles (just overriding the less variables for now)
Based on this post: https://stackoverflow.com/questions/51831582/change-the-theme-of-antd-when-using-gatsbyjs, I have added these plugins:
gatsby-plugin-less gatsby-plugin-antd
And I have added this config to gatsby-config.js:
gatsby-config.js
plugins: [ { resolve: 'gatsby-plugin-antd', options: { style: true } }, { resolve: "gatsby-plugin-less", options: { javascriptEnabled: true, modifyVars: { "primary-color": "#f7525d", "heading-color": "#777777" } } },
But the primary-color, is not changing. What is the right way to do this?
primary-color
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is an awesome starter template, thanks. In my app, I would like to change the basic antd styles (just overriding the less variables for now)
Based on this post: https://stackoverflow.com/questions/51831582/change-the-theme-of-antd-when-using-gatsbyjs, I have added these plugins:
And I have added this config to
gatsby-config.js
:But the
primary-color
, is not changing. What is the right way to do this?The text was updated successfully, but these errors were encountered: