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

[Button]希望可以配置更多圆角大小 #2742

Open
xmsz opened this issue Feb 27, 2021 · 5 comments
Open

[Button]希望可以配置更多圆角大小 #2742

xmsz opened this issue Feb 27, 2021 · 5 comments
Assignees
Labels
2.x will be fixed in Design 2.0 ⛱ Theme Visual or Interaction

Comments

@xmsz
Copy link

xmsz commented Feb 27, 2021

Type

Platform Theme

Component

Button

Feature Description

背景

  • 想为Button设置单独的圆角变量
  • 刚开始没找到配置Button圆角的地方,后来才发现在statement=>normal里。因为圆角设置是通用属性,而且和statement应该没有关系(毕竟其他状态也不会单独设置圆角)。

希望

  • 可以配置更多的圆角变量
  • 希望将下面2个属性独立出来配置
    image
@xmsz xmsz changed the title [Button]希望可以单独配置Button的圆角大小 [Button]希望可以更多圆角大小 Feb 27, 2021
@xmsz xmsz changed the title [Button]希望可以更多圆角大小 [Button]希望可以配置更多圆角大小 Feb 27, 2021
@jinchanz jinchanz removed their assignment Mar 25, 2021
@bindoon
Copy link
Member

bindoon commented Mar 25, 2021

不同 type 的button 需要不同的圆角吗? 能够截图看看什么样的业务场景吗?

@galogm
Copy link
Contributor

galogm commented Mar 25, 2021

@xmsz 给一下使用的基线版本?新版本corner已经提取成通用设置了啊

@xmsz
Copy link
Author

xmsz commented Mar 30, 2021

@xmsz 给一下使用的基线版本?新版本corner已经提取成通用设置了啊

1.22.x

@xmsz
Copy link
Author

xmsz commented Mar 30, 2021

不同 type 的button 需要不同的圆角吗? 能够截图看看什么样的业务场景吗?

就是现在只能配置3个圆角变量,但是button(不同size时)的就需要 2px 4px 6px三个,然后还有其他例如dialog需要8px和12px更大的圆角

@galogm galogm added ⛱ Theme Visual or Interaction 💬 Discussion labels Apr 9, 2021
@YunMeng99 YunMeng99 added the 💡 Feature Request New feature or request label Aug 21, 2023
@YSMJ1994
Copy link
Contributor

目前只支持组件自身的全局主题配置,在被引用场景下的个性配置如 Dialog、SplitButton、Form 中还不支持,建议通过 css 覆盖方式来实现,在 2.x 版本中规划会支持被引用场景下的个性配置。

@YSMJ1994 YSMJ1994 added 2.x will be fixed in Design 2.0 and removed 💡 Feature Request New feature or request 💬 Discussion labels Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x will be fixed in Design 2.0 ⛱ Theme Visual or Interaction
Projects
None yet
Development

No branches or pull requests

9 participants