Skip to content

Commit ca21b4e

Browse files
committed
Set explicit opacity value on placeholder pseudo-element (#3308)
Fixes #3300.
1 parent 049981f commit ca21b4e

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

__tests__/fixtures/tailwind-output-flagged.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ textarea {
439439

440440
input::placeholder,
441441
textarea::placeholder {
442+
opacity: 1;
442443
color: #9ca3af;
443444
}
444445

__tests__/fixtures/tailwind-output-important.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ textarea {
439439

440440
input::placeholder,
441441
textarea::placeholder {
442+
opacity: 1;
442443
color: #9ca3af;
443444
}
444445

__tests__/fixtures/tailwind-output-no-color-opacity.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ textarea {
439439

440440
input::placeholder,
441441
textarea::placeholder {
442+
opacity: 1;
442443
color: #9ca3af;
443444
}
444445

__tests__/fixtures/tailwind-output.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ textarea {
439439

440440
input::placeholder,
441441
textarea::placeholder {
442+
opacity: 1;
442443
color: #9ca3af;
443444
}
444445

src/plugins/css/preflight.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ textarea {
141141

142142
input::placeholder,
143143
textarea::placeholder {
144+
opacity: 1;
144145
color: theme('colors.gray.400', #a1a1aa);
145146
}
146147

0 commit comments

Comments
 (0)