fix: show correct key name when enabling darkMode (#2635)
This commit is contained in:
parent
1dd7bbc363
commit
539738d418
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ const defaultVariantGenerators = (config) => ({
|
|||
return modified
|
||||
}
|
||||
|
||||
throw new Error("The `dark` config option must be either 'media' or 'class'.")
|
||||
throw new Error("The `darkMode` config option must be either 'media' or 'class'.")
|
||||
},
|
||||
{ unstable_stack: true }
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue