Skip to content

[ColorPicker] 请求适配 颜色选择器渐变功能 #3656

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

Open
Ai-Yolo opened this issue May 17, 2025 · 1 comment
Open

[ColorPicker] 请求适配 颜色选择器渐变功能 #3656

Ai-Yolo opened this issue May 17, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@Ai-Yolo
Copy link

Ai-Yolo commented May 17, 2025

这个功能解决了什么问题

目前,[ColorPicker] 仅支持用户选择单一的纯色。在需要表达颜色过渡、创建视觉层次、或者模拟光影效果等场景下,开发者不得不借助额外的工具或复杂的编程逻辑来实现渐变效果。这导致了以下问题:

效率低下: 用户需要在 [ColorPicker] 选择多个颜色,然后手动计算或使用其他工具生成渐变,增加了操作步骤和时间成本。
视觉效果不好: 无法直接预览渐变的颜色,无法达到用户期望的视觉效果。
开发复杂性: 开发者需要在应用层面实现渐变逻辑,增加了开发难度和维护成本。
用户体验割裂: 在颜色选择流程中需要多次切换或进行额外的操作,破坏了用户体验的流畅性。

你建议的方案是什么

直接适配 TDesign Web 端的渐变颜色选择器组件是目前看来最有效和高效的方案。

Image

Copy link
Contributor

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

@anlyyao anlyyao added the enhancement New feature or request label May 22, 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