Skip to content

Commit aea2027

Browse files
authored
Update default border color and placeholder color in preflight (#2633)
1 parent 47026e5 commit aea2027

6 files changed

+10
-10
lines changed

__tests__/fixtures/tailwind-output-flagged.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ html {
398398
box-sizing: border-box; /* 1 */
399399
border-width: 0; /* 2 */
400400
border-style: solid; /* 2 */
401-
border-color: #d4d4d8; /* 2 */
401+
border-color: #e4e4e7; /* 2 */
402402
}
403403

404404
/*
@@ -429,7 +429,7 @@ textarea {
429429

430430
input::placeholder,
431431
textarea::placeholder {
432-
color: #a0aec0;
432+
color: #a1a1aa;
433433
}
434434

435435
button,

__tests__/fixtures/tailwind-output-important.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ html {
398398
box-sizing: border-box; /* 1 */
399399
border-width: 0; /* 2 */
400400
border-style: solid; /* 2 */
401-
border-color: #d4d4d8; /* 2 */
401+
border-color: #e4e4e7; /* 2 */
402402
}
403403

404404
/*
@@ -429,7 +429,7 @@ textarea {
429429

430430
input::placeholder,
431431
textarea::placeholder {
432-
color: #a0aec0;
432+
color: #a1a1aa;
433433
}
434434

435435
button,

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ html {
398398
box-sizing: border-box; /* 1 */
399399
border-width: 0; /* 2 */
400400
border-style: solid; /* 2 */
401-
border-color: #d4d4d8; /* 2 */
401+
border-color: #e4e4e7; /* 2 */
402402
}
403403

404404
/*
@@ -429,7 +429,7 @@ textarea {
429429

430430
input::placeholder,
431431
textarea::placeholder {
432-
color: #a0aec0;
432+
color: #a1a1aa;
433433
}
434434

435435
button,

__tests__/fixtures/tailwind-output.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ html {
398398
box-sizing: border-box; /* 1 */
399399
border-width: 0; /* 2 */
400400
border-style: solid; /* 2 */
401-
border-color: #d4d4d8; /* 2 */
401+
border-color: #e4e4e7; /* 2 */
402402
}
403403

404404
/*
@@ -429,7 +429,7 @@ textarea {
429429

430430
input::placeholder,
431431
textarea::placeholder {
432-
color: #a0aec0;
432+
color: #a1a1aa;
433433
}
434434

435435
button,

src/plugins/css/preflight.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ textarea {
130130

131131
input::placeholder,
132132
textarea::placeholder {
133-
color: #a0aec0;
133+
color: theme('colors.gray.400', #a1a1aa);
134134
}
135135

136136
button,

stubs/defaultConfig.stub.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ module.exports = {
9595
},
9696
borderColor: (theme) => ({
9797
...theme('colors'),
98-
DEFAULT: theme('colors.gray.300', 'currentColor'),
98+
DEFAULT: theme('colors.gray.200', 'currentColor'),
9999
}),
100100
borderOpacity: (theme) => theme('opacity'),
101101
borderRadius: {

0 commit comments

Comments
 (0)