capitec / omni-components

Modern UI component library for mobile and web.
https://capitec.github.io/open-source/docs/omni-components/
MIT License
23 stars 8 forks source link

[Change Request]: Add css variable to allow the ability to set suggestion hover state on input components #240

Closed chromaticWaster closed 1 month ago

chromaticWaster commented 2 months ago

What type of enhancement/feature is this?

Behaviour Changes to existing UI Components

Description

A user of the omni-text-field component reported they want the ability to be able to set the hover color of the input components when it gives you a list of suggestions.

https://github.com/user-attachments/assets/30c472cd-b448-4f41-95ec-a7d99b3606d9

I would advise that this is done on all input components if need be

Use Case/Reasoning for enhancement/feature.

Expose a css variable to allow the users to set the hover state for input suggestions instead of them having to write complex css selectors that might not be able to target the html input of all omni input based components

Code of Conduct