Skip to content

Commit

Permalink
Properly flag variants using modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Oct 13, 2022
1 parent 77e46b6 commit cb5e2dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/generateRules.js
Expand Up @@ -153,6 +153,10 @@ function applyVariant(variant, matches, context) {
if (match) {
variant = match[1]
args.modifier = match[2]

if (!flagEnabled(context.tailwindConfig, 'generalizedModifiers')) {
return []
}
}
}

Expand Down

0 comments on commit cb5e2dd

Please sign in to comment.