Skip to content

Commit

Permalink
fix: use correct prefix for ring-inset class (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
bstro committed Mar 17, 2022
1 parent 2d35d3a commit 22b0be9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/core/ClassnamesGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export class ClassnamesGenerator {
ringColor: this.generateClassesWithColors('ringColor'),
ringWidth: Object.keys(this._theme.ringWidth)
.map(x => 'ring-' + x)
.concat('inset'),
.concat('ring-inset'),
ringOpacity: this.getGeneratedClassesWithOpacities().ringOpacities,
ringOffsetColor: this.generateClassesWithColors('ringOffsetColor'),
ringOffsetWidth: Object.keys(this._theme.ringOffsetWidth).map(x => 'ring-offset-' + x),
Expand Down
9 changes: 8 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3190,7 +3190,14 @@ export type TRingColor =
| 'ring-rose-800'
| 'ring-rose-900';

export type TRingWidth = 'ring-0' | 'ring-1' | 'ring-2' | 'ring-4' | 'ring-8' | 'ring' | 'inset';
export type TRingWidth =
| 'ring-0'
| 'ring-1'
| 'ring-2'
| 'ring-4'
| 'ring-8'
| 'ring'
| 'ring-inset';

export type TRingOpacity =
| 'ring-opacity-0'
Expand Down

0 comments on commit 22b0be9

Please sign in to comment.