TailwindCSS utility to override background fill color using box-shadow, is especially useful to style autocompleted form fields with tailwindcss-autofill because background-color won't work.
-
Node.js 12+
-
TailwindCSS 2+
yarn add tailwindcss-shadow-fillOr if you use npm:
npm i --save tailwindcss-shadow-fillAdd to plugins in your tailwind.config.js:
module.exports = {
// ...
plugins: [
require("tailwindcss-shadow-fill"),
// ...other plugins.
],
};Style your components using shadow-fill-{color}, e.g. shadow-fill-gray-100, shadow-fill-gray-200, shadow-fill-red-500, etc.
<input className="shadow-fill-white dark:shadow-fill-black" />-
Node 12+
-
Yarn 1.22+
-
Install requirements
-
Clone the repository
-
Run
yarnto install dependencies
-
Commit adhering to Angular commit convention, use
yarn commitor Code conventional commits to commit interactively -
Submit a PR and make sure required status checks pass
-
When a PR is merged or code is pushed to
master, Github automatically builds and publishes a new release if there're relevant changes