Skip to content

Commit

Permalink
feat(front): use theme-color for ConvertButton
Browse files Browse the repository at this point in the history
  • Loading branch information
SARDONYX-sard committed Oct 23, 2024
1 parent 9ce70ed commit 61f2c8b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ export function ConvertButton({ loading, progress, ...props }: Props) {
left: 0,
width: `${progress}%`, // Progress-based width
height: '100%',
backgroundColor: '#1e1f1e57',
// backgroundColor: '#1e1f1e57',
backgroundColor: 'var(--theme-color)',
zIndex: 0,
transition: 'width 0.5s ease-in-out',
transform: `scaleX(${progress / 100})`,
Expand Down

0 comments on commit 61f2c8b

Please sign in to comment.