Skip to content

Commit 22b0be9

Browse files
authored
fix: use correct prefix for ring-inset class (#390)
1 parent 2d35d3a commit 22b0be9

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/cli/core/ClassnamesGenerator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export class ClassnamesGenerator {
140140
ringColor: this.generateClassesWithColors('ringColor'),
141141
ringWidth: Object.keys(this._theme.ringWidth)
142142
.map(x => 'ring-' + x)
143-
.concat('inset'),
143+
.concat('ring-inset'),
144144
ringOpacity: this.getGeneratedClassesWithOpacities().ringOpacities,
145145
ringOffsetColor: this.generateClassesWithColors('ringOffsetColor'),
146146
ringOffsetWidth: Object.keys(this._theme.ringOffsetWidth).map(x => 'ring-offset-' + x),

src/index.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3190,7 +3190,14 @@ export type TRingColor =
31903190
| 'ring-rose-800'
31913191
| 'ring-rose-900';
31923192

3193-
export type TRingWidth = 'ring-0' | 'ring-1' | 'ring-2' | 'ring-4' | 'ring-8' | 'ring' | 'inset';
3193+
export type TRingWidth =
3194+
| 'ring-0'
3195+
| 'ring-1'
3196+
| 'ring-2'
3197+
| 'ring-4'
3198+
| 'ring-8'
3199+
| 'ring'
3200+
| 'ring-inset';
31943201

31953202
export type TRingOpacity =
31963203
| 'ring-opacity-0'

0 commit comments

Comments
 (0)