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

Commit d95a4af

Browse files
committed
Clarify enabling variants in README (#39)
1 parent 615e9ee commit d95a4af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ variants: {
5959
}
6060
```
6161

62+
**Please note:** This is only a simple demonstration for how dark variants are enabled and how they could be used. The variants provided by this plugin are **not** replacements for Tailwind's own variants, they are to be used _in addition_ to them. For example, anywhere you would enable `dark-hover`, you should also enable `hover`.
63+
6264
### Changing the Selector
6365

6466
By default, `.mode-dark` is used as the selector for dark mode. You can change this by adding the `darkSelector` key to the `theme` section in your Tailwind configuration.

0 commit comments

Comments
 (0)