Skip to content

Mark native UI elements (such as dropdowns) with color-scheme:dark #39

@Avamander

Description

@Avamander

Some UI elements are unreadable with Edge when RepeaterUI's dark theme is enabled, such as dropdowns.

They should be marked with "color-scheme:dark" (and not specify a background color).

The Tailwind class for that would be dark:[color-scheme:dark]. I also had to remove the white background color coming from the .dark\:bg-white\/10:is(.dark *) selector.

Before:
Image

After:
Image

Similar issue with password fields, just turns bright white without color-scheme:dark. I think this will happen to all autofilled input fields without the color scheme being declared.

Before:

Image

After:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions