Skip to content

Commit

Permalink
fix(RadialProgress): hardcoded colors (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjitrosch committed Apr 3, 2023
1 parent 844e42d commit 7028dee
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/RadialProgress/RadialProgress.tsx
Expand Up @@ -30,7 +30,13 @@ const RadialProgress = forwardRef<HTMLDivElement, RadialProgressProps>(
'radial-progress',
className,
clsx({
[`text-${color}`]: color,
'text-primary': color === 'primary',
'text-secondary': color === 'secondary',
'text-accent': color === 'accent',
'text-info': color === 'info',
'text-success': color === 'success',
'text-warning': color === 'warning',
'text-error': color === 'error',
})
)

Expand Down

0 comments on commit 7028dee

Please sign in to comment.