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.
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
lockbot
locked as resolved and limited conversation to collaborators
May 6, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
您好,为了制作一套黑色主题的皮肤,我把相关组件的less样式文件翻了个遍,里面很多基于浅色系的硬编码,比如下拉框的白色背景色,这使得单修改一个custom.less文件还远不够。也许是我还没找到更好的方式?
我想了解下ant-design会针对主题设计出一套更为优雅的机制来方便大家定制主题吗?
我用过echarts、material-ui组件,它们提供一个设置主题的api接口,只需要赋一个js对象就能定制一套皮肤,建议ant-degsin也可以提供一个类似的api接口。
若有违你们的设计理念,那可以再丰富下custom.less的变量,少些硬编码,尽量做到一个文件就能搞定主题。
感谢你们的努力。
The text was updated successfully, but these errors were encountered: