Skip to content

Commit

Permalink
refactor(meter): change name class step
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielduete committed Feb 6, 2025
1 parent 8ff4b79 commit 7a1570d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/components/meter/meter.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
}
}

.within {
.step {
background-color: var(--color-brand-secondary-regular);
border-radius: var(--border-radius-medium);
height: var(--spacing-base);
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/meter/meter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class AtomMeter {
</div>
<div class={`atom-meter is-${this.size}`}>
<div
class={`within is-${this.type}`}
class={`step is-${this.type}`}
style={{ width: `${this.getProgress()}%` }}
/>
</div>
Expand Down

0 comments on commit 7a1570d

Please sign in to comment.