Skip to content

Commit

Permalink
Update default border color and placeholder color in preflight (#2633)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Oct 21, 2020
1 parent 47026e5 commit aea2027
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions __tests__/fixtures/tailwind-output-flagged.css
Expand Up @@ -398,7 +398,7 @@ html {
box-sizing: border-box; /* 1 */
border-width: 0; /* 2 */
border-style: solid; /* 2 */
border-color: #d4d4d8; /* 2 */
border-color: #e4e4e7; /* 2 */
}

/*
Expand Down Expand Up @@ -429,7 +429,7 @@ textarea {

input::placeholder,
textarea::placeholder {
color: #a0aec0;
color: #a1a1aa;
}

button,
Expand Down
4 changes: 2 additions & 2 deletions __tests__/fixtures/tailwind-output-important.css
Expand Up @@ -398,7 +398,7 @@ html {
box-sizing: border-box; /* 1 */
border-width: 0; /* 2 */
border-style: solid; /* 2 */
border-color: #d4d4d8; /* 2 */
border-color: #e4e4e7; /* 2 */
}

/*
Expand Down Expand Up @@ -429,7 +429,7 @@ textarea {

input::placeholder,
textarea::placeholder {
color: #a0aec0;
color: #a1a1aa;
}

button,
Expand Down
4 changes: 2 additions & 2 deletions __tests__/fixtures/tailwind-output-no-color-opacity.css
Expand Up @@ -398,7 +398,7 @@ html {
box-sizing: border-box; /* 1 */
border-width: 0; /* 2 */
border-style: solid; /* 2 */
border-color: #d4d4d8; /* 2 */
border-color: #e4e4e7; /* 2 */
}

/*
Expand Down Expand Up @@ -429,7 +429,7 @@ textarea {

input::placeholder,
textarea::placeholder {
color: #a0aec0;
color: #a1a1aa;
}

button,
Expand Down
4 changes: 2 additions & 2 deletions __tests__/fixtures/tailwind-output.css
Expand Up @@ -398,7 +398,7 @@ html {
box-sizing: border-box; /* 1 */
border-width: 0; /* 2 */
border-style: solid; /* 2 */
border-color: #d4d4d8; /* 2 */
border-color: #e4e4e7; /* 2 */
}

/*
Expand Down Expand Up @@ -429,7 +429,7 @@ textarea {

input::placeholder,
textarea::placeholder {
color: #a0aec0;
color: #a1a1aa;
}

button,
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/css/preflight.css
Expand Up @@ -130,7 +130,7 @@ textarea {

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

button,
Expand Down
2 changes: 1 addition & 1 deletion stubs/defaultConfig.stub.js
Expand Up @@ -95,7 +95,7 @@ module.exports = {
},
borderColor: (theme) => ({
...theme('colors'),
DEFAULT: theme('colors.gray.300', 'currentColor'),
DEFAULT: theme('colors.gray.200', 'currentColor'),
}),
borderOpacity: (theme) => theme('opacity'),
borderRadius: {
Expand Down

0 comments on commit aea2027

Please sign in to comment.