Skip to content

Commit

Permalink
fix: show correct key name when enabling darkMode (#2635)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecklf committed Oct 21, 2020
1 parent 1dd7bbc commit 539738d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/substituteVariantsAtRules.js
Expand Up @@ -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 }
),
Expand Down

0 comments on commit 539738d

Please sign in to comment.