Skip to content

Commit

Permalink
better background color
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin committed Jan 25, 2024
1 parent 287360f commit adb8f7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/lib/lemon-ui/LemonProgress/LemonProgress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ export const LemonProgress = ({
return (
<div
className={clsx(
'LemonProgress rounded-full w-full inline-block bg-accent-3000',
'LemonProgress rounded-full w-full inline-block bg-bg-3000',
size === 'large' ? 'h-5' : 'h-[0.375rem]',
className
)}
>
<span
className={clsx(
'LemonProgress__track block h-full rounded-full',
size === 'large' ? 'min-w-5' : 'min-w-[0.375rem]'
percent > 0 ? (size === 'large' ? 'min-w-5' : 'min-w-[0.375rem]') : null
)}
// eslint-disable-next-line react/forbid-dom-props
style={{ width: `${percent}%`, backgroundColor: trackColor }}
Expand Down

0 comments on commit adb8f7a

Please sign in to comment.