1

モードが暗いときは色を反転する必要があります。適用しようとするdark:invertと、次のエラーが表示されます

./src/styles/input.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-4-1!./node_modules/postcss-loader/src??postcss!./src/styles/input.css)
Syntax error: The `dark:invert` class does not exist, but `2xl:invert` does. If you're sure that `dark:invert` exists, make sure that any `@import` statements are being properly processed before Tailwind CSS sees your CSS, as `@apply` can only be used for classes in the same CSS tree. (2:10)


  1 | input[type="date"]::-webkit-calendar-picker-indicator {
> 2 |   @apply dark:invert;
    |          ^
  3 | }

4

0 に答える 0