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

[Bug]: color issue on search box in light mode #117

Open
nekomamoushi opened this issue Dec 7, 2023 · 3 comments
Open

[Bug]: color issue on search box in light mode #117

nekomamoushi opened this issue Dec 7, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@nekomamoushi
Copy link
Contributor

Relevant scope

angular application

Description

Description
In light mode, the search box has issue color. See below:

Screenshot 2023-12-07 111557

Describe the solution you'd like
No response

Describe alternatives you've considered
No response

Do you want to contribute with a pull request?

Yes

@nekomamoushi nekomamoushi added the bug Something isn't working label Dec 7, 2023
@geromegrignon
Copy link
Contributor

Hi @nekomamoushi, thanks for finding it out.

It would require updating the tailwind classes used to cover dark and light mode.

@nekomamoushi
Copy link
Contributor Author

Hi,

Not an tailwind expert but here is my solution for this (the dark variant was not used)

`
<mat-form-field
class="sticky w-full z-10 search-field dark:bg-[#424242] pt-5"
appearance="outline"
subscriptSizing="dynamic"

`

Is it ok ?

@geromegrignon
Copy link
Contributor

That's great! You will need to add bg-white too. Otherwise, the scrolled content will be visible behind the field on light mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants