Skip to content

bug: clear button does not change color when color is set on item #26337

@Mathieu-COSYNS

Description

@Mathieu-COSYNS

Prerequisites

Describe the Feature Request

I recently took a look at issue #19178 and submitted a pull request to solve it #26217 (still pending).

I thought that it could be nice if the clear button could take the color specified on the ion-input element as shown in the picture below.

image

An other idea that could be more interesting is to change the color base on the text color use. It will provide a better contrast and improve accessibility of color blind people.

image

Describe the Use Case

Customization of the clear button and/or improvement on color contrast because the current gray color in not very well visible on some background.

Describe Preferred Solution

No response

Describe Alternatives

No response

Related Code

No response

Additional Information

Current behavior
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions