ui(debug): use existing color pattern for red disconnect button with proper styling and hover effects

This commit is contained in:
Gigi
2025-10-17 12:56:47 +02:00
parent 37f3a32a1c
commit 18bf8f9a2c

View File

@@ -260,7 +260,18 @@ const Debug: React.FC = () => {
</div>
<button
className="btn"
style={{ background: 'rgb(220 38 38)', color: 'white', border: 'none' }}
style={{
background: 'rgb(220 38 38)',
color: 'white',
border: '1px solid rgb(220 38 38)',
padding: '0.75rem 1.5rem',
borderRadius: '6px',
fontSize: '1rem',
cursor: 'pointer',
transition: 'background-color 0.2s'
}}
onMouseEnter={(e) => e.currentTarget.style.background = 'rgb(185 28 28)'}
onMouseLeave={(e) => e.currentTarget.style.background = 'rgb(220 38 38)'}
onClick={() => accountManager.removeAccount(activeAccount)}
>
Disconnect