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

[Feature Request] More control to adjust the color and opacity of ClearIcon and ShowPasswordIcon in TextFields #647

Open
KonstantinKellermann opened this issue Apr 10, 2024 · 0 comments

Comments

@KonstantinKellermann
Copy link

We've recently integrated UraniumUI into a new .NET Maui app and for now it looks really impressive and it feels great having material design back in it.

Building a login page I discovered some potential new features you could think about. Maybe it is just my opinion and others will think different about it, but it would be great having more control over changing the color and opacity of the icons for clearing a textfield and showing passwords.

I was able to change the colors of these icons using the keys "OnBackground" and "OnBackgroundDark" in our color resources. During my research I found that you are changing the color opacity using .WithAlpha(.5f).

Fill = ColorResource.GetColor("OnBackground", "OnBackgroundDark", Colors.DarkGray).WithAlpha(.5f),

Fill = ColorResource.GetColor("OnBackground", "OnBackgroundDark", Colors.DarkGray).WithAlpha(.5f),

This causes problems with the contrast in our app which is not perfect.

Is it possible to add BindableProperties or other solutions to adjust the opacity and colors of these icons?

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

No branches or pull requests

1 participant