* Add dark mode variant option
* Tweak warning messages
* Add legacy dark mode option
* wip
* Use `class` for legacy behavior, `selector` for new behavior
* Add simplified failing apply/where test case
* Switch to `where` list, apply changes to `dir` variants
* Don’t let `:where`, `:is:`, or `:has` be attached to pseudo elements
* Updating tests...
* Finish updating tests
* Remove `variant` dark mode strategy
* Update types
* Update comments
* Update changelog
* Revert "Remove `variant` dark mode strategy"
This reverts commit 185250438c.
* Add variant back to types
* wip
* Update comments
* Update tests
* Rename variable
* Update changelog
* Update changelog
* Update changelog
* Fix CS
---------
Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
9 lines
157 B
JavaScript
9 lines
157 B
JavaScript
module.exports = {
|
|
darkMode: 'selector',
|
|
content: [
|
|
{
|
|
raw: `<div class="foo underline" />`,
|
|
},
|
|
],
|
|
corePlugins: { preflight: false },
|
|
}
|