Commit cf7d240 1 parent ce1d0bd commit cf7d240 Copy full SHA for cf7d240
File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -75,13 +75,10 @@ type DarkModeConfig =
75
75
| 'class'
76
76
// Use the `class` strategy with a custom class instead of `.dark`.
77
77
| [ 'class' , string ]
78
- // Use the `legacy` strategy — same as `class` but restores pre-v3.4 behavior
79
- | 'legacy'
80
- // Use the `legacy` strategy with a custom class instead of `.dark`
81
- | [ 'legacy' , string ]
82
- // Use the `variant` strategy, which allows you to completely customize the selector
83
- // It takes a string or an array of strings, which are passed directly to `addVariant()`
84
- | [ 'variant' , string | string [ ] ]
78
+ // Use the `selector` strategy — same as `class` but uses `:where()` for more predicable behavior
79
+ | 'selector'
80
+ // Use the `selector` strategy with a custom selector instead of `.dark`.
81
+ | [ 'selector' , string ]
85
82
86
83
type Screen = { raw : string } | { min : string } | { max : string } | { min : string ; max : string }
87
84
type ScreensConfig = string [ ] | KeyValuePair < string , string | Screen | Screen [ ] >
You can’t perform that action at this time.
0 commit comments