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

思维链组件的pending状态的颜色 #595

Open
liaokaime opened this issue Mar 12, 2025 · 1 comment
Open

思维链组件的pending状态的颜色 #595

liaokaime opened this issue Mar 12, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@liaokaime
Copy link

需求动机

我的网站主题色是绿色,而思维链组件的pending状态是根据主题色取的,这导致我的pending和success的颜色一样,都是绿色。我希望有参数可以设置这些颜色

Image

提议的 API 是什么样的?

No response

Copy link

看起来您希望在思维链组件中能够自定义 pending 状态的颜色,以避免与 success 状态的颜色相同。目前,您希望有一个参数可以设置这些颜色。

这个需求可以通过在组件中增加一个新的属性来实现,该属性允许用户自定义 pending 状态的颜色。这样,您就可以根据需要设置不同的颜色,而不依赖于主题色。

如果您希望这个功能被考虑加入到 ant-design/x 中,您可以在 GitHub 上创建一个功能请求(feature request)。如果您需要帮助创建这个请求,请告诉我,我可以协助您。

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

@kimteayon kimteayon added the enhancement New feature or request label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants