You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 23, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,14 +25,14 @@ module.exports = {
25
25
26
26
plugins: [
27
27
// ...
28
-
require('tailwindcss-darkmode')()
28
+
require('@danestves/tailwindcss-darkmode')()
29
29
]
30
30
};
31
31
```
32
32
33
33
## Variants generated
34
34
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`_.
36
36
37
37
-`dark`
38
38
-`dark:hover`
@@ -92,11 +92,11 @@ variants: {
92
92
}
93
93
```
94
94
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].
96
96
97
97
## Customize class name prefix for variants
98
98
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`:
0 commit comments