Skip to content

Dark variant colors not being applied to ::placeholder #20030

@Coder2195

Description

@Coder2195

When applying a dark variant color to a placeholder, it uses the light mode color instead of dark mode

What version of Tailwind CSS are you using?

4.3.0 (playground)

What build tool (or framework if it abstracts the build tool) are you using?

N/A (playground)

What version of Node.js are you using?

N/A (playground)

What browser are you using?

Tested both on Cromite (Chromium) and Zen Browser (Firefox)

What operating system are you using?

Arch Linux

Reproduction URL

https://play.tailwindcss.com/a8WyEihG3r

Describe your issue
Use the playground, and toggle on dark and not dark in the class to see the inconsistent colors being reflected.

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