tailwindcss/tests/util
Jordan Pittman 3fb57e55ab Restore old behavior for class dark mode, add new selector and variant options for dark mode (#12717)
* 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>
2024-01-05 15:20:11 -05:00
..
apply-important-selector.test.js Restore old behavior for class dark mode, add new selector and variant options for dark mode (#12717) 2024-01-05 15:20:11 -05:00
crosscheck.test.js Run test suite against both engines (#10373) 2023-01-20 18:45:04 +01:00
defaults.js Fix gradient stop positions with transparent colors and/or variants (#11002) 2023-04-13 16:12:12 -04:00
run.js Replace __OXIDE__ at build time to prevent @tailwindcss/oxide leaks in the stable engine (#10988) 2023-04-18 12:19:20 +02:00
source-maps.js Use Lightning CSS in the PostCSS Plugin (#10399) 2023-01-23 20:44:31 +01:00
strings.js Change how we handle defaults (optimized or not) (#6926) 2022-01-07 11:39:45 -05:00