master
Brad Cornes 2021-07-07 12:38:00 +01:00
parent 579d580896
commit 114284865d
1 changed files with 1 additions and 4 deletions

View File

@ -66,10 +66,7 @@ export function stringifyCss(
.join('\n') .join('\n')
return `${acc}${i === 0 ? '' : '\n'}${propStr}` return `${acc}${i === 0 ? '' : '\n'}${propStr}`
}, '') }, '')
css += `${indentStr}${augmentClassName( css += `${indentStr}${augmentClassName(className, obj)} {\n${decls}\n${indentStr}}`
className,
obj
)} {\n${decls}\n${indentStr}}`
for (let i = context.length - 1; i >= 0; i--) { for (let i = context.length - 1; i >= 0; i--) {
css += `${indent.repeat(i)}\n}` css += `${indent.repeat(i)}\n}`