Added a new 'danger' button variant to the button component for destructive actions like deleting equipment or sites. Changes: - Added 'danger' variant to button component (red background/hover) - Updated equipment delete button to use variant="danger" - Updated site delete button to use variant="danger" - Removed custom red color classes in favor of standardized variant This provides consistent styling for all delete/destructive actions across the application while maintaining proper button base styles (padding, rounded corners, shadow, focus ring, etc). |
||
|---|---|---|
| .. | ||
| layouts | ||
| core_components.ex | ||
| layouts.ex | ||