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 185250438ccb2f61ba876d4676823c1807891122.
* 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
..
2021-12-15 18:13:09 +01:00
2023-04-13 16:12:12 -04:00
2023-01-31 15:37:49 +01:00
2024-01-05 15:20:11 -05:00
2023-07-13 11:48:35 -04:00
2023-04-13 16:12:12 -04:00
2024-01-05 15:20:11 -05:00
2023-01-31 15:37:49 +01:00
2023-07-13 11:48:35 -04:00
2023-07-13 11:48:35 -04:00
2023-07-13 11:48:35 -04:00
2023-12-04 11:23:33 -05:00
2023-12-18 13:57:08 -05:00
2023-12-18 13:58:22 -05:00
2023-12-18 13:58:22 -05:00
2023-12-18 13:57:22 -05:00
2023-03-17 14:49:36 +01:00
2023-02-17 20:21:22 +01:00
2023-01-31 15:37:49 +01:00
2023-04-13 16:12:12 -04:00
2023-01-31 14:36:38 -05:00
2023-01-31 15:37:49 +01:00
2023-01-20 18:45:04 +01:00
2023-01-31 15:37:49 +01:00
2023-01-19 11:42:52 +01:00
2023-01-31 15:37:49 +01:00
2023-01-20 18:45:04 +01:00
2023-01-31 15:37:49 +01:00
2024-01-05 15:20:11 -05:00
2023-01-20 18:45:04 +01:00
2023-03-15 17:04:18 -04:00
2024-01-05 15:20:11 -05:00
2023-12-05 12:27:48 -05:00
2023-03-15 17:04:18 -04:00
2023-03-15 17:04:18 -04:00
2023-01-20 18:45:04 +01:00
2023-01-20 18:45:04 +01:00
2023-10-23 15:25:03 -04:00
2023-03-21 17:50:44 +01:00
2023-01-20 18:45:04 +01:00
2023-01-20 18:45:04 +01:00
2023-12-18 13:58:22 -05:00
2023-01-20 18:45:04 +01:00
2023-12-18 13:57:52 -05:00
2023-10-23 15:47:42 -04:00
2023-07-13 11:50:43 -04:00
2023-02-17 20:21:22 +01:00
2024-01-05 15:20:11 -05:00
2024-01-05 15:20:11 -05:00
2024-01-05 15:20:11 -05:00
2024-01-05 15:20:11 -05:00
2024-01-05 15:20:11 -05:00
2023-01-31 15:37:49 +01:00
2023-01-31 15:37:49 +01:00
2023-01-31 15:37:49 +01:00
2023-02-08 17:39:43 +01:00
2023-02-17 20:21:22 +01:00
2023-03-17 14:49:36 +01:00
2023-01-20 18:45:04 +01:00
2024-01-05 15:20:11 -05:00
2023-01-20 18:45:04 +01:00
2021-09-29 11:15:31 +01:00
2021-09-29 11:15:31 +01:00
2023-01-20 18:45:04 +01:00
2023-01-20 18:45:04 +01:00
2023-12-01 11:46:18 -05:00
2023-03-17 14:49:36 +01:00
2024-01-03 13:05:06 -05:00
2023-01-20 18:45:04 +01:00
2024-01-05 15:20:11 -05:00
2023-04-13 16:12:12 -04:00
2023-02-08 17:39:43 +01:00
2023-01-13 12:22:00 +01:00
2023-04-07 10:45:47 -04:00
2023-01-20 18:45:04 +01:00
2023-01-31 15:37:49 +01:00
2023-02-17 20:21:22 +01:00
2024-01-05 15:20:11 -05:00
2023-01-20 18:45:04 +01:00
2023-01-23 20:44:31 +01:00
2023-12-18 13:58:22 -05:00
2023-12-18 13:58:22 -05:00
2023-02-08 17:39:43 +01:00
2023-01-19 11:42:52 +01:00
2023-01-20 18:45:04 +01:00
2023-01-31 15:37:49 +01:00
2023-12-18 13:58:22 -05:00
2023-01-31 15:37:49 +01:00
2023-02-17 20:21:22 +01:00
2023-03-15 17:04:18 -04:00
2023-01-20 18:45:04 +01:00
2023-12-18 13:58:22 -05:00
2023-02-17 20:21:22 +01:00
2023-01-20 18:45:04 +01:00
2021-09-21 12:37:49 -04:00
2023-01-31 15:37:49 +01:00
2023-01-20 18:45:04 +01:00
2024-01-05 15:20:11 -05:00
2024-01-05 15:20:11 -05:00
2023-12-18 13:58:22 -05:00
2024-01-05 15:20:11 -05:00
2023-03-17 14:49:36 +01:00
2023-01-20 18:45:04 +01:00