Skip to content

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

Open
@nekomamoushi

Description

@nekomamoushi
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

Activity

geromegrignon

geromegrignon commented on Dec 10, 2023

@geromegrignon
Contributor

Hi @nekomamoushi, thanks for finding it out.

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

nekomamoushi

nekomamoushi commented on Dec 11, 2023

@nekomamoushi
ContributorAuthor

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

geromegrignon commented on Dec 11, 2023

@geromegrignon
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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @geromegrignon@nekomamoushi

      Issue actions

        [Bug]: color issue on search box in light mode · Issue #117 · angular-sanctuary/angular-hub