File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,18 @@ Add to `plugins` in your **tailwind.config.js**:
29
29
30
30
``` js
31
31
module .exports = {
32
- // ...
32
+ // ....
33
33
plugins: [
34
34
require (" tailwindcss-autofill" ),
35
- // Other plugins.
35
+ // ...other plugins
36
36
],
37
37
// For TailwindCSS v2 only
38
38
variants: {
39
39
extend: {
40
40
// Enable `autofill` variant for plugins you want
41
- borderColor: [" autofill],
41
+ borderColor: [" autofill" ],
42
42
shadowFill: [" autofill" ],
43
+ textFill: [" autofill" ],
43
44
},
44
45
},
45
46
};
@@ -50,7 +51,7 @@ This plugin is often used with the [tailwindcss-shadow-fill](https://github.com/
50
51
Style your components using ` autofill: ` :
51
52
52
53
``` jsx
53
- <input className=" border border - gray - 100 autofill: border- gray- 900 autofill: shadow- fill- white autofill: text- fill- gray- 900 " />
54
+ < input className= " autofill:border-gray-900 autofill:shadow-fill-white autofill:text-fill-gray-900" / >
54
55
```
55
56
56
57
## Contributing
You can’t perform that action at this time.
0 commit comments