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

Duotone Filter: Add Reset button to maintain consistency with Background and Text color controls #68671

Open
yogeshbhutkar opened this issue Jan 15, 2025 · 0 comments · May be fixed by #68672
Open
Assignees
Labels
[Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@yogeshbhutkar
Copy link
Contributor

What problem does this address?

The current Duotone control lacks support for a reset button, which can be conditionally rendered based on the value of a clearable prop. Enhancing the component to include this functionality would allow users to easily clear the applied duotone effect, improving usability. This addition would also align the Duotone control with the behavior of other color controls, ensuring consistency across the interface.

What is your proposed solution?

Expose a clearable prop and conditionally render the reset button similar to other color controls.

Screenshots

Duotone Other Color Controls
Image Image
@yogeshbhutkar yogeshbhutkar added the [Type] Enhancement A suggestion for improvement. label Jan 15, 2025
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
None yet
1 participant