Skip to content
This repository was archived by the owner on Aug 23, 2021. It is now read-only.

Commit 2ee9981

Browse files
authored
Install instructions fix
The current install instructions don't work, as they use the wrong library name. I've also cleaned up the English a little.
1 parent 1159555 commit 2ee9981

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ module.exports = {
2525

2626
plugins: [
2727
// ...
28-
require('tailwindcss-darkmode')()
28+
require('@danestves/tailwindcss-darkmode')()
2929
]
3030
};
3131
```
3232

3333
## Variants generated
3434

35-
**Note:** _This variants are activated when the `html` or `body` has the class `dark-mode`_.
35+
**Note:** _These variants are activated when either the `html` or `body` tag has the class `dark-mode`_.
3636

3737
- `dark`
3838
- `dark:hover`
@@ -92,11 +92,11 @@ variants: {
9292
}
9393
```
9494

95-
You can check the full list of default variants in [Tailwind default config file][1].
95+
You can check the full list of default variants in the [Tailwind default config file][1].
9696

9797
## Customize class name prefix for variants
9898

99-
`dark` is used as default prefix for variants generated. It´s possible to change `dark` for whatever you want, just pass any string as param. For example, with `prefers-dark`:
99+
`dark` is used as default prefix for the variants that are generated. It´s possible to change `dark` for whatever you want, just pass any string as a param. For example, with `prefers-dark`:
100100

101101
```js
102102
module.exports = {

0 commit comments

Comments
 (0)