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

希望侧边栏可以直接使用element的icon #3001

Closed
jayjun0805 opened this issue Feb 25, 2020 · 11 comments
Closed

希望侧边栏可以直接使用element的icon #3001

jayjun0805 opened this issue Feb 25, 2020 · 11 comments

Comments

@jayjun0805
Copy link

jayjun0805 commented Feb 25, 2020

Feature request(新功能建议)

使用svg-icon还需要准备对应的svg文件,麻烦不说,图标还比较少,可以考虑直接使用element的icons。

不过感觉element的icons也不丰富,能扩展集成iconfont图标也可以

@VivenZZ
Copy link

VivenZZ commented Feb 25, 2020

SVG文件很好搞的,去阿里图标库,一大把

@PanJiaChen
Copy link
Owner

我看了下,element的icon放在侧边栏样式不太好处理,它是icon-font,大小和svg有些差异,只能做到视觉上大致的一样。

@jayjun0805
Copy link
Author

明白了。

@jayjun0805
Copy link
Author

SVG文件很好搞的,去阿里图标库,一大把

谢谢

@jianhao2010303
Copy link

@PanJiaChen 大佬,您自己项目的图标,和我自己从阿里图标库下来的图标大小不一致。
有没有什么步骤能告诉下怎么才能和你处理的一样
我的图标比你的小

@PanJiaChen
Copy link
Owner

@jianhao2010303 正常的图标库大小是没问题的,但很多不规范的svg会有点问题,我都是sketch自己修改的。

@jianhao2010303
Copy link

@PanJiaChen ,比较晕的是:

1、我们大多使用win10,使用不了sketch
2、有没有能在windows 修改图标的工具或方法,不吝赐教。

@VivenZZ
Copy link

VivenZZ commented Mar 6, 2020

可以搜一下云端AI

@PanJiaChen
Copy link
Owner

#3048

@shushuquan
Copy link

我是用的是ts版的,左侧栏引入.svg遇到问题,大部分的图标不能显示,偶尔的图标只显示一个左上角。请大佬支招。谢谢,

@CS-liujf
Copy link

@PanJiaChen ,比较晕的是:

1、我们大多使用win10,使用不了sketch
2、有没有能在windows 修改图标的工具或方法,不吝赐教。

我也是遇到了这个问题,用阿里巴巴矢量图图标会显得很小

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

No branches or pull requests

6 participants