style: Adjust active mode toggle button colors for contrast

This commit is contained in:
Paul Gauthier (aider) 2025-04-13 08:48:00 -07:00
parent b382005a4c
commit a6c35305ed

View file

@ -451,8 +451,8 @@ document.addEventListener('DOMContentLoaded', function() {
}); });
this.classList.add('active'); this.classList.add('active');
// Apply active styles directly as inline styles might interfere // Apply active styles directly as inline styles might interfere
this.style.backgroundColor = '#0d6efd'; // Ensure active color is applied this.style.backgroundColor = '#e7f3ff'; // Use selected row highlight blue
this.style.color = 'white'; this.style.color = '#495057'; // Use dark text for contrast on light blue
// Update table view and apply filters // Update table view and apply filters
updateTableView(newMode); updateTableView(newMode);