Skip to content

Commit

Permalink
Set explicit opacity value on placeholder pseudo-element (#3308)
Browse files Browse the repository at this point in the history
Fixes #3300.
  • Loading branch information
adamwathan committed May 7, 2021
1 parent 049981f commit ca21b4e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions __tests__/fixtures/tailwind-output-flagged.css
Expand Up @@ -439,6 +439,7 @@ textarea {

input::placeholder,
textarea::placeholder {
opacity: 1;
color: #9ca3af;
}

Expand Down
1 change: 1 addition & 0 deletions __tests__/fixtures/tailwind-output-important.css
Expand Up @@ -439,6 +439,7 @@ textarea {

input::placeholder,
textarea::placeholder {
opacity: 1;
color: #9ca3af;
}

Expand Down
1 change: 1 addition & 0 deletions __tests__/fixtures/tailwind-output-no-color-opacity.css
Expand Up @@ -439,6 +439,7 @@ textarea {

input::placeholder,
textarea::placeholder {
opacity: 1;
color: #9ca3af;
}

Expand Down
1 change: 1 addition & 0 deletions __tests__/fixtures/tailwind-output.css
Expand Up @@ -439,6 +439,7 @@ textarea {

input::placeholder,
textarea::placeholder {
opacity: 1;
color: #9ca3af;
}

Expand Down
1 change: 1 addition & 0 deletions src/plugins/css/preflight.css
Expand Up @@ -141,6 +141,7 @@ textarea {

input::placeholder,
textarea::placeholder {
opacity: 1;
color: theme('colors.gray.400', #a1a1aa);
}

Expand Down

0 comments on commit ca21b4e

Please sign in to comment.