tailwindcss/src
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
..
cli Don’t output @config in CSS file after a rebuild (#12327) 2023-10-30 14:46:49 -04:00
css Disable tap highlights on iOS (#12299) 2023-12-18 13:58:22 -05:00
lib 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
oxide Don’t output @config in CSS file after a rebuild (#12327) 2023-10-30 14:46:49 -04:00
postcss-plugins/nesting Redirect to the up-to-date plugin url (#8081) 2022-04-11 13:06:10 -04:00
public Extend default color palette with new 950 shades (#10879) 2023-03-27 14:47:13 -04:00
util 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
value-parser Fix parsing of theme() inside calc() when there are no spaces around operators (#11157) 2023-07-13 11:48:34 -04:00
cli-peer-dependencies.js Add postcss-import support to the CLI (#8437) 2022-05-25 14:28:52 -04:00
cli.js Replace __OXIDE__ at build time to prevent @tailwindcss/oxide leaks in the stable engine (#10988) 2023-04-18 12:19:20 +02:00
corePlugins.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
featureFlags.js Fix code style 2023-12-01 11:46:18 -05:00
index.js Replace __OXIDE__ at build time to prevent @tailwindcss/oxide leaks in the stable engine (#10988) 2023-04-18 12:19:20 +02:00
plugin.js Make PostCSS plugin async to improve performance (#11548) 2023-07-13 11:50:35 -04:00
processTailwindFeatures.js Make PostCSS plugin async to improve performance (#11548) 2023-07-13 11:50:35 -04:00