Skip to content

Commit 539738d

Browse files
authored
fix: show correct key name when enabling darkMode (#2635)
1 parent 1dd7bbc commit 539738d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/substituteVariantsAtRules.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const defaultVariantGenerators = (config) => ({
6161
return modified
6262
}
6363

64-
throw new Error("The `dark` config option must be either 'media' or 'class'.")
64+
throw new Error("The `darkMode` config option must be either 'media' or 'class'.")
6565
},
6666
{ unstable_stack: true }
6767
),

0 commit comments

Comments
 (0)