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

[Feature Request] 支持自定义 web3 组件特有的 design token #936

Open
yutingzhao1991 opened this issue Jun 6, 2024 · 1 comment

Comments

@yutingzhao1991
Copy link
Collaborator

Background

image

当前 ConnectModal 中的 Design Token 是会直接覆盖用户传入的 design token,所以现在只能定义 antd 本身的 design token,而 web3 组件的 design token 并不能提供给用户自定义。需要梳理下相关 design token,并对外暴露给用户定义。

Proposal

支持更丰富的风格自定义,比如弹窗组件的高度和宽度等。

@thinkasany
Copy link
Collaborator

需要补充一个链接态按钮的hover token
ant-web3-connect-modal-simple-guide-right 这边的按钮hover样式现在是被覆盖的,交互上略显不足。
image
image

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

2 participants