diff --git a/types/config.d.ts b/types/config.d.ts index 87a7fdfd2e33..07bc423d63a6 100644 --- a/types/config.d.ts +++ b/types/config.d.ts @@ -75,13 +75,10 @@ type DarkModeConfig = | 'class' // Use the `class` strategy with a custom class instead of `.dark`. | ['class', string] - // Use the `legacy` strategy — same as `class` but restores pre-v3.4 behavior - | 'legacy' - // Use the `legacy` strategy with a custom class instead of `.dark` - | ['legacy', string] - // Use the `variant` strategy, which allows you to completely customize the selector - // It takes a string or an array of strings, which are passed directly to `addVariant()` - | ['variant', string | string[]] + // Use the `selector` strategy — same as `class` but uses `:where()` for more predicable behavior + | 'selector' + // Use the `selector` strategy with a custom selector instead of `.dark`. + | ['selector', string] type Screen = { raw: string } | { min: string } | { max: string } | { min: string; max: string } type ScreensConfig = string[] | KeyValuePair