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

微信小程序开发使用dilog确认类对话框 改变了主题色,但在点击那一瞬间,确定按钮反馈的颜色是旧的 #3300

Closed
LeiXBin opened this issue Nov 21, 2024 · 5 comments
Labels
need confirm need confirm

Comments

@LeiXBin
Copy link

LeiXBin commented Nov 21, 2024

tdesign 版本

1.8.0

重现链接

No response

重现步骤

微信小程序开发使用dilog确认类对话框 并且使用 --td-brand-color改变了主题色,但在点击那一瞬间,确定按钮反馈的颜色是默认的

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @LeiXBin,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Copy link
Contributor

github-actions bot commented Nov 21, 2024

♥️ 有劳 @xiaosansiji 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @LeiXBin

@uyarn uyarn transferred this issue from Tencent/tdesign Nov 21, 2024
Copy link
Contributor

👋 @LeiXBin,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@anlyyao anlyyao added the need confirm need confirm label Nov 25, 2024
@anlyyao
Copy link
Collaborator

anlyyao commented Nov 27, 2024

@LeiXBin 看上是使用的问题,button的背景和点击态颜色是两个css vars控制的,官网文档有列出组件级别css vars,建议查看文档后,按需修改主题色~

see: https://tdesign.tencent.com/miniprogram/components/button?tab=api

@anlyyao anlyyao closed this as completed Nov 27, 2024
@LeiXBin
Copy link
Author

LeiXBin commented Nov 27, 2024

是的,学习到了,我以为只要修改了主题色就可以全局修改,包括这些点击态效果。感谢

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

No branches or pull requests

3 participants