Skip to content
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

5.5版本的icon去掉了fill currentColor 导致antd createFromIconfontCN方式使用图标时 颜色显示不对 #671

Closed
ljmCoder opened this issue Sep 19, 2024 · 7 comments · Fixed by #672 or ant-design/ant-design#50918

Comments

@ljmCoder
Copy link

image

@anxLiang
Copy link

+1

@anxLiang
Copy link

anxLiang commented Sep 19, 2024 via email

@ljmCoder
Copy link
Author

@afc163

@afc163
Copy link
Member

afc163 commented Sep 19, 2024

@GuanJdoJ
Copy link

为啥关闭了,使用 createFromIconfontCN 的图标该如何配置才能使 svg 具有初始属性 fill="currentColor",现在已经导致自定义图标在Button中无法 inherit color了。
image

@afc163
Copy link
Member

afc163 commented Sep 19, 2024


image

@GuanJdoJ 看下这里。

@GuanJdoJ
Copy link

GuanJdoJ commented Sep 19, 2024

我知道了,我刚才点进去有一个 PR 还是 open 状态,不知道处理完了没有,现在把@ant-design/icons升级到 5.5.1 就解决了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants