We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91ac32d commit c378ab0Copy full SHA for c378ab0
index.js
@@ -30,7 +30,7 @@ module.exports = function () {
30
Object.entries(pluginUtilities)
31
.filter(([ modifier, values ]) => !_.isEmpty(values))
32
.forEach(([ modifier, values ]) => {
33
- const variantName = _.camelCase(`background-${modifier}`)
+ const variantName = Object.keys(Object.entries(values)[0][1])[0]
34
const utilities = flatten(
35
{ [`.${e(`bg-${modifier}`)}`]: values },
36
{ delimiter: '-', maxDepth: 2 },
0 commit comments