Skip to content

Input placeholder has currentColor #18228

Open
@andreyjamer

Description

@andreyjamer

What version of Tailwind CSS are you using?

For example: v4.1.8

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

For example: Angular 19.2.0

What version of Node.js are you using?

For example: v18.19.1

What browser are you using?

For example: Chrome, Firefox

What operating system are you using?

For example: Windows

Reproduction URL

https://github.com/andreyjamer/stackblitz-angular-tailwind
To start the project need to run
npm install && npm start

Describe your issue

The placeholder for input has currentColor value instead of lighter color. It seems to be caused by the PostCSS version usage, because version with Vite builder is ok.

Here how it looks with Vite:

Empty input:

Image
With text:
Image
Here is the style for placeholder:
Image

And this is a version from PostCSS:

Empty input:
Image
With text
Image
Here is the style for placeholder:
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions