-webkit-placeholder color not being set in production #6096
-
Hi there, I've discovered an odd issue regarding the input placeholder color. I'm using tailwindcsss 2.2.19 and @sveltejs/kit 1.0.0-next.196 In my app I've changed the input place holder color to "placeholder-gray-500". When I load it locally via 'npm run dev' everything is looking fine. However, when I run 'npm run build' and deploy the static site to my webhost, the placeholder color is #757575. This is the generated code of the stylesheet:
I had to to add a workaround to get the placeholder color fixed:
So is this a known issue or am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm guessing that's related to this issue, since sveltekit uses Vite and Vite uses esbuild: You can probably downgrade esbuild to fix this until they fix that issue. |
Beta Was this translation helpful? Give feedback.
I'm guessing that's related to this issue, since sveltekit uses Vite and Vite uses esbuild:
evanw/esbuild#1776
You can probably downgrade esbuild to fix this until they fix that issue.