Skip to content

Commit 4c0fb91

Browse files
authored
Merge pull request #1064 from tailwindcss/no-placeholder-opacity
Use hard-coded default placeholder color
2 parents 057c6ff + 371d320 commit 4c0fb91

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

__tests__/fixtures/tailwind-output-important.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,7 @@ textarea {
484484

485485
input::placeholder,
486486
textarea::placeholder {
487-
color: inherit;
488-
opacity: 0.5;
487+
color: #a0aec0;
489488
}
490489

491490
button,

__tests__/fixtures/tailwind-output.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,7 @@ textarea {
484484

485485
input::placeholder,
486486
textarea::placeholder {
487-
color: inherit;
488-
opacity: 0.5;
487+
color: #a0aec0;
489488
}
490489

491490
button,

src/plugins/css/preflight.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ textarea {
131131

132132
input::placeholder,
133133
textarea::placeholder {
134-
color: inherit;
135-
opacity: 0.5;
134+
color: #a0aec0;
136135
}
137136

138137
button,

0 commit comments

Comments
 (0)