-
Notifications
You must be signed in to change notification settings - Fork 47
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
css file is missing in cljsjs/antd/development #11
Comments
I think you have to use the CDN to access it in your index.html (or your head[] in handler.clj if you used the figwheel template). (include-css "https://cdnjs.cloudflare.com/ajax/libs/antd/2.13.10/antd.css") |
I did thank you and worked, but how to change the theme color? I thought to import the |
Solution can be found here: To sum up, add a route in your app to serve those css |
Thanks @jiacai2050 for the links, I have updated the documentation to include the different methods for including the CSS files and added the example (thanks @dfuenzalida) in the documentation. |
@narocath Can we close this? |
this makes it clear how to load the css but to @narocath question - how do we update the theme colors to matching our project's branding? In the main ant design theme docs it mentions being able to set it in the package.json but what's clojure version of that? I assume somewhere in the project.clj file?! It would be nice to be able to this:
It seems there is no documentation in antizer for setting the theme - sorry if I missed it but I couldn't find any |
sorry for the late response, yes you can and thank you for your time guys! Also a solution like @headwinds suggestion I think would serve better |
I get an error because it can't find the file, the only file that there is in this directory is the
antd.inc.js
, any ideas?The text was updated successfully, but these errors were encountered: