Skip to content

Commit

Permalink
fix(types): group type replaces group-hover/ group-focus variants
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadsammy committed Sep 15, 2020
1 parent cca2319 commit 7381d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/ClassesGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,10 @@ export class ClassesGenerator implements IGenerator {
breakpoints.map((breakpointVariant: string) => {
pseudoClasses.push(breakpointVariant + this.separator + this.prefix + classname);
});
} else if (variant.startsWith('group') && !pseudoClasses.includes('group')) {
pseudoClasses.push('group');
} else {
pseudoClasses.push(variant + this.separator + this.prefix + classname);
if (variant.startsWith('group') && !pseudoClasses.includes('group'))
pseudoClasses.push('group');
}
});
});
Expand Down

0 comments on commit 7381d13

Please sign in to comment.