Add tests for active state variant
This commit is contained in:
parent
e112b98d4e
commit
1f57fbfbaf
2 changed files with 34 additions and 7 deletions
|
|
@ -16,7 +16,11 @@ const variantGenerators = {
|
|||
const cloned = container.clone()
|
||||
|
||||
cloned.walkRules(rule => {
|
||||
rule.selector = `${buildClassVariant(rule.selector, 'active', config.options.separator)}:active`
|
||||
rule.selector = `${buildClassVariant(
|
||||
rule.selector,
|
||||
'active',
|
||||
config.options.separator
|
||||
)}:active`
|
||||
})
|
||||
|
||||
container.before(cloned.nodes)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue