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

添加 ant-design 及 Material 风格的图标 #578

Closed
ElderJames opened this issue Jul 12, 2020 · 16 comments
Closed

添加 ant-design 及 Material 风格的图标 #578

ElderJames opened this issue Jul 12, 2020 · 16 comments
Assignees
Milestone

Comments

@ElderJames
Copy link

你在什么场景下需要该功能?

与ant design的几个框架集成时,让体验一致

描述可能的解决方案

用ant-design的样式变量,从按钮、图标、边距等参数做一下调整

@Vanessa219
Copy link
Owner

图标可以统一换成 ant design 的(如果都有的话),至于边距、按钮的细节可能还需要你指导或 PR 一下。

@ElderJames
Copy link
Author

可以,请问我是可以直接按默认主题再写一个样式?

@Vanessa219
Copy link
Owner

Vanessa219 commented Jul 13, 2020

目前有一个classic 和 dark 的样式,你可以再加一个 ant design 的。如果接口或代码无法扩展的话,我会配合及时修改的。

@ElderJames
Copy link
Author

图标有的,有一套编辑类图标 https://ant.design/components/icon-cn/

@Vanessa219
Copy link
Owner

好的,使用线框风格么?

@ElderJames
Copy link
Author

对,线框就很不错~

@Vanessa219 Vanessa219 changed the title 我正在做ant-design-blazor的集成,请问编辑器可否做一套ant-design的主题? 图标切换为 ant-design 风格 Jul 24, 2020
@Vanessa219 Vanessa219 self-assigned this Jul 24, 2020
@Vanessa219 Vanessa219 added this to the 3.3 milestone Jul 24, 2020
@Vanessa219 Vanessa219 changed the title 图标切换为 ant-design 风格 图标切换为 ant-design 或 Material 风格 Jul 24, 2020
@Vanessa219
Copy link
Owner

以下选中的图标为没有找到 ant-design 相对应的,只能沿用原有的或者找一下相似的。

image

以下为 ant-design 对应的图标

image

@ElderJames
Copy link
Author

@Vanessa219
Copy link
Owner

Vanessa219 commented Jul 24, 2020

多谢,为啥我没找到呢?你这个是在哪里找的呢?

@ElderJames
Copy link
Author

在demo的打开源码那个按钮扣下来的

@Vanessa219
Copy link
Owner

牵强的找了几个,不行再换吧。
image

@ElderJames
Copy link
Author

👌谢谢,非常好

@Vanessa219 Vanessa219 changed the title 图标切换为 ant-design 或 Material 风格 添加 ant-design 及 Material 风格的图标 Jul 24, 2020
@Vanessa219
Copy link
Owner

Vanessa219 commented Jul 24, 2020

Material

image

@Vanessa219
Copy link
Owner

@ElderJames 我先关闭了,�你样式弄好直接 PR 吧

Vanessa219 added a commit that referenced this issue Jul 24, 2020
@ElderJames
Copy link
Author

样式不太会加😂
我还是在用的时候外部修改吧,大概就是字体和排版

@Vanessa219
Copy link
Owner

不行的话,你发一份给我,然后截个图。我来试试

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

No branches or pull requests

2 participants