Skip to content

Commit

Permalink
docs: fix typos in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
phuctm97 committed Apr 27, 2022
1 parent c695e3a commit f5866c1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,18 @@ Add to `plugins` in your **tailwind.config.js**:

```js
module.exports = {
// ...
// ....
plugins: [
require("tailwindcss-autofill"),
// Other plugins.
// ...other plugins
],
// For TailwindCSS v2 only
variants: {
extend: {
// Enable `autofill` variant for plugins you want
borderColor: ["autofill],
borderColor: ["autofill"],
shadowFill: ["autofill"],
textFill: ["autofill"],
},
},
};
Expand All @@ -50,7 +51,7 @@ This plugin is often used with the [tailwindcss-shadow-fill](https://github.com/
Style your components using `autofill:`:

```jsx
<input className="border border-gray-100 autofill:border-gray-900 autofill:shadow-fill-white autofill:text-fill-gray-900" />
<input className="autofill:border-gray-900 autofill:shadow-fill-white autofill:text-fill-gray-900" />
```

## Contributing
Expand Down

0 comments on commit f5866c1

Please sign in to comment.